Skip to content

Commit

Permalink
chore: add eslint-plugin-eslint-plugin (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish authored Oct 25, 2021
1 parent 01572d5 commit 55a3b87
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"extends": "canonical",
"extends": [
"canonical",
"plugin:eslint-plugin/recommended"
],
"rules": {
"eslint-plugin/require-meta-schema": 0,
"eslint-plugin/require-meta-type": 0,

"unicorn/prevent-abbreviations": 0
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"eclint": "^2.8.1",
"eslint": "^7.32.0",
"eslint-config-canonical": "^27.0.1",
"eslint-plugin-eslint-plugin": "^4.0.1",
"gitdown": "^3.1.4",
"glob": "^7.1.7",
"husky": "^7.0.2",
Expand Down
1 change: 1 addition & 0 deletions src/utilities/iterateFunctionNodes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line eslint-plugin/prefer-object-rule -- false positive, this is not a rule
export default (iterator) => {
return (context, ...rest) => {
const nodeIterator = iterator(context, ...rest);
Expand Down

0 comments on commit 55a3b87

Please sign in to comment.