diff --git a/README.md b/README.md index 9f079f5aa1..3b5012dcd5 100644 --- a/README.md +++ b/README.md @@ -692,4 +692,4 @@ export default nirtamir2({ [MIT](./LICENSE) License © 2019-PRESENT [Anthony Fu](https://github.com/antfu). -[Nir Tamir](https://github.com/nirtamir2) fork his excellent work and adapt it to his own needs. \ No newline at end of file +[Nir Tamir](https://github.com/nirtamir2) fork his excellent work and adapt it to his own needs. diff --git a/eslint.config.ts b/eslint.config.ts index ba67eadb7f..ed192193de 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,4 +1,3 @@ -// @ts-expect-error missing types import { nirtamir2 } from "./src"; export default nirtamir2( @@ -12,6 +11,22 @@ export default nirtamir2( formatters: true, }, { + rules: { + "tsdoc/syntax": "off", + "jsdoc/require-param-type": "off", + "jsdoc/require-returns": "off", + "jsdoc/require-param-description": "off", + "unicorn/import-style": "off", + "@typescript-eslint/no-explicit-any": "off", + "sonarjs/no-duplicate-string": "off", + "unicorn/no-object-as-default-parameter": "off", + "unicorn/prefer-module": "off", + "github/no-then": "off", + "unicorn/consistent-destructuring": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/init-declarations": "off", + + }, ignores: [ "fixtures", "_fixtures", diff --git a/src/types.ts b/src/types.ts index 17d6a7d100..839f78f492 100644 --- a/src/types.ts +++ b/src/types.ts @@ -372,4 +372,4 @@ export interface OptionsConfig extends OptionsComponentExts { }; } -export { type ConfigNames } from "./typegen"; +export { type ConfigNames } from "./typegen.d.ts";