Skip to content

Commit

Permalink
chore: bump eslint-plugin-eslint-plugin (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 15, 2021
1 parent 973e2b5 commit 5278fcb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -107,7 +107,7 @@
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-eslint-config": "^2.0.0",
"eslint-plugin-eslint-plugin": "^3.5.3",
"eslint-plugin-eslint-plugin": "^4.0.1",
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.4.1",
Expand Down
14 changes: 14 additions & 0 deletions src/rules/__tests__/no-jasmine-globals.test.ts
Expand Up @@ -21,6 +21,7 @@ ruleTester.run('no-jasmine-globals', rule, {
invalid: [
{
code: 'spyOn(some, "object")',
output: null,
errors: [
{
messageId: 'illegalGlobal',
Expand All @@ -32,6 +33,7 @@ ruleTester.run('no-jasmine-globals', rule, {
},
{
code: 'spyOnProperty(some, "object")',
output: null,
errors: [
{
messageId: 'illegalGlobal',
Expand All @@ -43,10 +45,12 @@ ruleTester.run('no-jasmine-globals', rule, {
},
{
code: 'fail()',
output: null,
errors: [{ messageId: 'illegalFail', column: 1, line: 1 }],
},
{
code: 'pending()',
output: null,
errors: [{ messageId: 'illegalPending', column: 1, line: 1 }],
},
{
Expand All @@ -56,10 +60,12 @@ ruleTester.run('no-jasmine-globals', rule, {
},
{
code: 'jasmine.DEFAULT_TIMEOUT_INTERVAL = function() {}',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.addMatchers(matchers)',
output: null,
errors: [
{
messageId: 'illegalMethod',
Expand All @@ -71,6 +77,7 @@ ruleTester.run('no-jasmine-globals', rule, {
},
{
code: 'jasmine.createSpy()',
output: null,
errors: [
{
messageId: 'illegalMethod',
Expand Down Expand Up @@ -151,30 +158,37 @@ ruleTester.run('no-jasmine-globals', rule, {
},
{
code: 'jasmine.getEnv()',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.empty()',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.falsy()',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.truthy()',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.arrayWithExactContents()',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.clock()',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
{
code: 'jasmine.MAX_PRETTY_PRINT_ARRAY_LENGTH = 42',
output: null,
errors: [{ messageId: 'illegalJasmine', column: 1, line: 1 }],
},
],
Expand Down
15 changes: 8 additions & 7 deletions yarn.lock
Expand Up @@ -4342,14 +4342,15 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-eslint-plugin@npm:^3.5.3":
version: 3.6.1
resolution: "eslint-plugin-eslint-plugin@npm:3.6.1"
"eslint-plugin-eslint-plugin@npm:^4.0.1":
version: 4.0.1
resolution: "eslint-plugin-eslint-plugin@npm:4.0.1"
dependencies:
eslint-utils: ^2.1.0
eslint-utils: ^3.0.0
estraverse: ^5.2.0
peerDependencies:
eslint: ">=6.0.0"
checksum: 178fef88197c43d554f132fdfed11217d0ba77431d193642119a3d5fe1acc91d1f02923bef60c0faf3f6bd93f54e6eb51e83e2625dfc98cb2a33d4ebdaa6ab81
checksum: f71418d522e8dde7f378ef6856b35281d6dfa5f5f9028f9d0d8fd762e13b92260f95a81d000b13b645a83b799cc821a2b200366cd5abccaaeccfbb1e767f872a
languageName: node
linkType: hard

Expand Down Expand Up @@ -4403,7 +4404,7 @@ __metadata:
eslint-config-prettier: ^8.3.0
eslint-plugin-eslint-comments: ^3.1.2
eslint-plugin-eslint-config: ^2.0.0
eslint-plugin-eslint-plugin: ^3.5.3
eslint-plugin-eslint-plugin: ^4.0.1
eslint-plugin-import: ^2.25.1
eslint-plugin-node: ^11.0.0
eslint-plugin-prettier: ^3.4.1
Expand Down Expand Up @@ -4479,7 +4480,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-utils@npm:^2.0.0, eslint-utils@npm:^2.1.0":
"eslint-utils@npm:^2.0.0":
version: 2.1.0
resolution: "eslint-utils@npm:2.1.0"
dependencies:
Expand Down

0 comments on commit 5278fcb

Please sign in to comment.