Skip to content

Commit

Permalink
chore: eslint-plugin-eslint-comments migration
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 committed May 1, 2024
1 parent 8b9f002 commit ee64160
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 34 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": ["airbnb-base", "plugin:n/recommended", "plugin:unicorn/recommended", "plugin:eslint-comments/recommended"],
"plugins": ["n", "unicorn", "eslint-comments"],
"extends": [
"airbnb-base",
"plugin:n/recommended",
"plugin:unicorn/recommended",
"plugin:@eslint-community/eslint-comments/recommended"
],
"plugins": ["n", "unicorn"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
Expand All @@ -26,6 +31,6 @@
"unicorn/no-null": "off",
"unicorn/no-useless-promise-resolve-reject": "off",
"unicorn/catch-error-name": ["error", { "name": "e" }],
"eslint-comments/no-unused-disable": "error"
"@eslint-community/eslint-comments/no-unused-disable": "error"
}
}
77 changes: 47 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"yaml": "^2.4.1"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"c8": "^9.1.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
Expand All @@ -64,7 +65,6 @@
"dirty-chai": "^2.0.1",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-unicorn": "^51.0.1",
Expand Down

0 comments on commit ee64160

Please sign in to comment.