allow numbers in id
This commit is contained in:
parent
50ad07a41e
commit
3b6d8355e9
2
index.js
2
index.js
@ -144,7 +144,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-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