From f3eae972a596f1c711995afedce5c5f1620b5f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Thu, 27 Nov 2025 12:07:31 +0100 Subject: [PATCH] fix: update .oxlintrc.json --- .oxlintrc.json | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 18df311..9fb366d 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -126,7 +126,7 @@ ], "no-regex-spaces": "error", "no-shadow-restricted-names": "error", - "no-throw-literal": "error", + "no-throw-literal": "off", "no-unused-expressions": [ "error", { @@ -282,8 +282,7 @@ "builtinGlobals": false } ], - "no-throw-literal": "off", - "@typescript-eslint/only-throw-error": "error", + "@typescript-eslint/only-throw-error": "off", "no-unused-expressions": [ "error", { @@ -313,6 +312,7 @@ ], "@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-dynamic-delete": "off", + "@typescript-eslint/no-deprecated": "off", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", "@typescript-eslint/no-extraneous-class": [ @@ -351,6 +351,7 @@ "@typescript-eslint/no-array-delete": "error", "@typescript-eslint/prefer-as-const": "error", "@typescript-eslint/prefer-function-type": "error", + "@typescript-eslint/prefer-includes": "error", "@typescript-eslint/prefer-reduce-type-parameter": "error", "@typescript-eslint/prefer-return-this-type": "error", "@typescript-eslint/promise-function-async": "error", @@ -373,6 +374,18 @@ { "allowNumber": true } + ], + "@typescript-eslint/strict-boolean-expressions": [ + "error", + { + "allowString": false, + "allowNumber": false, + "allowNullableObject": false, + "allowNullableBoolean": false, + "allowNullableString": false, + "allowNullableNumber": false, + "allowAny": false + } ] }, "plugins": ["typescript"]