Skip to content

Commit 40d855c

Browse files
authored
chore: use @eslint-community/eslint-plugin-eslint-comments (#229)
1 parent 56725b9 commit 40d855c

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ module.exports = {
44
parser: require.resolve('@typescript-eslint/parser'),
55
extends: [
66
'plugin:eslint-plugin/recommended',
7-
'plugin:eslint-comments/recommended',
7+
'plugin:@eslint-community/eslint-comments/recommended',
88
'plugin:n/recommended',
99
'plugin:@typescript-eslint/eslint-recommended',
1010
'plugin:prettier/recommended',
1111
],
1212
plugins: [
1313
'eslint-plugin',
14-
'eslint-comments',
14+
'@eslint-community/eslint-comments',
1515
'n',
1616
'import',
1717
'@typescript-eslint',
@@ -34,7 +34,7 @@ module.exports = {
3434
],
3535
'@typescript-eslint/no-import-type-side-effects': 'error',
3636
'@typescript-eslint/no-unused-vars': 'error',
37-
'eslint-comments/no-unused-disable': 'error',
37+
'@eslint-community/eslint-comments/no-unused-disable': 'error',
3838
'eslint-plugin/require-meta-docs-description': [
3939
'error',
4040
{ pattern: '^(Enforce|Require|Disallow|Suggest|Prefer)' },

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"@babel/preset-typescript": "^7.3.3",
8383
"@commitlint/cli": "^19.0.0",
8484
"@commitlint/config-conventional": "^19.0.0",
85+
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
8586
"@schemastore/package": "^0.0.10",
8687
"@semantic-release/changelog": "^6.0.0",
8788
"@semantic-release/git": "^10.0.0",
@@ -97,7 +98,6 @@
9798
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
9899
"eslint-config-prettier": "^9.0.0",
99100
"eslint-doc-generator": "^1.0.0",
100-
"eslint-plugin-eslint-comments": "^3.1.2",
101101
"eslint-plugin-eslint-plugin": "^6.0.0",
102102
"eslint-plugin-import": "^2.18.0",
103103
"eslint-plugin-n": "^15.0.0",

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,6 +1625,18 @@ __metadata:
16251625
languageName: node
16261626
linkType: hard
16271627

1628+
"@eslint-community/eslint-plugin-eslint-comments@npm:^4.4.1":
1629+
version: 4.4.1
1630+
resolution: "@eslint-community/eslint-plugin-eslint-comments@npm:4.4.1"
1631+
dependencies:
1632+
escape-string-regexp: ^4.0.0
1633+
ignore: ^5.2.4
1634+
peerDependencies:
1635+
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
1636+
checksum: 32edb04a698c1b0f2d157c57d2c931811e804f9e5df4ffdcfa52334d7f170cf22a0d5531e008efcf21e22a36474e68036882c5bc25076fedc5755e3bdfe7b8e8
1637+
languageName: node
1638+
linkType: hard
1639+
16281640
"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
16291641
version: 4.4.0
16301642
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
@@ -4958,18 +4970,6 @@ __metadata:
49584970
languageName: node
49594971
linkType: hard
49604972

4961-
"eslint-plugin-eslint-comments@npm:^3.1.2":
4962-
version: 3.2.0
4963-
resolution: "eslint-plugin-eslint-comments@npm:3.2.0"
4964-
dependencies:
4965-
escape-string-regexp: ^1.0.5
4966-
ignore: ^5.0.5
4967-
peerDependencies:
4968-
eslint: ">=4.19.1"
4969-
checksum: c9fe273dd56699abdf7e416cfad0344eb50aa01564a5a9133e72d982defb89310bc2e9b0b148ce19c5190d7ff641223b0ba9e667a194bc48467c3dd0d471e657
4970-
languageName: node
4971-
linkType: hard
4972-
49734973
"eslint-plugin-eslint-plugin@npm:^6.0.0":
49744974
version: 6.2.0
49754975
resolution: "eslint-plugin-eslint-plugin@npm:6.2.0"
@@ -5019,6 +5019,7 @@ __metadata:
50195019
"@babel/preset-typescript": ^7.3.3
50205020
"@commitlint/cli": ^19.0.0
50215021
"@commitlint/config-conventional": ^19.0.0
5022+
"@eslint-community/eslint-plugin-eslint-comments": ^4.4.1
50225023
"@schemastore/package": ^0.0.10
50235024
"@semantic-release/changelog": ^6.0.0
50245025
"@semantic-release/git": ^10.0.0
@@ -5035,7 +5036,6 @@ __metadata:
50355036
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
50365037
eslint-config-prettier: ^9.0.0
50375038
eslint-doc-generator: ^1.0.0
5038-
eslint-plugin-eslint-comments: ^3.1.2
50395039
eslint-plugin-eslint-plugin: ^6.0.0
50405040
eslint-plugin-import: ^2.18.0
50415041
eslint-plugin-n: ^15.0.0
@@ -6184,7 +6184,7 @@ __metadata:
61846184
languageName: node
61856185
linkType: hard
61866186

6187-
"ignore@npm:^5.0.5, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
6187+
"ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
61886188
version: 5.3.2
61896189
resolution: "ignore@npm:5.3.2"
61906190
checksum: 2acfd32a573260ea522ea0bfeff880af426d68f6831f973129e2ba7363f422923cf53aab62f8369cbf4667c7b25b6f8a3761b34ecdb284ea18e87a5262a865be

0 commit comments

Comments
 (0)