Skip to content

chore: use @eslint-community/eslint-plugin-eslint-comments #1635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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