diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 72 |
1 files changed, 21 insertions, 51 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index b8d8c34..f177a00 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,51 +1,21 @@ -{ - "extends": [ - "airbnb", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/eslint-recommended", - "prettier/react", - "plugin:prettier/recommended", - "prettier/@typescript-eslint", - "plugin:import/errors", - "plugin:import/warnings", - "plugin:import/typescript" - ], - "plugins": ["@typescript-eslint"], - "parser": "@typescript-eslint/parser", - "env": { "browser": true, "node": true, "es6": true }, - "parserOptions": { - "sourceType": "module" - }, - "rules": { - "prettier/prettier": "error", - "react/prop-types": "off", - "jsx-a11y/anchor-is-valid": "off", - "react/react-in-jsx-scope": "off", - "react/jsx-filename-extension": [ - "error", - { - "extensions": [".js", ".jsx", ".ts", ".tsx"] - } - ], - "import/extensions": [ - "error", - "ignorePackages", - { - "js": "never", - "jsx": "never", - "ts": "never", - "tsx": "never", - "d.ts": "never" - } - ] - }, - "settings": { - "import/extensions": [".js", ".jsx", ".ts", ".tsx", ".d.ts"], - "import/parsers": { - "@typescript-eslint/parser": [".ts", ".tsx", ".d.ts"] - }, - "import/resolver": { - "typescript": {} - } - } -} +{
+ "env": {
+ "browser": true,
+ "es2021": true
+ },
+ "extends": [
+ "plugin:react/recommended",
+ "standard-with-typescript",
+ "prettier"
+ ],
+ "overrides": [
+ ],
+ "parserOptions": {
+ "ecmaVersion": "latest",
+ "sourceType": "module",
+ "project": ["./tsconfig.json"]
+ },
+ "plugins": [
+ "react"
+ ]
+}
|