1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

add: files for using eslint

This commit is contained in:
sota1235
2017-01-11 23:52:22 +09:00
parent 67b89d4fe7
commit 836f3af1ab
3 changed files with 11 additions and 2 deletions

3
.eslintignore Normal file
View File

@@ -0,0 +1,3 @@
node_modules/
compiled/
dist/

6
.eslintrc Normal file
View File

@@ -0,0 +1,6 @@
{
"extends": ["standard", "standard-jsx"],
"rules": {
"no-useless-escape": 0
}
}

View File

@@ -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"