diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 9e385b5..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "extends": [ - "eslint:recommended", - "react-app", - "plugin:react/jsx-runtime", - "prettier" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": true, - "tsconfigRootDir": "./" - }, - "plugins": [ - "@typescript-eslint" - ], - "root": true, - "ignorePatterns": [ - "dist" - ], - "rules": { - "sort-imports": [ - "error", - { - "allowSeparatedGroups": true - } - ], - "@typescript-eslint/consistent-type-imports": [ - 2, - { - "fixStyle": "inline-type-imports" - } - ], - "@typescript-eslint/no-restricted-imports": [ - 2, - { - "paths": [ - { - "name": "react-redux", - "importNames": [ - "useSelector", - "useStore", - "useDispatch" - ], - "message": "Please use pre-typed versions from `src/app/hooks.ts` instead." - } - ], - "patterns": [ - { - "group": [ - "codeforlife/src" - ], - "message": "Please use `codeforlife` instead of `codeforlife/src`." - } - ] - } - ] - }, - "overrides": [ - { - "files": [ - "*.{c,m,}{t,j}s", - "*.{t,j}sx" - ] - }, - { - "files": [ - "*{test,spec}.{t,j}s?(x)" - ], - "env": { - "jest": true - } - } - ] -}