Skip to content

Commit

Permalink
chore: update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Nov 11, 2019
1 parent e82edd8 commit 4fd9eea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,7 +65,7 @@
"jest": "^24.9.0",
"jest-runner-eslint": "^0.7.1",
"lint-staged": "^9.4.2",
"prettier": "^1.10.2",
"prettier": "^1.19.1",
"prettylint": "^1.0.0",
"resolve-from": "^5.0.0",
"rimraf": "^3.0.0",
Expand Down
8 changes: 5 additions & 3 deletions src/processors/__tests__/snapshot-processor.test.ts
Expand Up @@ -22,9 +22,11 @@ describe('snapshot-processor', () => {
it('should only return messages about snapshot specific rules', () => {
const { postprocess } = snapshotProcessor;
const result = postprocess([
['no-console', 'global-require', 'jest/no-large-snapshots'].map(
ruleId => ({ ruleId }),
),
[
'no-console',
'global-require',
'jest/no-large-snapshots',
].map(ruleId => ({ ruleId })),
]);

expect(result).toEqual([{ ruleId: 'jest/no-large-snapshots' }]);
Expand Down
16 changes: 4 additions & 12 deletions yarn.lock
Expand Up @@ -6208,7 +6208,6 @@ npm@^6.10.3:
cmd-shim "^3.0.3"
columnify "~1.5.4"
config-chain "^1.1.12"
debuglog "*"
detect-indent "~5.0.0"
detect-newline "^2.1.0"
dezalgo "~1.0.3"
Expand All @@ -6223,7 +6222,6 @@ npm@^6.10.3:
has-unicode "~2.0.1"
hosted-git-info "^2.8.5"
iferr "^1.0.2"
imurmurhash "*"
infer-owner "^1.0.4"
inflight "~1.0.6"
inherits "^2.0.4"
Expand All @@ -6242,14 +6240,8 @@ npm@^6.10.3:
libnpx "^10.2.0"
lock-verify "^2.1.0"
lockfile "^1.0.4"
lodash._baseindexof "*"
lodash._baseuniq "~4.6.0"
lodash._bindcallback "*"
lodash._cacheindexof "*"
lodash._createcache "*"
lodash._getnative "*"
lodash.clonedeep "~4.5.0"
lodash.restparam "*"
lodash.union "~4.6.0"
lodash.uniq "~4.5.0"
lodash.without "~4.4.0"
Expand Down Expand Up @@ -6904,10 +6896,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@^1.10.2:
version "1.18.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
prettier@^1.19.1:
version "1.19.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==

pretty-format@^24.9.0:
version "24.9.0"
Expand Down

0 comments on commit 4fd9eea

Please sign in to comment.