Skip to content

Commit

Permalink
Chore: use eslintrc overrides (#10677)
Browse files Browse the repository at this point in the history
* Chore: use eslintrc overrides

* Chore: rm tools/internal-rules/eslintrc

* Chore: revert eslint-config-eslint

* Chore: simplify eslintrc
  • Loading branch information
aladdin-add committed Aug 4, 2018
1 parent 2af6f4f commit 137140f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.js
Expand Up @@ -28,6 +28,17 @@ module.exports = {
},
overrides: [
{
files: ["lib/rules/*", "tools/internal-rules/*"],
rules: {
"rulesdir/no-invalid-meta": "error",
"rulesdir/consistent-docs-description": "error"
}
}, {
files: ["lib/rules/*"],
rules: {
"rulesdir/consistent-docs-url": "error"
}
}, {
files: ["tests/**/*"],
env: { mocha: true },
rules: {
Expand Down
4 changes: 0 additions & 4 deletions lib/rules/.eslintrc.yml

This file was deleted.

4 changes: 0 additions & 4 deletions tools/internal-rules/.eslintrc.yml

This file was deleted.

0 comments on commit 137140f

Please sign in to comment.