disallow pascalcase
This commit is contained in:
parent
f2c5af4b65
commit
6e08dfaaeb
2
index.js
2
index.js
@ -139,7 +139,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_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }],
|
'id-match': ['error', '^[a-z][a-z0-9_]*$', { 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