|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/oxlint/configuration_schema.json", |
| 3 | + "ignorePatterns": [ |
| 4 | + "dist/**" |
| 5 | + ], |
| 6 | + "rules": { |
| 7 | + "typescript/await-thenable": "error", |
| 8 | + "typescript/consistent-return": "error", |
| 9 | + "typescript/consistent-type-exports": "error", |
| 10 | + "typescript/dot-notation": "error", |
| 11 | + "typescript/no-array-delete": "error", |
| 12 | + "typescript/no-base-to-string": "error", |
| 13 | + "typescript/no-confusing-void-expression": "error", |
| 14 | + "typescript/no-deprecated": "error", |
| 15 | + "typescript/no-duplicate-type-constituents": "error", |
| 16 | + "typescript/no-floating-promises": "error", |
| 17 | + "typescript/no-for-in-array": "error", |
| 18 | + "typescript/no-implied-eval": "error", |
| 19 | + "typescript/no-meaningless-void-operator": "error", |
| 20 | + "typescript/no-misused-promises": "error", |
| 21 | + "typescript/no-misused-spread": "error", |
| 22 | + "typescript/no-mixed-enums": "error", |
| 23 | + "typescript/no-redundant-type-constituents": "error", |
| 24 | + "typescript/no-unnecessary-boolean-literal-compare": "error", |
| 25 | + "typescript/no-unnecessary-condition": "error", |
| 26 | + "typescript/no-unnecessary-qualifier": "error", |
| 27 | + "typescript/no-unnecessary-template-expression": "error", |
| 28 | + "typescript/no-unnecessary-type-arguments": "error", |
| 29 | + "typescript/no-unnecessary-type-assertion": "error", |
| 30 | + "typescript/no-unnecessary-type-conversion": "error", |
| 31 | + "typescript/no-unnecessary-type-parameters": "error", |
| 32 | + "typescript/no-unsafe-argument": "error", |
| 33 | + "typescript/no-unsafe-assignment": "error", |
| 34 | + "typescript/no-unsafe-call": "error", |
| 35 | + "typescript/no-unsafe-enum-comparison": "error", |
| 36 | + "typescript/no-unsafe-member-access": "error", |
| 37 | + "typescript/no-unsafe-return": "error", |
| 38 | + "typescript/no-unsafe-type-assertion": "error", |
| 39 | + "typescript/no-unsafe-unary-minus": "error", |
| 40 | + "typescript/no-useless-default-assignment": "error", |
| 41 | + "typescript/non-nullable-type-assertion-style": "error", |
| 42 | + "typescript/only-throw-error": "error", |
| 43 | + "typescript/prefer-find": "error", |
| 44 | + "typescript/prefer-includes": "error", |
| 45 | + "typescript/prefer-nullish-coalescing": "error", |
| 46 | + "typescript/prefer-optional-chain": "error", |
| 47 | + "typescript/prefer-promise-reject-errors": "error", |
| 48 | + "typescript/prefer-readonly-parameter-types": "error", |
| 49 | + "typescript/prefer-readonly": "error", |
| 50 | + "typescript/prefer-reduce-type-parameter": "error", |
| 51 | + "typescript/prefer-regexp-exec": "error", |
| 52 | + "typescript/prefer-return-this-type": "error", |
| 53 | + "typescript/prefer-string-starts-ends-with": "error", |
| 54 | + "typescript/promise-function-async": "error", |
| 55 | + "typescript/related-getter-setter-pairs": "error", |
| 56 | + "typescript/require-array-sort-compare": "error", |
| 57 | + "typescript/require-await": "error", |
| 58 | + "typescript/restrict-plus-operands": "error", |
| 59 | + "typescript/restrict-template-expressions": "error", |
| 60 | + "typescript/return-await": "error", |
| 61 | + "typescript/strict-boolean-expressions": "error", |
| 62 | + "typescript/strict-void-return": "error", |
| 63 | + "typescript/switch-exhaustiveness-check": "error", |
| 64 | + "typescript/unbound-method": "error", |
| 65 | + "typescript/use-unknown-in-catch-callback-variable": "error" |
| 66 | + } |
| 67 | +} |
0 commit comments