diff --git a/src/oxlint/README.md b/src/oxlint/README.md index 48f0a67..db37b00 100644 --- a/src/oxlint/README.md +++ b/src/oxlint/README.md @@ -1308,6 +1308,8 @@ These settings apply to all lintable files except test files when `vitest` is se { "allowConstructorOnly": false, "allowEmpty": false, "allowStaticOnly": false, "allowWithDecorator": false } ``` +#### [🛑 typescript/no-generated-empty-object-type](https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-generated-empty-object-type) + #### [🛑 typescript/no-unnecessary-boolean-literal-compare](https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-boolean-literal-compare) ##### Settings diff --git a/src/oxlint/rules/typescript.ts b/src/oxlint/rules/typescript.ts index a67e16f..17bb41f 100644 --- a/src/oxlint/rules/typescript.ts +++ b/src/oxlint/rules/typescript.ts @@ -37,6 +37,9 @@ const typescript: OxlintRuleGroup = { { allowConstructorOnly: false, allowEmpty: false, allowStaticOnly: false, allowWithDecorator: false }, ], }, + "typescript/no-generated-empty-object-type": { + settings: "error", + }, "typescript/no-unnecessary-boolean-literal-compare": { settings: ["error", { allowComparingNullableBooleansToFalse: true, allowComparingNullableBooleansToTrue: true }], },