Merge pull request #173 from status-im/chores/linter
Add linter to embark-ui
This commit is contained in:
commit
6f626179ac
|
@ -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