|
| 1 | +{ |
| 2 | + "parser": "@typescript-eslint/parser", |
| 3 | + "parserOptions": { |
| 4 | + "project": "tsconfig.json", |
| 5 | + "sourceType": "module" |
| 6 | + }, |
| 7 | + "plugins": [ |
| 8 | + "tsc", |
| 9 | + "import", |
| 10 | + "unicorn", |
| 11 | + "promise", |
| 12 | + "eslint-comments", |
| 13 | + "@typescript-eslint" |
| 14 | + ], |
| 15 | + "extends": [ |
| 16 | + "eslint:recommended", |
| 17 | + "airbnb-typescript/base", |
| 18 | + "plugin:promise/recommended", |
| 19 | + "plugin:unicorn/recommended", |
| 20 | + "plugin:eslint-comments/recommended", |
| 21 | + "plugin:@typescript-eslint/recommended", |
| 22 | + "plugin:@typescript-eslint/eslint-recommended", |
| 23 | + "plugin:@typescript-eslint/recommended-requiring-type-checking" |
| 24 | + ], |
| 25 | + "settings": { |
| 26 | + "import/parsers": { |
| 27 | + "@typescript-eslint/parser": [ |
| 28 | + ".ts" |
| 29 | + ] |
| 30 | + }, |
| 31 | + "import/resolver": { |
| 32 | + "typescript": { |
| 33 | + "alwaysTryTypes": true |
| 34 | + } |
| 35 | + } |
| 36 | + }, |
| 37 | + "root": true, |
| 38 | + "env": { |
| 39 | + "node": true |
| 40 | + }, |
| 41 | + "ignorePatterns": [ |
| 42 | + "dist/**/*" |
| 43 | + ], |
| 44 | + "rules": { |
| 45 | + "max-len": [ |
| 46 | + "error", |
| 47 | + 120 |
| 48 | + ], |
| 49 | + "import/no-unresolved": "error", |
| 50 | + "import/prefer-default-export": "off", |
| 51 | + "import/no-extraneous-dependencies": "off", |
| 52 | + "unicorn/no-null": "off", |
| 53 | + "unicorn/no-reduce": "off", |
| 54 | + "unicorn/import-style": "off", |
| 55 | + "unicorn/prefer-module": "off", |
| 56 | + "unicorn/no-array-reduce": "off", |
| 57 | + "unicorn/no-process-exit": "off", |
| 58 | + "unicorn/no-array-for-each": "off", |
| 59 | + "unicorn/prefer-node-protocol": "off", |
| 60 | + "unicorn/explicit-length-check": "off", |
| 61 | + "unicorn/prevent-abbreviations": "off", |
| 62 | + "@typescript-eslint/no-unsafe-call": "off", |
| 63 | + "@typescript-eslint/no-floating-promises": "off", |
| 64 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 65 | + "@typescript-eslint/interface-name-prefix": "off", |
| 66 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 67 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 68 | + "@typescript-eslint/explicit-function-return-type": "off", |
| 69 | + "@typescript-eslint/explicit-module-boundary-types": "off" |
| 70 | + } |
| 71 | +} |
0 commit comments