aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorEugene <eug-vs@keemail.me>2020-01-16 19:32:18 +0000
committerGitHub <noreply@github.com>2020-01-16 19:32:18 +0000
commit22918f53bdee82e0a34bb2a09059ccd3ffca0dc6 (patch)
tree52779dc13ae2b8714b108c6cd23951de36344fbd /package.json
parent8a005dd6d506faf4fd1d5766a3f51d94300f4fd8 (diff)
parent6ceb6dbb3a7a43394a2318c8c9eda44e8c7a3ccb (diff)
downloadchrono-cube-ui-22918f53bdee82e0a34bb2a09059ccd3ffca0dc6.tar.gz
Merge pull request #40 from Eug-VS/eslint
feat: configure ESlint
Diffstat (limited to 'package.json')
-rw-r--r--package.json18
1 files changed, 14 insertions, 4 deletions
diff --git a/package.json b/package.json
index ed322ca..a808511 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
"react-scripts": "3.3.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
- "typeface-roboto": "0.0.75"
+ "typeface-roboto": "0.0.75",
+ "typescript": "^3.7.4"
},
"scripts": {
"start": "react-scripts start",
@@ -26,9 +27,6 @@
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
- "eslintConfig": {
- "extends": "react-app"
- },
"browserslist": {
"production": [
">0.2%",
@@ -40,5 +38,17 @@
"last 1 firefox version",
"last 1 safari version"
]
+ },
+ "devDependencies": {
+ "@typescript-eslint/eslint-plugin": "^2.15.0",
+ "@typescript-eslint/parser": "^2.15.0",
+ "babel-eslint": "^10.0.3",
+ "eslint": "^6.8.0",
+ "eslint-config-react-app": "^5.1.0",
+ "eslint-plugin-flowtype": "^3.13.0",
+ "eslint-plugin-import": "^2.20.0",
+ "eslint-plugin-jsx-a11y": "^6.2.3",
+ "eslint-plugin-react": "^7.17.0",
+ "eslint-plugin-react-hooks": "^1.7.0"
}
}