|
| 1 | +{ |
| 2 | + "$schema": "./node_modules/oxlint/configuration_schema.json", |
| 3 | + "plugins": ["typescript", "unicorn", "oxc"], |
| 4 | + "categories": { |
| 5 | + "correctness": "error" |
| 6 | + }, |
| 7 | + "ignorePatterns": ["packages/cli/src/generated-commands.ts"], |
| 8 | + "rules": { |
| 9 | + "eslint/no-unused-vars": [ |
| 10 | + "error", |
| 11 | + { |
| 12 | + "args": "none", |
| 13 | + "caughtErrors": "none" |
| 14 | + } |
| 15 | + ] |
| 16 | + }, |
| 17 | + "overrides": [ |
| 18 | + { |
| 19 | + "files": ["**/*.raw.js"], |
| 20 | + "rules": { |
| 21 | + "eslint/no-constant-condition": "off", |
| 22 | + "eslint/no-unassigned-vars": "off", |
| 23 | + "eslint/no-unused-expressions": "off", |
| 24 | + "eslint/no-unused-vars": "off", |
| 25 | + "oxc/number-arg-out-of-range": "off", |
| 26 | + "unicorn/no-thenable": "off" |
| 27 | + } |
| 28 | + }, |
| 29 | + { |
| 30 | + "files": [ |
| 31 | + "integrations/marketo/webframe/src/webframe.ts", |
| 32 | + "integrations/runkit/webframe/src/webframe.ts" |
| 33 | + ], |
| 34 | + "rules": { |
| 35 | + "eslint/no-unused-vars": "off" |
| 36 | + } |
| 37 | + }, |
| 38 | + { |
| 39 | + "files": ["scripts/generate-commands.ts"], |
| 40 | + "rules": { |
| 41 | + "eslint/no-useless-escape": "off" |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "files": ["packages/cli/postinstall.js"], |
| 46 | + "rules": { |
| 47 | + "eslint/no-unused-expressions": "off" |
| 48 | + } |
| 49 | + }, |
| 50 | + { |
| 51 | + "files": ["integrations/bucket/src/schema.ts"], |
| 52 | + "rules": { |
| 53 | + "unicorn/no-useless-spread": "off" |
| 54 | + } |
| 55 | + } |
| 56 | + ], |
| 57 | + "env": { |
| 58 | + "builtin": true |
| 59 | + } |
| 60 | +} |
0 commit comments