diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..44cbe88 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "airbnb" +} \ No newline at end of file diff --git a/package.json b/package.json index fb83081..9bf0572 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "", "scripts": { "solidity-coverage": "./node_modules/.bin/solidity-coverage", - "test": "embark test" + "test": "embark test", + "lint": "eslint" }, "repository": { "type": "git", @@ -21,5 +22,12 @@ "react-blockies": "^1.3.0", "react-bootstrap": "^0.32.1", "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" } }