Skip to content

Commit 6c0ea52

Browse files
committed
update package.json, remove compat
1 parent ef5c2d6 commit 6c0ea52

7 files changed

Lines changed: 9 additions & 33 deletions

File tree

‎lib/configs/flat/recommended.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const importPlugin = require('eslint-plugin-import')
66
const filenames = require('eslint-plugin-filenames')
77
const i18nTextPlugin = require('eslint-plugin-i18n-text')
88
const noOnlyTestsPlugin = require('eslint-plugin-no-only-tests')
9-
const {fixupPluginRules} = require('@eslint/compat')
109

1110
module.exports = {
1211
languageOptions: {
@@ -17,11 +16,11 @@ module.exports = {
1716
},
1817
},
1918
plugins: {
20-
filenames: fixupPluginRules(filenames),
19+
filenames,
2120
prettierPlugin,
2221
eslintComments,
2322
importPlugin,
24-
i18nTextPlugin: fixupPluginRules(i18nTextPlugin),
23+
i18nTextPlugin,
2524
noOnlyTestsPlugin,
2625
github,
2726
},

‎package-lock.json‎

Lines changed: 1 addition & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
},
3232
"homepage": "https://github.com/github/eslint-plugin-github#readme",
3333
"dependencies": {
34-
"@eslint/compat": "^1.2.2",
3534
"@eslint/eslintrc": "^3.1.0",
3635
"@github/browserslist-config": "^1.0.0",
3736
"@typescript-eslint/eslint-plugin": "^8.13.0",

‎test-examples/flat/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test-examples/flat/src/thisTypescriptTest.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ function foo() {
1010

1111
var foo = function() {
1212
this.a = 0;
13+
var message = "Some message text"
1314
baz(() => this);
1415
}

‎test-examples/legacy/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test-examples/legacy/src/thisTypescriptTest.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ function foo() {
1010

1111
var foo = function() {
1212
this.a = 0;
13+
var message = "Some message text"
1314
baz(() => this);
1415
}

0 commit comments

Comments
 (0)