diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..e9a81977 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +node_modules/ +compiled/ +dist/ diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 00000000..f4f88ad0 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,6 @@ +{ + "extends": ["standard", "standard-jsx"], + "rules": { + "no-useless-escape": 0 + } +} diff --git a/package.json b/package.json index 50159372..5530a8b2 100644 --- a/package.json +++ b/package.json @@ -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"