{ "ignorePatterns": ["config/**/*.js", "locales/**"], "env": { "node": true, "es2021": true }, "extends": [ "eslint:recommended", "prettier", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": "latest", "sourceType": "module", "project": "./tsconfig.json" }, "plugins": ["@typescript-eslint"], "rules": { "prettier/prettier": "error", "indent": ["error", 4, { "SwitchCase": 1 }], "max-len": [ "error", { "code": 120, "ignoreTemplateLiterals": true, "ignoreStrings": true, "ignoreComments": true, "ignoreRegExpLiterals": true, "ignoreUrls": true } ], "linebreak-style": ["error", "windows"], "quotes": ["error", "single", { "avoidEscape": true }], "semi": ["error", "always"], "camelcase": "error", "array-bracket-spacing": ["error", "never"], "object-curly-spacing": ["error", "always"], "jsx-quotes": ["error", "prefer-single"], "key-spacing": [ "error", { "afterColon": true, "mode": "minimum" } ], "no-trailing-spaces": [ "error", { "skipBlankLines": true, "ignoreComments": true } ], "curly": ["error", "all"], "no-console": ["error"], "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/consistent-type-definitions": ["error", "type"] } }