Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
add no-only-tests rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Connor committed Jan 21, 2020
1 parent b7d02e2 commit f4edd38
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
'extends': 'airbnb-base',
extends: 'airbnb-base',
plugins: [
'no-only-tests'
],
parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true,
Expand All @@ -14,6 +17,7 @@ module.exports = {
'max-len': [1, 100, { ignoreTrailingComments: true }],
'new-cap': 1,
'no-console': 1,
'no-only-tests/no-only-tests': 2,
'no-param-reassign': 0,
'no-return-assign': 1,
'object-curly-newline': 0,
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"eslint": "^4.9.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0"
}
Expand Down

0 comments on commit f4edd38

Please sign in to comment.