UNPKG

@makeen.io/material-ui-kit

Version:
131 lines (130 loc) 3.83 kB
{ "parser": "@typescript-eslint/parser", "parserOptions": { "sourceType": "module" }, "plugins": ["prettier", "react", "import", "unused-imports"], "extends": [ "plugin:react/recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "prettier/react", "prettier", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript" ], "env": { "browser": true }, "rules": { "@typescript-eslint/ban-types": [ "error", { "extendDefaults": true, "types": { "{}": false } } ], "@typescript-eslint/explicit-module-boundary-types": "warn", "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-non-null-assertion": "off", "class-methods-use-this": "off", "comma-dangle": "off", "indent-legacy": 0, "import/no-unresolved": 0, "import/named": 0, "import/namespace": 0, "import/default": 0, "import/no-named-as-default-member": 0, "import/order": [ "error", { "groups": ["builtin", "unknown", "external", "internal", "sibling"], "pathGroups": [ { "pattern": "react", "group": "builtin", "position": "before" }, { "pattern": "@types/**", "group": "internal" }, { "pattern": "atoms/**", "group": "internal" }, { "pattern": "config", "group": "internal" }, { "pattern": "hooks/**", "group": "internal" }, { "pattern": "molecules/**", "group": "internal" }, { "pattern": "themes/**", "group": "internal" }, { "pattern": "utils/**", "group": "internal" } ], "pathGroupsExcludedImportTypes": ["react"], "newlines-between": "always-and-inside-groups", "alphabetize": { "order": "asc", "caseInsensitive": false } } ], "indent": 0, "no-param-reassign": [2, { "props": false }], "no-tabs": ["off", { "allowIndentationTabs": true }], "no-use-before-define": "off", "no-unused-vars": "warn", "prettier/prettier": [ "error", { "endOfLine": "auto", "arrowParens": "avoid" } ], "quotes": ["error", "double", { "avoidEscape": true }], "react/prop-types": "off", "react/jsx-filename-extension": "off", "react/jsx-uses-react": "error", "react/jsx-uses-vars": "error", "react/display-name": "off", "sort-imports": [ "error", { "ignoreCase": false, "ignoreDeclarationSort": true, "ignoreMemberSort": false, "memberSyntaxSortOrder": ["none", "all", "multiple", "single"] } ], "@typescript-eslint/no-unused-vars": "off", "unused-imports/no-unused-imports-ts": "error", "unused-imports/no-unused-vars-ts": [ "warn", { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" } ] }, "overrides": [ { "files": ["*.js", "*.mjs"], "rules": { "@typescript-eslint/ban-types": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-var-requires": "off" } }, { "files": "*.tsx", "rules": { "@typescript-eslint/explicit-module-boundary-types": "off" } } ], "globals": { "fetch": false } }