Skip to content

Commit 234e789

Browse files
authored
Merge pull request element-hq#11448 from vector-im/t3chguy/pre_jest
Add eslint-plugin-jest because we inherit js-sdk's eslintrc and it wants
2 parents 392de5a + 97abce1 commit 234e789

2 files changed

Lines changed: 70 additions & 3 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"eslint": "^5.8.0",
116116
"eslint-config-google": "^0.7.1",
117117
"eslint-plugin-babel": "^4.1.2",
118+
"eslint-plugin-jest": "^23.0.4",
118119
"eslint-plugin-flowtype": "^2.50.3",
119120
"eslint-plugin-react": "^7.11.1",
120121
"eslint-plugin-react-hooks": "^2.2.0",

‎yarn.lock‎

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@
177177
"@types/minimatch" "*"
178178
"@types/node" "*"
179179

180+
"@types/json-schema@^7.0.3":
181+
version "7.0.3"
182+
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636"
183+
integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A==
184+
180185
"@types/minimatch@*":
181186
version "3.0.3"
182187
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
@@ -187,6 +192,28 @@
187192
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.8.tgz#cb1bf6800238898bc2ff6ffa5702c3cadd350708"
188193
integrity sha512-FMdVn84tJJdV+xe+53sYiZS4R5yn1mAIxfj+DVoNiQjTYz1+OYmjwEZr1ev9nU0axXwda0QDbYl06QHanRVH3A==
189194

195+
"@typescript-eslint/experimental-utils@^2.5.0":
196+
version "2.8.0"
197+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.8.0.tgz#208b4164d175587e9b03ce6fea97d55f19c30ca9"
198+
integrity sha512-jZ05E4SxCbbXseQGXOKf3ESKcsGxT8Ucpkp1jiVp55MGhOvZB2twmWKf894PAuVQTCgbPbJz9ZbRDqtUWzP8xA==
199+
dependencies:
200+
"@types/json-schema" "^7.0.3"
201+
"@typescript-eslint/typescript-estree" "2.8.0"
202+
eslint-scope "^5.0.0"
203+
204+
"@typescript-eslint/typescript-estree@2.8.0":
205+
version "2.8.0"
206+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.8.0.tgz#fcc3fe6532840085d29b75432c8a59895876aeca"
207+
integrity sha512-ksvjBDTdbAQ04cR5JyFSDX113k66FxH1tAXmi+dj6hufsl/G0eMc/f1GgLjEVPkYClDbRKv+rnBFuE5EusomUw==
208+
dependencies:
209+
debug "^4.1.1"
210+
eslint-visitor-keys "^1.1.0"
211+
glob "^7.1.6"
212+
is-glob "^4.0.1"
213+
lodash.unescape "4.0.1"
214+
semver "^6.3.0"
215+
tsutils "^3.17.1"
216+
190217
"@webassemblyjs/ast@1.8.5":
191218
version "1.8.5"
192219
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359"
@@ -3364,6 +3391,13 @@ eslint-plugin-flowtype@^2.50.3:
33643391
dependencies:
33653392
lodash "^4.17.10"
33663393

3394+
eslint-plugin-jest@^23.0.4:
3395+
version "23.0.4"
3396+
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.0.4.tgz#1ab81ffe3b16c5168efa72cbd4db14d335092aa0"
3397+
integrity sha512-OaP8hhT8chJNodUPvLJ6vl8gnalcsU/Ww1t9oR3HnGdEWjm/DdCCUXLOral+IPGAeWu/EwgVQCK/QtxALpH1Yw==
3398+
dependencies:
3399+
"@typescript-eslint/experimental-utils" "^2.5.0"
3400+
33673401
eslint-plugin-react-hooks@^2.2.0:
33683402
version "2.2.0"
33693403
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.2.0.tgz#078264e9e388da6929ace09d6abe92c85963aff4"
@@ -3400,14 +3434,22 @@ eslint-scope@^4.0.3:
34003434
esrecurse "^4.1.0"
34013435
estraverse "^4.1.1"
34023436

3437+
eslint-scope@^5.0.0:
3438+
version "5.0.0"
3439+
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9"
3440+
integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==
3441+
dependencies:
3442+
esrecurse "^4.1.0"
3443+
estraverse "^4.1.1"
3444+
34033445
eslint-utils@^1.3.1:
34043446
version "1.4.2"
34053447
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab"
34063448
integrity sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==
34073449
dependencies:
34083450
eslint-visitor-keys "^1.0.0"
34093451

3410-
eslint-visitor-keys@^1.0.0:
3452+
eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
34113453
version "1.1.0"
34123454
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
34133455
integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
@@ -4301,6 +4343,18 @@ glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
43014343
once "^1.3.0"
43024344
path-is-absolute "^1.0.0"
43034345

4346+
glob@^7.1.6:
4347+
version "7.1.6"
4348+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
4349+
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
4350+
dependencies:
4351+
fs.realpath "^1.0.0"
4352+
inflight "^1.0.4"
4353+
inherits "2"
4354+
minimatch "^3.0.4"
4355+
once "^1.3.0"
4356+
path-is-absolute "^1.0.0"
4357+
43044358
global-dirs@^0.1.0:
43054359
version "0.1.1"
43064360
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445"
@@ -5164,7 +5218,7 @@ is-glob@^3.1.0:
51645218
dependencies:
51655219
is-extglob "^2.1.0"
51665220

5167-
is-glob@^4.0.0:
5221+
is-glob@^4.0.0, is-glob@^4.0.1:
51685222
version "4.0.1"
51695223
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
51705224
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
@@ -5815,6 +5869,11 @@ lodash.mergewith@^4.6.1:
58155869
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55"
58165870
integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==
58175871

5872+
lodash.unescape@4.0.1:
5873+
version "4.0.1"
5874+
resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c"
5875+
integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=
5876+
58185877
lodash.union@^4.6.0:
58195878
version "4.6.0"
58205879
resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88"
@@ -9064,11 +9123,18 @@ truncate-utf8-bytes@^1.0.0:
90649123
dependencies:
90659124
utf8-byte-length "^1.0.1"
90669125

9067-
tslib@^1.9.0:
9126+
tslib@^1.8.1, tslib@^1.9.0:
90689127
version "1.10.0"
90699128
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
90709129
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
90719130

9131+
tsutils@^3.17.1:
9132+
version "3.17.1"
9133+
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
9134+
integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g==
9135+
dependencies:
9136+
tslib "^1.8.1"
9137+
90729138
tty-browserify@0.0.0:
90739139
version "0.0.0"
90749140
resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"

0 commit comments

Comments
 (0)