fix
This commit is contained in:
parent
f9d3314050
commit
41b3af0c3b
3
index.js
3
index.js
@ -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 }],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user