Merge pull request #173 from status-im/chores/linter

Add linter to embark-ui
This commit is contained in:
Iuri Matias 2018-10-28 11:31:20 +01:00 committed by GitHub
commit 6f626179ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

6
embark-ui/.eslintrc Normal file
View File

@ -0,0 +1,6 @@
{
"extends": "react-app",
"rules": {
"react/prop-types": "warn"
}
}

View File

@ -123,8 +123,5 @@
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
}
}

View File

@ -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",