Skip to content

Commit

Permalink
infra(unicorn): prefer-native-coercion-functions (#2445)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Oct 23, 2023
1 parent c591880 commit b083836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Expand Up @@ -64,7 +64,6 @@ module.exports = defineConfig({
'unicorn/prefer-code-point': 'off',
'unicorn/prefer-export-from': 'off',
'unicorn/prefer-module': 'off',
'unicorn/prefer-native-coercion-functions': 'off',
'unicorn/prefer-negative-index': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-ternary': 'off',
Expand Down
4 changes: 2 additions & 2 deletions scripts/apidoc/typedoc.ts
Expand Up @@ -281,12 +281,12 @@ export function extractSeeAlsos(reflection?: CommentHolder): string[] {
.map((link) => {
link = link.trim();
if (link.startsWith('-')) {
link = link.slice(1).trim();
link = link.slice(1).trimStart();
}

return link;
})
.filter((link) => link)
.filter((link) => link.length > 0)
);
}

Expand Down

0 comments on commit b083836

Please sign in to comment.