Skip to content

Commit

Permalink
fix(deps): replace deprecated eslint-plugin-eslint-cooments
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssimon committed Dec 16, 2024
1 parent fc82c3e commit 4da016c
Show file tree
Hide file tree
Showing 3 changed files with 1,531 additions and 2,324 deletions.
6 changes: 3 additions & 3 deletions lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config = ({
}) => ({
extends: [
'plugin:import-esm/recommended',
'plugin:eslint-comments/recommended',
'plugin:@eslint-community/eslint-comments/recommended',
'plugin:sonarjs/recommended-legacy',
'plugin:unicorn/recommended',
'plugin:promise/recommended',
Expand All @@ -23,8 +23,8 @@ const config = ({
rules: {
'dot-location': ['error', 'property'],

'eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
'eslint-comments/no-unused-disable': 'error',
'@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
'@eslint-community/eslint-comments/no-unused-disable': 'error',

'func-names': 'off',

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"semantic-release": "semantic-release"
},
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-import-esm": "^2.0.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
Expand Down
Loading

0 comments on commit 4da016c

Please sign in to comment.