Skip to content

Commit 1bc83b9

Browse files
authored
chore: use @eslint-community/eslint-plugin-eslint-comments (#1635)
1 parent 9854c8f commit 1bc83b9

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.eslintrc.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ module.exports = {
66
parser: require.resolve('@typescript-eslint/parser'),
77
extends: [
88
'plugin:eslint-plugin/recommended',
9-
'plugin:eslint-comments/recommended',
9+
'plugin:@eslint-community/eslint-comments/recommended',
1010
'plugin:n/recommended',
1111
'plugin:@typescript-eslint/eslint-recommended',
1212
'plugin:prettier/recommended',
1313
],
1414
plugins: [
1515
'eslint-plugin',
16-
'eslint-comments',
16+
'@eslint-community/eslint-comments',
1717
'n',
1818
'import',
1919
'@typescript-eslint',
@@ -37,7 +37,7 @@ module.exports = {
3737
],
3838
'@typescript-eslint/no-import-type-side-effects': 'error',
3939
'@typescript-eslint/no-unused-vars': 'error',
40-
'eslint-comments/no-unused-disable': 'error',
40+
'@eslint-community/eslint-comments/no-unused-disable': 'error',
4141
'eslint-plugin/require-meta-docs-description': [
4242
'error',
4343
{ pattern: '^(Enforce|Require|Disallow|Suggest|Prefer)' },

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"@babel/preset-typescript": "^7.3.3",
6868
"@commitlint/cli": "^17.0.3",
6969
"@commitlint/config-conventional": "^17.0.3",
70+
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
7071
"@schemastore/package": "^0.0.10",
7172
"@semantic-release/changelog": "^6.0.0",
7273
"@semantic-release/git": "^10.0.0",
@@ -83,7 +84,6 @@
8384
"eslint": "^7.0.0 || ^8.0.0",
8485
"eslint-config-prettier": "^9.0.0",
8586
"eslint-doc-generator": "^1.0.0",
86-
"eslint-plugin-eslint-comments": "^3.1.2",
8787
"eslint-plugin-eslint-plugin": "^6.0.0",
8888
"eslint-plugin-import": "^2.25.1",
8989
"eslint-plugin-n": "^17.0.0",

yarn.lock

+14-14
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,18 @@ __metadata:
16281628
languageName: node
16291629
linkType: hard
16301630

1631+
"@eslint-community/eslint-plugin-eslint-comments@npm:^4.3.0":
1632+
version: 4.3.0
1633+
resolution: "@eslint-community/eslint-plugin-eslint-comments@npm:4.3.0"
1634+
dependencies:
1635+
escape-string-regexp: ^4.0.0
1636+
ignore: ^5.2.4
1637+
peerDependencies:
1638+
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
1639+
checksum: f79cd9b184435e5718b0323e28e29a2f9f7cf304d3380337c97bc8cf5ce50505cc13f6906985224da09439e1758f1c2557760fd4966bc3fd1c94e402400e7a7a
1640+
languageName: node
1641+
linkType: hard
1642+
16311643
"@eslint-community/eslint-utils@npm:^4.1.2, @eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
16321644
version: 4.4.0
16331645
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
@@ -5100,18 +5112,6 @@ __metadata:
51005112
languageName: node
51015113
linkType: hard
51025114

5103-
"eslint-plugin-eslint-comments@npm:^3.1.2":
5104-
version: 3.2.0
5105-
resolution: "eslint-plugin-eslint-comments@npm:3.2.0"
5106-
dependencies:
5107-
escape-string-regexp: ^1.0.5
5108-
ignore: ^5.0.5
5109-
peerDependencies:
5110-
eslint: ">=4.19.1"
5111-
checksum: c9fe273dd56699abdf7e416cfad0344eb50aa01564a5a9133e72d982defb89310bc2e9b0b148ce19c5190d7ff641223b0ba9e667a194bc48467c3dd0d471e657
5112-
languageName: node
5113-
linkType: hard
5114-
51155115
"eslint-plugin-eslint-plugin@npm:^6.0.0":
51165116
version: 6.2.0
51175117
resolution: "eslint-plugin-eslint-plugin@npm:6.2.0"
@@ -5161,6 +5161,7 @@ __metadata:
51615161
"@babel/preset-typescript": ^7.3.3
51625162
"@commitlint/cli": ^17.0.3
51635163
"@commitlint/config-conventional": ^17.0.3
5164+
"@eslint-community/eslint-plugin-eslint-comments": ^4.3.0
51645165
"@schemastore/package": ^0.0.10
51655166
"@semantic-release/changelog": ^6.0.0
51665167
"@semantic-release/git": ^10.0.0
@@ -5177,7 +5178,6 @@ __metadata:
51775178
eslint: ^7.0.0 || ^8.0.0
51785179
eslint-config-prettier: ^9.0.0
51795180
eslint-doc-generator: ^1.0.0
5180-
eslint-plugin-eslint-comments: ^3.1.2
51815181
eslint-plugin-eslint-plugin: ^6.0.0
51825182
eslint-plugin-import: ^2.25.1
51835183
eslint-plugin-n: ^17.0.0
@@ -6325,7 +6325,7 @@ __metadata:
63256325
languageName: node
63266326
linkType: hard
63276327

6328-
"ignore@npm:^5.0.5, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
6328+
"ignore@npm:^5.2.0, ignore@npm:^5.2.4":
63296329
version: 5.3.1
63306330
resolution: "ignore@npm:5.3.1"
63316331
checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3

0 commit comments

Comments
 (0)