Skip to content

Commit

Permalink
infra(typescript-eslint): consistent-type-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Mar 4, 2024
1 parent c52ec8a commit ab9e89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module.exports = defineConfig({
'error',
{ default: 'array-simple', readonly: 'generic' },
],
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'error',
'@typescript-eslint/naming-convention': [
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/apidoc/signature.example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { AlphaNumericChar } from '../../../src/modules/string';
import type { LiteralUnion } from '../../../src/utils/types';
// explicitly export types so they show up in the docs as decomposed types
export type { NumberColorFormat, StringColorFormat } from '../../../src';
export { AlphaNumericChar, Casing, ColorFormat, LiteralUnion };
export type { AlphaNumericChar, Casing, ColorFormat, LiteralUnion };

/**
* Parameter options type with default from signature.
Expand Down

0 comments on commit ab9e89e

Please sign in to comment.