aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/package.json b/package.json
index 575783c..9c772eb 100644
--- a/package.json
+++ b/package.json
@@ -6,6 +6,7 @@
"@types/node": "^12.12.44",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
+ "eslint-config-airbnb-typescript": "^8.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
@@ -13,7 +14,8 @@
},
"scripts": {
"start": "react-scripts start",
- "build": "react-scripts build"
+ "build": "react-scripts build",
+ "lint": "eslint . --ext ts,tsx --max-warnings 0"
},
"browserslist": {
"production": [
@@ -26,5 +28,15 @@
"last 1 firefox version",
"last 1 safari version"
]
+ },
+ "devDependencies": {
+ "@typescript-eslint/eslint-plugin": "^3.1.0",
+ "@typescript-eslint/parser": "^3.1.0",
+ "eslint": "^6.8.0",
+ "eslint-config-airbnb": "^18.1.0",
+ "eslint-plugin-import": "^2.20.2",
+ "eslint-plugin-jsx-a11y": "^6.2.3",
+ "eslint-plugin-react": "^7.20.0",
+ "eslint-plugin-react-hooks": "^2.5.1"
}
}