From 5471972045aa3ed5dca90abc67802d324e5c1251 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 13 Jan 2020 00:01:22 +0300 Subject: feat: explicitly configure ESlint --- package.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index ed322ca..4252903 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,6 @@ "predeploy": "npm run build", "deploy": "gh-pages -d build" }, - "eslintConfig": { - "extends": "react-app" - }, "browserslist": { "production": [ ">0.2%", @@ -40,5 +37,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" } } -- cgit v1.2.3 From 8aac86303d7d7e7426f75cb2e7484b41bbe1814a Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 13 Jan 2020 16:13:40 +0300 Subject: fix: add missing typescript dev-dependency --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 4252903..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", -- cgit v1.2.3