|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/oxlint/configuration_schema.json", |
| 3 | + "categories": { |
| 4 | + "correctness": "error", |
| 5 | + "style": "error", |
| 6 | + "suspicious": "error" |
| 7 | + }, |
| 8 | + "rules": { |
| 9 | + "array-callback-return": "error", |
| 10 | + "arrow-body-style": "off", |
| 11 | + "eqeqeq": "error", |
| 12 | + "func-style": ["error", "declaration"], |
| 13 | + "id-length": "off", |
| 14 | + "import/extensions": ["error", "always", { "ignorePackages": true }], |
| 15 | + "import/no-amd": "error", |
| 16 | + "import/no-commonjs": "error", |
| 17 | + "import/no-cycle": "error", |
| 18 | + "import/no-default-export": "error", |
| 19 | + "max-statements": "off", |
| 20 | + "no-fallthrough": "error", |
| 21 | + "no-empty": "error", |
| 22 | + "no-iterator": "error", |
| 23 | + "no-magic-numbers": "off", |
| 24 | + "no-new-wrappers": "error", |
| 25 | + "no-proto": "error", |
| 26 | + "no-sequences": "error", |
| 27 | + "no-ternary": "off", |
| 28 | + "no-throw-literal": "error", |
| 29 | + "no-restricted-globals": ["error", "event", "name", "length"], |
| 30 | + "no-var": "error", |
| 31 | + "no-void": "error", |
| 32 | + "oxc/no-accumulating-spread": "error", |
| 33 | + "radix": "error", |
| 34 | + "sort-imports": ["error", { "ignoreDeclarationSort": true }], |
| 35 | + "sort-keys": "off", |
| 36 | + "typescript/no-explicit-any": "error", |
| 37 | + "typescript/no-require-imports": "error", |
| 38 | + "unicorn/filename-case": [ |
| 39 | + "error", |
| 40 | + { "cases": { "camelCase": true, "kebabCase": false, "pascalCase": true, "snakeCase": false } } |
| 41 | + ], |
| 42 | + "unicorn/no-null": "off", |
| 43 | + "unicorn/prefer-array-flat-map": "error", |
| 44 | + "unicorn/prefer-set-has": "error" |
| 45 | + } |
| 46 | +} |
0 commit comments