feat: add oxlint configuration

This commit is contained in:
2026-05-28 11:24:27 +02:00
parent 3233894e6a
commit 843b98db5b
2 changed files with 19 additions and 0 deletions

4
.oxlintignore Normal file
View File

@@ -0,0 +1,4 @@
dist/**
node_modules/**
server
*.js

15
.oxlintrc.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "oxc"],
"categories": {
"correctness": "error"
},
"rules": {
"typescript/unbound-method": "off",
"typescript/no-base-to-string": "off",
"typescript/no-floating-promises": "off"
},
"env": {
"builtin": true
}
}