Skip to content

Commit 4358932

Browse files
committed
update docusaurus
1 parent 7c15bfb commit 4358932

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

website/src/pages/index.mdx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -456,17 +456,9 @@ app.listen(process.env.PORT, () => {...}
456456
### Array Types
457457
458458
<Rule
459-
prefix="Array types must be defined with generic syntax"
459+
prefix="Array types should be defined using generic syntax"
460460
href="https://typescript-eslint.io/rules/array-type/#generic"
461-
>
462-
{`'@typescript-eslint/naming-convention': [
463-
'error',
464-
{
465-
selector: 'typeAlias',
466-
format: ['PascalCase'],
467-
},
468-
]`}
469-
</Rule>
461+
>{`'@typescript-eslint/array-type': ['error', { default: 'generic' }]`}</Rule>
470462
<Note>
471463
As there is no functional difference between 'generic' and 'array' definition, feel free to set the one your team
472464
finds most readable to work with.

0 commit comments

Comments
 (0)