add eslint
This commit is contained in:
parent
16c4e342c2
commit
91784682a2
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "airbnb"
|
||||||
|
}
|
10
package.json
10
package.json
|
@ -4,7 +4,8 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"solidity-coverage": "./node_modules/.bin/solidity-coverage",
|
"solidity-coverage": "./node_modules/.bin/solidity-coverage",
|
||||||
"test": "embark test"
|
"test": "embark test",
|
||||||
|
"lint": "eslint"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -21,5 +22,12 @@
|
||||||
"react-blockies": "^1.3.0",
|
"react-blockies": "^1.3.0",
|
||||||
"react-bootstrap": "^0.32.1",
|
"react-bootstrap": "^0.32.1",
|
||||||
"react-dom": "^16.3.2"
|
"react-dom": "^16.3.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"eslint": "^4.19.1",
|
||||||
|
"eslint-config-airbnb": "^16.1.0",
|
||||||
|
"eslint-plugin-import": "^2.12.0",
|
||||||
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
||||||
|
"eslint-plugin-react": "^7.8.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue