diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 01:18:16 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 01:18:16 +0300 |
commit | 05ccf76dbbb54e52ae81a469f91b3660057058dc (patch) | |
tree | d0509803f8e9d092d7e423c439d67da8e0ca97ec /package.json | |
parent | c6fac69a8273ce20216002925deb0a2b5425dc25 (diff) | |
download | commercel-ui-05ccf76dbbb54e52ae81a469f91b3660057058dc.tar.gz |
style: install eslint
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/package.json b/package.json index 4bad643..4a8a083 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,13 @@ "react-dom": "^17.0.1", "react-router-dom": "^5.2.0", "react-scripts": "4.0.3", + "tailwindcss": "npm:@tailwindcss/postcss7-compat", "typescript": "^4.1.2" }, "scripts": { "start": "craco start", - "build": "craco build" + "build": "craco build", + "lint": "eslint . --ext=ts,tsx" }, "eslintConfig": { "extends": [ @@ -40,8 +42,16 @@ "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@types/react-router-dom": "^5.1.7", + "@typescript-eslint/eslint-plugin": "^3.1.0", + "@typescript-eslint/parser": "^3.1.0", + "eslint": "^6.8.0", + "eslint-config-airbnb": "^18.1.0", + "eslint-config-airbnb-typescript": "^8.0.2", + "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", "autoprefixer": "^9", - "postcss": "^7", - "tailwindcss": "npm:@tailwindcss/postcss7-compat" + "postcss": "^7" } } |