mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Adjust eslint configuration (#389)
This commit is contained in:
parent
86416cebdf
commit
4e04d1c4b1
3 changed files with 13 additions and 10 deletions
|
|
@ -1 +1,6 @@
|
|||
app/dist
|
||||
app/node_modules
|
||||
app/static
|
||||
assets
|
||||
build
|
||||
dist
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
dist
|
||||
node_modules
|
||||
16
package.json
16
package.json
|
|
@ -48,22 +48,22 @@
|
|||
"react"
|
||||
],
|
||||
"rules": {
|
||||
"yoda": 0,
|
||||
"yoda": "off",
|
||||
"semi": [
|
||||
2,
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"no-unused-vars": 2,
|
||||
"no-extra-semi": 2,
|
||||
"no-unused-vars": "error",
|
||||
"no-extra-semi": "error",
|
||||
"semi-spacing": [
|
||||
2,
|
||||
"error",
|
||||
{
|
||||
"before": false,
|
||||
"after": true
|
||||
}
|
||||
],
|
||||
"react/jsx-uses-react": 1,
|
||||
"react/jsx-uses-vars": 1
|
||||
"react/jsx-uses-react": "warn",
|
||||
"react/jsx-uses-vars": "warn"
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"dev": "webpack --watch",
|
||||
"lint": "eslint lib/ && eslint app/*.js",
|
||||
"lint": "eslint .",
|
||||
"build": "NODE_ENV=production webpack",
|
||||
"test": "npm run lint",
|
||||
"start": "electron app",
|
||||
|
|
|
|||
Loading…
Reference in a new issue