Skip to content

Commit e82313b

Browse files
committed
update docusaurus
1 parent 15b1489 commit e82313b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

website/src/pages/index.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -722,22 +722,22 @@ While it's often hard to find the best name, aim to optimize code for consistenc
722722
Camel case
723723
`products`, `productsFiltered`
724724
- **Booleans**
725-
Prefixed with `is`, `has` etc.
726-
`isDisabled`, `hasProduct`
727-
728-
<Rule href="https://typescript-eslint.io/rules/naming-convention" />
729-
730-
```ts
731-
'@typescript-eslint/naming-convention': [
732-
'error',
733-
{
734-
selector: 'variable',
735-
types: ['boolean'],
736-
format: ['PascalCase'],
737-
prefix: ['is', 'should', 'has', 'can', 'did', 'will'],
738-
},
739-
],
740-
```
725+
Prefixed with `is`, `has` etc.
726+
`isDisabled`, `hasProduct`
727+
<!-- prettier-ignore-start -->
728+
<Rule href="https://typescript-eslint.io/rules/naming-convention">
729+
{`'@typescript-eslint/naming-convention': [
730+
'error',
731+
{
732+
selector: 'variable',
733+
types: ['boolean'],
734+
format: ['PascalCase'],
735+
prefix: ['is', 'should', 'has', 'can', 'did', 'will'],
736+
}
737+
]
738+
`}
739+
</Rule>
740+
<!-- prettier-ignore-end -->
741741
742742
- **Constants**
743743
Capitalized

0 commit comments

Comments
 (0)