Skip to content

Commit 4fd9eea

Browse files
committed
chore: update prettier
1 parent e82edd8 commit 4fd9eea

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"jest": "^24.9.0",
6666
"jest-runner-eslint": "^0.7.1",
6767
"lint-staged": "^9.4.2",
68-
"prettier": "^1.10.2",
68+
"prettier": "^1.19.1",
6969
"prettylint": "^1.0.0",
7070
"resolve-from": "^5.0.0",
7171
"rimraf": "^3.0.0",

src/processors/__tests__/snapshot-processor.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ describe('snapshot-processor', () => {
2222
it('should only return messages about snapshot specific rules', () => {
2323
const { postprocess } = snapshotProcessor;
2424
const result = postprocess([
25-
['no-console', 'global-require', 'jest/no-large-snapshots'].map(
26-
ruleId => ({ ruleId }),
27-
),
25+
[
26+
'no-console',
27+
'global-require',
28+
'jest/no-large-snapshots',
29+
].map(ruleId => ({ ruleId })),
2830
]);
2931

3032
expect(result).toEqual([{ ruleId: 'jest/no-large-snapshots' }]);

yarn.lock

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6208,7 +6208,6 @@ npm@^6.10.3:
62086208
cmd-shim "^3.0.3"
62096209
columnify "~1.5.4"
62106210
config-chain "^1.1.12"
6211-
debuglog "*"
62126211
detect-indent "~5.0.0"
62136212
detect-newline "^2.1.0"
62146213
dezalgo "~1.0.3"
@@ -6223,7 +6222,6 @@ npm@^6.10.3:
62236222
has-unicode "~2.0.1"
62246223
hosted-git-info "^2.8.5"
62256224
iferr "^1.0.2"
6226-
imurmurhash "*"
62276225
infer-owner "^1.0.4"
62286226
inflight "~1.0.6"
62296227
inherits "^2.0.4"
@@ -6242,14 +6240,8 @@ npm@^6.10.3:
62426240
libnpx "^10.2.0"
62436241
lock-verify "^2.1.0"
62446242
lockfile "^1.0.4"
6245-
lodash._baseindexof "*"
62466243
lodash._baseuniq "~4.6.0"
6247-
lodash._bindcallback "*"
6248-
lodash._cacheindexof "*"
6249-
lodash._createcache "*"
6250-
lodash._getnative "*"
62516244
lodash.clonedeep "~4.5.0"
6252-
lodash.restparam "*"
62536245
lodash.union "~4.6.0"
62546246
lodash.uniq "~4.5.0"
62556247
lodash.without "~4.4.0"
@@ -6904,10 +6896,10 @@ prettier-linter-helpers@^1.0.0:
69046896
dependencies:
69056897
fast-diff "^1.1.2"
69066898

6907-
prettier@^1.10.2:
6908-
version "1.18.2"
6909-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
6910-
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
6899+
prettier@^1.19.1:
6900+
version "1.19.1"
6901+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
6902+
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
69116903

69126904
pretty-format@^24.9.0:
69136905
version "24.9.0"

0 commit comments

Comments
 (0)