Skip to content

Commit

Permalink
[Dev Deps] add eslint-plugin-eslint-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish authored and ljharb committed Oct 24, 2021
1 parent f44fc05 commit 813b58e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,22 @@
rules: {
'max-len': 'off',
'no-template-curly-in-string': 'off',
}
},
"overrides": [
{
"files": ["src/rules/*.js"],
"extends": ["plugin:eslint-plugin/rules-recommended"],
"rules": {
"eslint-plugin/require-meta-docs-url": [
"error",
{ "pattern": "https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/master/docs/rules/{{name}}.md" }
],
"eslint-plugin/require-meta-type": "off"
}
},
{
"files": ["__tests__/src/rules/*.js"],
"extends": ["plugin:eslint-plugin/tests-recommended"]
}
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"babel-preset-airbnb": "^5.0.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-eslint-plugin": "^4.0.1",
"eslint-plugin-flowtype": "^5.8.0",
"eslint-plugin-import": "^2.25.2",
"estraverse": "^5.3.0",
Expand Down

0 comments on commit 813b58e

Please sign in to comment.