lint
This commit is contained in:
parent
41b3af0c3b
commit
79e1379d4e
2
index.js
2
index.js
@ -33,6 +33,6 @@ module.exports = {
|
|||||||
{ 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 }],
|
'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user