fix
This commit is contained in:
parent
79e1379d4e
commit
53bb7c5046
2
index.js
2
index.js
@ -31,6 +31,8 @@ module.exports = {
|
||||
'@typescript-eslint/naming-convention': ['error',
|
||||
{ selector: 'default', format: ['snake_case'] },
|
||||
{ selector: 'memberLike', modifiers: ['private'], format: ['snake_case'], leadingUnderscore: 'require' },
|
||||
{ selector: 'method', format: ['snake_case'], leadingUnderscore: 'forbid' },
|
||||
{ selector: 'function', format: ['snake_case'], leadingUnderscore: 'forbid' },
|
||||
{ selector: 'typeLike', format: ['PascalCase'] }
|
||||
],
|
||||
'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }]
|
||||
|
Loading…
x
Reference in New Issue
Block a user