diff --git a/.oxlintignore b/.oxlintignore new file mode 100644 index 0000000..457abc1 --- /dev/null +++ b/.oxlintignore @@ -0,0 +1,4 @@ +dist/** +node_modules/** +server +*.js diff --git a/.oxlintrc.json b/.oxlintrc.json new file mode 100644 index 0000000..2cf7c87 --- /dev/null +++ b/.oxlintrc.json @@ -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 + } +}