{ "env": { "browser": true, "es2021": true }, "parserOptions": { "ecmaVersion": "latest", "sourceType": "module", "project": ["./tsconfig.json"] }, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "import", "simple-import-sort", "sort-exports", "sort-keys", "prettier" ], "extends": ["prettier", "next"], "rules": { "curly": 2, "@typescript-eslint/quotes": [ "error", "single", { "avoidEscape": true, "allowTemplateLiterals": true } ], "@typescript-eslint/no-unnecessary-condition": 0, "@typescript-eslint/array-type": [ 2, { "default": "generic" } ], "@typescript-eslint/await-thenable": "error", "@typescript-eslint/consistent-type-definitions": 0, "@typescript-eslint/consistent-type-exports": "error", "@typescript-eslint/method-signature-style": "error", "@typescript-eslint/naming-convention": 0, "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-for-in-array": "error", "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-require-imports": "error", "@typescript-eslint/no-this-alias": "error", "@typescript-eslint/no-unsafe-argument": "error", "@typescript-eslint/no-unsafe-assignment": "error", "@typescript-eslint/no-unsafe-member-access": "error", "@typescript-eslint/no-unsafe-return": "error", "@typescript-eslint/no-useless-empty-export": "error", "@typescript-eslint/prefer-function-type": "error", "no-array-constructor": "off", "@typescript-eslint/no-array-constructor": "error", "no-throw-literal": "off", "@typescript-eslint/no-throw-literal": "error", "lines-between-class-members": "off", "@typescript-eslint/lines-between-class-members": "error", "object-curly-spacing": "off", "@typescript-eslint/object-curly-spacing": [2, "always"], "padding-line-between-statements": "off", "@typescript-eslint/padding-line-between-statements": [ "error", { "blankLine": "always", "prev": "*", "next": ["type"] } ], "space-before-blocks": "off", "@typescript-eslint/space-before-blocks": ["error", "always"], "@typescript-eslint/type-annotation-spacing": [ "error", { "after": true } ], "import/first": "error", "import/newline-after-import": "error", "import/no-duplicates": "error", "sort-exports/sort-exports": "off", "sort-keys": 0, "sort-keys/sort-keys-fix": "off", "prettier/prettier": 2, "@typescript-eslint/no-unused-vars": "off", "default-case": "off", "default-case-last": "off" } }