diff --git a/.eslintrc.json b/.eslintrc.json index 6c4530fb..d9b60a15 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,12 +14,12 @@ }, "extends": [ "eslint:recommended", - "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "plugin:react-hooks/recommended", - "prettier/react", - "prettier/@typescript-eslint" + "plugin:react/recommended", + "prettier/@typescript-eslint", + "prettier/react" ], "settings": { "react": { @@ -27,6 +27,23 @@ } }, "rules": { + "@typescript-eslint/array-type": "off", + "@typescript-eslint/camelcase": "off", + "@typescript-eslint/explicit-function-return-type": "off", + "@typescript-eslint/explicit-member-accessibility": "off", + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/no-empty-interface": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-inferrable-types": "off", + "@typescript-eslint/no-namespace": "off", + "@typescript-eslint/no-object-literal-type-assertion": "off", + "@typescript-eslint/no-unused-vars": [ + "error", + {"varsIgnorePattern": "^_", "argsIgnorePattern": "^_"} + ], + "@typescript-eslint/no-use-before-define": "off", + "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/prefer-interface": "off", "curly": ["error", "all"], "getter-return": "off", "no-case-declarations": "off", @@ -38,27 +55,10 @@ "no-undef": "off", "no-useless-escape": "off", "prefer-rest-params": "off", - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/explicit-function-return-type": "off", - "@typescript-eslint/no-namespace": "off", - "@typescript-eslint/no-empty-interface": "off", - "@typescript-eslint/explicit-member-accessibility": "off", - "@typescript-eslint/no-use-before-define": "off", - "@typescript-eslint/no-object-literal-type-assertion": "off", - "@typescript-eslint/array-type": "off", - "@typescript-eslint/no-inferrable-types": "off", - "@typescript-eslint/no-var-requires": "off", - "@typescript-eslint/prefer-interface": "off", - "@typescript-eslint/camelcase": "off", - "@typescript-eslint/no-unused-vars": [ - "error", - {"varsIgnorePattern": "^_", "argsIgnorePattern": "^_"} - ], - "react/jsx-no-target-blank": "off", "react/display-name": "off", + "react/jsx-no-target-blank": "off", + "react/no-find-dom-node": "off", "react/no-unescaped-entities": "off", - "react/prop-types": "off", - "react/no-find-dom-node": "off" + "react/prop-types": "off" } }