Closed mpellegrini closed 3 months ago
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'default',
format: ['camelCase', 'PascalCase'],
leadingUnderscore: 'allow',
trailingUnderscore: 'allow',
},
{ selector: 'class', format: ['PascalCase'] },
{ selector: 'typeAlias', format: ['PascalCase'] },
{ selector: 'property', format: null },
{
selector: 'variableLike',
format: ['camelCase', 'PascalCase', 'UPPER_CASE'], // React component のため
leadingUnderscore: 'allow',
trailingUnderscore: 'allow',
},
],
https://typescript-eslint.io/rules/no-empty-object-type/ is already enabled in the recommended setting
Not going to implement the tailwindcss plugin
moved https://typescript-eslint.io/rules/naming-convention/ to separate ticket. Which completed everything in this ticket.
Add the following rules to the base typescript esling-config