Permalink
Browse files

add: files for using eslint

  • Loading branch information...
1 parent 67b89d4 commit 836f3af1ab6e3391495ed7f744687fc0a7a172d6 @sota1235 sota1235 committed Jan 11, 2017
Showing with 11 additions and 2 deletions.
  1. +3 −0 .eslintignore
  2. +6 −0 .eslintrc
  3. +2 −2 package.json
View
@@ -0,0 +1,3 @@
+node_modules/
+compiled/
+dist/
View
@@ -0,0 +1,6 @@
+{
+ "extends": ["standard", "standard-jsx"],
+ "rules": {
+ "no-useless-escape": 0
+ }
+}
View
@@ -10,8 +10,8 @@
"webpack": "webpack-dev-server --hot --inline --config webpack.config.js",
"compile": "grunt compile",
"test": "PWD=$(pwd) NODE_ENV=test ava",
- "fix": "standard --fix",
- "lint": "standard"
+ "fix": "npm run lint --fix",
+ "lint": "eslint ./**/*.js"
},
"config": {
"electron-version": "1.2.8"

0 comments on commit 836f3af

Please sign in to comment.