Skip to content

Commit

Permalink
linter for common chai expect mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ldgit committed Feb 1, 2020
1 parent 8ea7e5a commit 6c3155e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['airbnb-base', 'prettier'],
extends: ['airbnb-base', 'plugin:chai-expect/recommended', 'prettier'],
env: {
mocha: true,
node: true,
Expand Down
6 changes: 6 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 @@ -29,6 +29,7 @@
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-chai-expect": "^2.1.0",
"eslint-plugin-import": "^2.20.0",
"lolex": "^5.1.2",
"mocha": "^7.0.0",
Expand Down

0 comments on commit 6c3155e

Please sign in to comment.