housekeeping: add extraneous module linting (#4697)
preventative measure!
This commit is contained in:
11
.eslintrc
11
.eslintrc
@@ -13,11 +13,15 @@
|
||||
}
|
||||
},
|
||||
|
||||
"extends": ["eslint:recommended", "plugin:react/recommended"],
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended"
|
||||
],
|
||||
|
||||
"plugins": [
|
||||
"react",
|
||||
"mocha"
|
||||
"mocha",
|
||||
"import"
|
||||
],
|
||||
|
||||
"rules": {
|
||||
@@ -34,6 +38,7 @@
|
||||
"no-console": ["error", { allow: ["warn", "error"] }],
|
||||
"react/jsx-no-bind": 1,
|
||||
"react/display-name": 0,
|
||||
"mocha/no-exclusive-tests": "error"
|
||||
"mocha/no-exclusive-tests": "error",
|
||||
"import/no-extraneous-dependencies": [2]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user