|
1 | 1 | { |
2 | | - "extends": "oclif" |
| 2 | + "env": { |
| 3 | + "node": true, |
| 4 | + "es2021": true |
| 5 | + }, |
| 6 | + "parser": "@typescript-eslint/parser", |
| 7 | + "parserOptions": { |
| 8 | + "project": "tsconfig.json", |
| 9 | + "sourceType": "module" |
| 10 | + }, |
| 11 | + "plugins": [ |
| 12 | + "@typescript-eslint" |
| 13 | + ], |
| 14 | + "extends": [ |
| 15 | + "plugin:@typescript-eslint/recommended", |
| 16 | + "plugin:@typescript-eslint/recommended-requiring-type-checking" |
| 17 | + ], |
| 18 | + "ignorePatterns": [ |
| 19 | + "lib/**/*", |
| 20 | + "test/**/*", |
| 21 | + "node_modules/**/*", |
| 22 | + "*.js" |
| 23 | + ], |
| 24 | + "rules": { |
| 25 | + "@typescript-eslint/no-unused-vars": [ |
| 26 | + "error", |
| 27 | + { |
| 28 | + "args": "none", |
| 29 | + "argsIgnorePattern": "^_", |
| 30 | + "varsIgnorePattern": "^_" |
| 31 | + } |
| 32 | + ], |
| 33 | + "@typescript-eslint/prefer-namespace-keyword": "error", |
| 34 | + "@typescript-eslint/no-floating-promises": "error", |
| 35 | + "@typescript-eslint/no-misused-promises": "error", |
| 36 | + "@typescript-eslint/await-thenable": "error", |
| 37 | + "quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }], |
| 38 | + "semi": "off", |
| 39 | + "@typescript-eslint/no-redeclare": "off", |
| 40 | + "eqeqeq": ["error", "smart"], |
| 41 | + "id-match": "error", |
| 42 | + "no-eval": "error", |
| 43 | + "no-var": "error", |
| 44 | + "@typescript-eslint/no-explicit-any": "warn", |
| 45 | + "@typescript-eslint/no-require-imports": "off", |
| 46 | + "prefer-const": "error", |
| 47 | + "@typescript-eslint/no-unsafe-call": "off", |
| 48 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 49 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 50 | + "@typescript-eslint/no-unsafe-return": "off", |
| 51 | + "@typescript-eslint/no-unsafe-argument": "off", |
| 52 | + "@typescript-eslint/require-await": "off" |
| 53 | + } |
3 | 54 | } |
0 commit comments