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:
3
.eslintignore
Normal file
3
.eslintignore
Normal file
@@ -0,0 +1,3 @@
|
||||
node_modules/
|
||||
compiled/
|
||||
dist/
|
||||
6
.eslintrc
Normal file
6
.eslintrc
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"extends": ["standard", "standard-jsx"],
|
||||
"rules": {
|
||||
"no-useless-escape": 0
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user