Add linter to embark-ui
This commit is contained in:
parent
e77e08c84e
commit
5c19dcf672
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "react-app",
|
||||
"rules": {
|
||||
"react/prop-types": "warn"
|
||||
}
|
||||
}
|
|
@ -123,8 +123,5 @@
|
|||
"presets": [
|
||||
"react-app"
|
||||
]
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
},
|
||||
"main": "./lib/index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint bin/embark lib/",
|
||||
"lint": "eslint bin/embark lib/ embark-ui/src",
|
||||
"prepack": "cd embark-ui && npm install && npm run build",
|
||||
"test": "npm-run-all lint test:*",
|
||||
"test:embark": "mocha test/ --no-timeouts --exit",
|
||||
|
|
Loading…
Reference in New Issue