mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 15:01:37 +00: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',
|
||||
trailingUnderscore: 'allow',
|
||||
},
|
||||
{
|
||||
selector: 'import',
|
||||
format: ['camelCase', 'PascalCase'],
|
||||
},
|
||||
{
|
||||
selector: 'enumMember',
|
||||
format: ['UPPER_CASE'],
|
||||
|
|
Loading…
Reference in a new issue