Skip to content

Commit

Permalink
Add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Feb 23, 2018
1 parent 141fb82 commit 08d2e4a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
module.exports = {
extends: ["airbnb-base", "prettier"]
extends: ["airbnb-base", "prettier"],
plugins: ["jest"],
env: {
"jest/globals": true,
"browser": true,
},
rules: {
"import/extensions": false,
}
};
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 @@ -28,6 +28,7 @@
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jest": "^21.12.2",
"jest": "^22.1.4",
"static-server": "^3.0.0",
"ts-jest": "^22.0.1",
Expand Down

0 comments on commit 08d2e4a

Please sign in to comment.