Skip to content

Commit

Permalink
chore: use @eslint-community/eslint-plugin-eslint-comments (#1635)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Aug 2, 2024
1 parent 9854c8f commit 1bc83b9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports = {
parser: require.resolve('@typescript-eslint/parser'),
extends: [
'plugin:eslint-plugin/recommended',
'plugin:eslint-comments/recommended',
'plugin:@eslint-community/eslint-comments/recommended',
'plugin:n/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:prettier/recommended',
],
plugins: [
'eslint-plugin',
'eslint-comments',
'@eslint-community/eslint-comments',
'n',
'import',
'@typescript-eslint',
Expand All @@ -37,7 +37,7 @@ module.exports = {
],
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'eslint-comments/no-unused-disable': 'error',
'@eslint-community/eslint-comments/no-unused-disable': 'error',
'eslint-plugin/require-meta-docs-description': [
'error',
{ pattern: '^(Enforce|Require|Disallow|Suggest|Prefer)' },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"@schemastore/package": "^0.0.10",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
Expand All @@ -83,7 +84,6 @@
"eslint": "^7.0.0 || ^8.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-doc-generator": "^1.0.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-eslint-plugin": "^6.0.0",
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-n": "^17.0.0",
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,18 @@ __metadata:
languageName: node
linkType: hard

"@eslint-community/eslint-plugin-eslint-comments@npm:^4.3.0":
version: 4.3.0
resolution: "@eslint-community/eslint-plugin-eslint-comments@npm:4.3.0"
dependencies:
escape-string-regexp: ^4.0.0
ignore: ^5.2.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
checksum: f79cd9b184435e5718b0323e28e29a2f9f7cf304d3380337c97bc8cf5ce50505cc13f6906985224da09439e1758f1c2557760fd4966bc3fd1c94e402400e7a7a
languageName: node
linkType: hard

"@eslint-community/eslint-utils@npm:^4.1.2, @eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
version: 4.4.0
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
Expand Down Expand Up @@ -5100,18 +5112,6 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-eslint-comments@npm:^3.1.2":
version: 3.2.0
resolution: "eslint-plugin-eslint-comments@npm:3.2.0"
dependencies:
escape-string-regexp: ^1.0.5
ignore: ^5.0.5
peerDependencies:
eslint: ">=4.19.1"
checksum: c9fe273dd56699abdf7e416cfad0344eb50aa01564a5a9133e72d982defb89310bc2e9b0b148ce19c5190d7ff641223b0ba9e667a194bc48467c3dd0d471e657
languageName: node
linkType: hard

"eslint-plugin-eslint-plugin@npm:^6.0.0":
version: 6.2.0
resolution: "eslint-plugin-eslint-plugin@npm:6.2.0"
Expand Down Expand Up @@ -5161,6 +5161,7 @@ __metadata:
"@babel/preset-typescript": ^7.3.3
"@commitlint/cli": ^17.0.3
"@commitlint/config-conventional": ^17.0.3
"@eslint-community/eslint-plugin-eslint-comments": ^4.3.0
"@schemastore/package": ^0.0.10
"@semantic-release/changelog": ^6.0.0
"@semantic-release/git": ^10.0.0
Expand All @@ -5177,7 +5178,6 @@ __metadata:
eslint: ^7.0.0 || ^8.0.0
eslint-config-prettier: ^9.0.0
eslint-doc-generator: ^1.0.0
eslint-plugin-eslint-comments: ^3.1.2
eslint-plugin-eslint-plugin: ^6.0.0
eslint-plugin-import: ^2.25.1
eslint-plugin-n: ^17.0.0
Expand Down Expand Up @@ -6325,7 +6325,7 @@ __metadata:
languageName: node
linkType: hard

"ignore@npm:^5.0.5, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
"ignore@npm:^5.2.0, ignore@npm:^5.2.4":
version: 5.3.1
resolution: "ignore@npm:5.3.1"
checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3
Expand Down

0 comments on commit 1bc83b9

Please sign in to comment.