This commit is contained in:
Timo Hocker 2020-04-08 11:44:45 +02:00
parent f9d3314050
commit 41b3af0c3b

View File

@ -32,6 +32,7 @@ module.exports = {
{ selector: 'default', format: ['snake_case'] }, { selector: 'default', format: ['snake_case'] },
{ selector: 'memberLike', modifiers: ['private'], format: ['snake_case'], leadingUnderscore: 'require' }, { selector: 'memberLike', modifiers: ['private'], format: ['snake_case'], leadingUnderscore: 'require' },
{ selector: 'typeLike', format: ['PascalCase'] } { selector: 'typeLike', format: ['PascalCase'] }
] ],
'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }],
} }
} }