allow pascal case
This commit is contained in:
parent
9bec7c84a1
commit
4d669789c0
2
index.js
2
index.js
@ -127,7 +127,7 @@ module.exports = {
|
|||||||
'block-spacing': ['error', 'always'],
|
'block-spacing': ['error', 'always'],
|
||||||
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
|
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
|
||||||
camelcase: 'off',
|
camelcase: 'off',
|
||||||
'id-match': ['error', '^[a-z][a-z0-9_]*$', { onlyDeclarations: true }],
|
'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]+)$', { onlyDeclarations: true }],
|
||||||
'comma-dangle': ['error', 'never'],
|
'comma-dangle': ['error', 'never'],
|
||||||
'comma-spacing': 'error',
|
'comma-spacing': 'error',
|
||||||
'comma-style': 'error',
|
'comma-style': 'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user