Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Commit 4f29b59

Browse files
authored
Merge pull request #39 from syossan27/add-eslint
Add ESLint
2 parents 928c922 + aba6bec commit 4f29b59

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.eslintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parserOptions": {
3+
"ecmaVersion": 8
4+
},
5+
"comma-dangle": ["error", "never"]
6+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Recognizes certain classes of webpack errors and cleans, aggregates and prioritizes them to provide a better Developer Experience",
55
"main": "index.js",
66
"scripts": {
7-
"test": "jest"
7+
"test": "eslint --ignore-pattern test/* && jest"
88
},
99
"files": [
1010
"src",
@@ -31,7 +31,7 @@
3131
"babel-loader": "^6.3.0",
3232
"babel-plugin-transform-async-to-generator": "^6.22.0",
3333
"babel-preset-react": "^6.23.0",
34-
"eslint": "^3.15.0",
34+
"eslint": "^3.16.1",
3535
"eslint-loader": "^1.6.1",
3636
"expect": "^1.20.2",
3737
"jest": "^18.1.0",

0 commit comments

Comments
 (0)