mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
chore(eslint): allow PascalCase for imports
Applies https://github.com/typescript-eslint/typescript-eslint/pull/7841 to our config Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
e1e8a24d60
commit
422b28fe55
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ module.exports = {
|
||||||
leadingUnderscore: 'allow',
|
leadingUnderscore: 'allow',
|
||||||
trailingUnderscore: 'allow',
|
trailingUnderscore: 'allow',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
selector: 'import',
|
||||||
|
format: ['camelCase', 'PascalCase'],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
selector: 'enumMember',
|
selector: 'enumMember',
|
||||||
format: ['UPPER_CASE'],
|
format: ['UPPER_CASE'],
|
||||||
|
|
Loading…
Reference in a new issue