Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nirtamir2 committed Jun 8, 2024
1 parent 37e38c5 commit 4c3a787
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
[Nir Tamir](https://github.com/nirtamir2) fork his excellent work and adapt it to his own needs.
17 changes: 16 additions & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-expect-error missing types
import { nirtamir2 } from "./src";

export default nirtamir2(
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,4 @@ export interface OptionsConfig extends OptionsComponentExts {
};
}

export { type ConfigNames } from "./typegen";
export { type ConfigNames } from "./typegen.d.ts";

0 comments on commit 4c3a787

Please sign in to comment.