Skip to content

Commit 137bf11

Browse files
authored
Allow 'camelCase', 'UPPER_CASE', 'PascalCase', 'snake_case' formats for variables and parameters (#85)
1 parent 3a2b6dc commit 137bf11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ module.exports = {
4141
},
4242
{
4343
selector: 'variable',
44-
format: ['camelCase', 'UPPER_CASE'],
44+
format: ['camelCase', 'UPPER_CASE', 'PascalCase', 'snake_case'],
4545
},
4646
{
4747
selector: 'parameter',
48-
format: ['camelCase'],
48+
format: ['camelCase', 'UPPER_CASE', 'PascalCase', 'snake_case'],
4949
leadingUnderscore: 'allow',
5050
},
5151
{

0 commit comments

Comments
 (0)