diff --git a/.oxlintrc.json b/.oxlintrc.json deleted file mode 100644 index 76d5208..0000000 --- a/.oxlintrc.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "./node_modules/oxlint/configuration_schema.json", - "plugins": ["typescript", "unicorn", "oxc"], - "categories": { - "correctness": "error", - "suspicious": "warn", - "pedantic": "warn" - }, - "rules": { - "eslint/max-lines": "off", - "eslint/max-lines-per-function": "off" - }, - "env": { - "builtin": true - }, - "ignorePatterns": ["dist/"] -} diff --git a/oxlint.config.ts b/oxlint.config.ts new file mode 100644 index 0000000..272f84a --- /dev/null +++ b/oxlint.config.ts @@ -0,0 +1,18 @@ +import { defineConfig } from 'oxlint'; + +export default defineConfig({ + plugins: ['typescript', 'unicorn', 'oxc'], + categories: { + correctness: 'error', + suspicious: 'warn', + pedantic: 'warn', + }, + rules: { + 'eslint/max-lines': 'off', + 'eslint/max-lines-per-function': 'off', + }, + env: { + builtin: true, + }, + ignorePatterns: ['dist/'], +});