diff --git a/.oxlintrc.json b/.oxlintrc.json index e0bae8b..31a9152 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -34,7 +34,9 @@ "no-unused-expressions": "off", "no-empty-file": "off", "import/no-nodejs-modules": "off", - "eslint/no-magic-numbers": "off" + "eslint/no-magic-numbers": "off", + "unicorn/no-null": "off", + "typescript/no-floating-promises": "off" } }, { diff --git a/src/primitive.test.ts b/src/primitive.test.ts index 4ccfc12..7045094 100644 --- a/src/primitive.test.ts +++ b/src/primitive.test.ts @@ -1,4 +1,3 @@ -/* oxlint-disable typescript/no-floating-promises -- expectTypeOf() is a sync type-assertion library that the type-aware linter misidentifies as a promise */ import { strict as assert } from "node:assert"; import path from "node:path"; import { test } from "node:test"; diff --git a/src/util/__tests__/lsp-completion.test.ts b/src/util/__tests__/lsp-completion.test.ts index c02f74e..f632a53 100644 --- a/src/util/__tests__/lsp-completion.test.ts +++ b/src/util/__tests__/lsp-completion.test.ts @@ -1,4 +1,3 @@ -/* oxlint-disable typescript/no-floating-promises -- expectTypeOf() is a sync type-assertion library that the type-aware linter misidentifies as a promise */ import { strict as assert } from "node:assert"; import path from "node:path"; import { test } from "node:test";