diff options
author | Renard | 2019-09-16 01:53:22 -0300 |
---|---|---|
committer | Renard | 2019-09-16 01:53:22 -0300 |
commit | 07c4dcb976b79fb843f13cd67fe8ac2820ad68c9 (patch) | |
tree | 8593b14e9863fb2a8d8e66ed0e6229ee3fb770c9 /package.json | |
parent | 464d949467c4c16bd396661d3880813d0cba6f3b (diff) | |
download | bai-client-07c4dcb976b79fb843f13cd67fe8ac2820ad68c9.tar.gz bai-client-07c4dcb976b79fb843f13cd67fe8ac2820ad68c9.tar.xz bai-client-07c4dcb976b79fb843f13cd67fe8ac2820ad68c9.zip |
ESLint Setup
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/package.json b/package.json index a652b65..e12cbb2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "scripts": { "dev": "parcel src/index.html", "build": "parcel build src/index.html", - "format": "prettier \"src/**/*.{js,css,html}\" --write" + "format": "prettier \"src/**/*.{js,css,html}\" --write", + "lint": "eslint \"src/**/*.{js,jsx} --quiet" }, "eslintConfig": { "extends": "react-app" @@ -39,7 +40,13 @@ ] }, "devDependencies": { + "babel-eslint": "^10.0.3", + "eslint": "^6.4.0", + "eslint-config-prettier": "^6.3.0", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-jsx-a11y": "^6.2.3", + "eslint-plugin-react": "^7.14.3", "parcel-bundler": "^1.12.3", "prettier": "^1.18.2" } -}
\ No newline at end of file +} |