|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/oxlint/configuration_schema.json", |
| 3 | + "plugins": ["unicorn", "typescript", "oxc"], |
| 4 | + "categories": {}, |
| 5 | + "rules": { |
| 6 | + "for-direction": "warn", |
| 7 | + "no-async-promise-executor": "warn", |
| 8 | + "no-caller": "warn", |
| 9 | + "no-class-assign": "warn", |
| 10 | + "no-compare-neg-zero": "warn", |
| 11 | + "no-cond-assign": "warn", |
| 12 | + "no-const-assign": "warn", |
| 13 | + "no-constant-binary-expression": "warn", |
| 14 | + "no-constant-condition": "warn", |
| 15 | + "no-control-regex": "warn", |
| 16 | + "no-debugger": "warn", |
| 17 | + "no-delete-var": "warn", |
| 18 | + "no-dupe-class-members": "warn", |
| 19 | + "no-dupe-else-if": "warn", |
| 20 | + "no-dupe-keys": "warn", |
| 21 | + "no-duplicate-case": "warn", |
| 22 | + "no-empty-character-class": "warn", |
| 23 | + "no-empty-pattern": "warn", |
| 24 | + "no-empty-static-block": "warn", |
| 25 | + "no-eval": "warn", |
| 26 | + "no-ex-assign": "warn", |
| 27 | + "no-extra-boolean-cast": "warn", |
| 28 | + "no-func-assign": "warn", |
| 29 | + "no-global-assign": "warn", |
| 30 | + "no-import-assign": "warn", |
| 31 | + "no-invalid-regexp": "warn", |
| 32 | + "no-irregular-whitespace": "warn", |
| 33 | + "no-loss-of-precision": "warn", |
| 34 | + "no-new-native-nonconstructor": "warn", |
| 35 | + "no-nonoctal-decimal-escape": "warn", |
| 36 | + "no-obj-calls": "warn", |
| 37 | + "no-self-assign": "warn", |
| 38 | + "no-setter-return": "warn", |
| 39 | + "no-shadow-restricted-names": "warn", |
| 40 | + "no-sparse-arrays": "warn", |
| 41 | + "no-this-before-super": "warn", |
| 42 | + "no-unassigned-vars": "warn", |
| 43 | + "no-unsafe-finally": "warn", |
| 44 | + "no-unsafe-negation": "warn", |
| 45 | + "no-unsafe-optional-chaining": "warn", |
| 46 | + "no-unused-expressions": "warn", |
| 47 | + "no-unused-labels": "warn", |
| 48 | + "no-unused-private-class-members": "warn", |
| 49 | + "no-unused-vars": "error", |
| 50 | + "no-useless-backreference": "warn", |
| 51 | + "no-useless-catch": "warn", |
| 52 | + "no-useless-escape": "warn", |
| 53 | + "no-useless-rename": "warn", |
| 54 | + "no-with": "warn", |
| 55 | + "require-yield": "warn", |
| 56 | + "use-isnan": "warn", |
| 57 | + "valid-typeof": "warn", |
| 58 | + "oxc/bad-array-method-on-arguments": "warn", |
| 59 | + "oxc/bad-char-at-comparison": "warn", |
| 60 | + "oxc/bad-comparison-sequence": "warn", |
| 61 | + "oxc/bad-min-max-func": "warn", |
| 62 | + "oxc/bad-object-literal-comparison": "warn", |
| 63 | + "oxc/bad-replace-all-arg": "warn", |
| 64 | + "oxc/const-comparisons": "warn", |
| 65 | + "oxc/double-comparisons": "warn", |
| 66 | + "oxc/erasing-op": "warn", |
| 67 | + "oxc/missing-throw": "warn", |
| 68 | + "oxc/number-arg-out-of-range": "warn", |
| 69 | + "oxc/only-used-in-recursion": "warn", |
| 70 | + "oxc/uninvoked-array-callback": "warn", |
| 71 | + "typescript/await-thenable": "warn", |
| 72 | + "typescript/no-array-delete": "warn", |
| 73 | + "typescript/no-base-to-string": "warn", |
| 74 | + "typescript/no-duplicate-enum-values": "warn", |
| 75 | + "typescript/no-duplicate-type-constituents": "warn", |
| 76 | + "typescript/no-extra-non-null-assertion": "warn", |
| 77 | + "typescript/no-floating-promises": "warn", |
| 78 | + "typescript/no-for-in-array": "warn", |
| 79 | + "typescript/no-implied-eval": "warn", |
| 80 | + "typescript/no-meaningless-void-operator": "warn", |
| 81 | + "typescript/no-misused-new": "warn", |
| 82 | + "typescript/no-misused-spread": "warn", |
| 83 | + "typescript/no-non-null-asserted-optional-chain": "warn", |
| 84 | + "typescript/no-redundant-type-constituents": "warn", |
| 85 | + "typescript/no-this-alias": "warn", |
| 86 | + "typescript/no-unnecessary-parameter-property-assignment": "warn", |
| 87 | + "typescript/no-unsafe-declaration-merging": "warn", |
| 88 | + "typescript/no-unsafe-unary-minus": "warn", |
| 89 | + "typescript/no-useless-empty-export": "warn", |
| 90 | + "typescript/no-wrapper-object-types": "warn", |
| 91 | + "typescript/prefer-as-const": "warn", |
| 92 | + "typescript/require-array-sort-compare": "warn", |
| 93 | + "typescript/restrict-template-expressions": "warn", |
| 94 | + "typescript/triple-slash-reference": "warn", |
| 95 | + "typescript/unbound-method": "warn", |
| 96 | + "unicorn/no-await-in-promise-methods": "warn", |
| 97 | + "unicorn/no-empty-file": "warn", |
| 98 | + "unicorn/no-invalid-fetch-options": "warn", |
| 99 | + "unicorn/no-invalid-remove-event-listener": "warn", |
| 100 | + "unicorn/no-new-array": "warn", |
| 101 | + "unicorn/no-single-promise-in-promise-methods": "warn", |
| 102 | + "unicorn/no-thenable": "warn", |
| 103 | + "unicorn/no-unnecessary-await": "warn", |
| 104 | + "unicorn/no-useless-fallback-in-spread": "warn", |
| 105 | + "unicorn/no-useless-length-check": "warn", |
| 106 | + "unicorn/no-useless-spread": "warn", |
| 107 | + "unicorn/prefer-set-size": "warn", |
| 108 | + "unicorn/prefer-string-starts-ends-with": "warn" |
| 109 | + }, |
| 110 | + "settings": { |
| 111 | + "jsx-a11y": { |
| 112 | + "polymorphicPropName": null, |
| 113 | + "components": {}, |
| 114 | + "attributes": {} |
| 115 | + }, |
| 116 | + "next": { |
| 117 | + "rootDir": [] |
| 118 | + }, |
| 119 | + "react": { |
| 120 | + "formComponents": [], |
| 121 | + "linkComponents": [] |
| 122 | + }, |
| 123 | + "jsdoc": { |
| 124 | + "ignorePrivate": false, |
| 125 | + "ignoreInternal": false, |
| 126 | + "ignoreReplacesDocs": true, |
| 127 | + "overrideReplacesDocs": true, |
| 128 | + "augmentsExtendsReplacesDocs": false, |
| 129 | + "implementsReplacesDocs": false, |
| 130 | + "exemptDestructuredRootsFromChecks": false, |
| 131 | + "tagNamePreference": {} |
| 132 | + } |
| 133 | + }, |
| 134 | + "env": { |
| 135 | + "builtin": true |
| 136 | + }, |
| 137 | + "globals": {}, |
| 138 | + "ignorePatterns": [] |
| 139 | +} |
0 commit comments