Skip to content

Commit 5278fcb

Browse files
authored
chore: bump eslint-plugin-eslint-plugin (#955)
1 parent 973e2b5 commit 5278fcb

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"eslint-config-prettier": "^8.3.0",
108108
"eslint-plugin-eslint-comments": "^3.1.2",
109109
"eslint-plugin-eslint-config": "^2.0.0",
110-
"eslint-plugin-eslint-plugin": "^3.5.3",
110+
"eslint-plugin-eslint-plugin": "^4.0.1",
111111
"eslint-plugin-import": "^2.25.1",
112112
"eslint-plugin-node": "^11.0.0",
113113
"eslint-plugin-prettier": "^3.4.1",

src/rules/__tests__/no-jasmine-globals.test.ts

+14
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ruleTester.run('no-jasmine-globals', rule, {
2121
invalid: [
2222
{
2323
code: 'spyOn(some, "object")',
24+
output: null,
2425
errors: [
2526
{
2627
messageId: 'illegalGlobal',
@@ -32,6 +33,7 @@ ruleTester.run('no-jasmine-globals', rule, {
3233
},
3334
{
3435
code: 'spyOnProperty(some, "object")',
36+
output: null,
3537
errors: [
3638
{
3739
messageId: 'illegalGlobal',
@@ -43,10 +45,12 @@ ruleTester.run('no-jasmine-globals', rule, {
4345
},
4446
{
4547
code: 'fail()',
48+
output: null,
4649
errors: [{ messageId: 'illegalFail', column: 1, line: 1 }],
4750
},
4851
{
4952
code: 'pending()',
53+
output: null,
5054
errors: [{ messageId: 'illegalPending', column: 1, line: 1 }],
5155
},
5256
{
@@ -56,10 +60,12 @@ ruleTester.run('no-jasmine-globals', rule, {
5660
},
5761
{
5862
code: 'jasmine.DEFAULT_TIMEOUT_INTERVAL = function() {}',
63+
output: null,
5964
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
6065
},
6166
{
6267
code: 'jasmine.addMatchers(matchers)',
68+
output: null,
6369
errors: [
6470
{
6571
messageId: 'illegalMethod',
@@ -71,6 +77,7 @@ ruleTester.run('no-jasmine-globals', rule, {
7177
},
7278
{
7379
code: 'jasmine.createSpy()',
80+
output: null,
7481
errors: [
7582
{
7683
messageId: 'illegalMethod',
@@ -151,30 +158,37 @@ ruleTester.run('no-jasmine-globals', rule, {
151158
},
152159
{
153160
code: 'jasmine.getEnv()',
161+
output: null,
154162
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
155163
},
156164
{
157165
code: 'jasmine.empty()',
166+
output: null,
158167
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
159168
},
160169
{
161170
code: 'jasmine.falsy()',
171+
output: null,
162172
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
163173
},
164174
{
165175
code: 'jasmine.truthy()',
176+
output: null,
166177
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
167178
},
168179
{
169180
code: 'jasmine.arrayWithExactContents()',
181+
output: null,
170182
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
171183
},
172184
{
173185
code: 'jasmine.clock()',
186+
output: null,
174187
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
175188
},
176189
{
177190
code: 'jasmine.MAX_PRETTY_PRINT_ARRAY_LENGTH = 42',
191+
output: null,
178192
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
179193
},
180194
],

yarn.lock

+8-7
Original file line numberDiff line numberDiff line change
@@ -4342,14 +4342,15 @@ __metadata:
43424342
languageName: node
43434343
linkType: hard
43444344

4345-
"eslint-plugin-eslint-plugin@npm:^3.5.3":
4346-
version: 3.6.1
4347-
resolution: "eslint-plugin-eslint-plugin@npm:3.6.1"
4345+
"eslint-plugin-eslint-plugin@npm:^4.0.1":
4346+
version: 4.0.1
4347+
resolution: "eslint-plugin-eslint-plugin@npm:4.0.1"
43484348
dependencies:
4349-
eslint-utils: ^2.1.0
4349+
eslint-utils: ^3.0.0
4350+
estraverse: ^5.2.0
43504351
peerDependencies:
43514352
eslint: ">=6.0.0"
4352-
checksum: 178fef88197c43d554f132fdfed11217d0ba77431d193642119a3d5fe1acc91d1f02923bef60c0faf3f6bd93f54e6eb51e83e2625dfc98cb2a33d4ebdaa6ab81
4353+
checksum: f71418d522e8dde7f378ef6856b35281d6dfa5f5f9028f9d0d8fd762e13b92260f95a81d000b13b645a83b799cc821a2b200366cd5abccaaeccfbb1e767f872a
43534354
languageName: node
43544355
linkType: hard
43554356

@@ -4403,7 +4404,7 @@ __metadata:
44034404
eslint-config-prettier: ^8.3.0
44044405
eslint-plugin-eslint-comments: ^3.1.2
44054406
eslint-plugin-eslint-config: ^2.0.0
4406-
eslint-plugin-eslint-plugin: ^3.5.3
4407+
eslint-plugin-eslint-plugin: ^4.0.1
44074408
eslint-plugin-import: ^2.25.1
44084409
eslint-plugin-node: ^11.0.0
44094410
eslint-plugin-prettier: ^3.4.1
@@ -4479,7 +4480,7 @@ __metadata:
44794480
languageName: node
44804481
linkType: hard
44814482

4482-
"eslint-utils@npm:^2.0.0, eslint-utils@npm:^2.1.0":
4483+
"eslint-utils@npm:^2.0.0":
44834484
version: 2.1.0
44844485
resolution: "eslint-utils@npm:2.1.0"
44854486
dependencies:

0 commit comments

Comments
 (0)