From 843b98db5b522c6a7f525a332781a8dd850c18bb Mon Sep 17 00:00:00 2001 From: mkelvers Date: Thu, 28 May 2026 11:24:27 +0200 Subject: [PATCH] feat: add oxlint configuration --- .oxlintignore | 4 ++++ .oxlintrc.json | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .oxlintignore create mode 100644 .oxlintrc.json 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 + } +}