mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-24 20:51:55 +00:00
Merge pull request #173 from status-im/chores/linter
Add linter to embark-ui
This commit is contained in:
commit
6f626179ac
6
embark-ui/.eslintrc
Normal file
6
embark-ui/.eslintrc
Normal file
@ -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…
x
Reference in New Issue
Block a user