diff --git a/index.js b/index.js index 83a24f4..4a73aa0 100644 --- a/index.js +++ b/index.js @@ -127,7 +127,7 @@ module.exports = { 'block-spacing': ['error', 'always'], 'brace-style': ['error', 'stroustrup', { allowSingleLine: true }], 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-spacing': 'error', 'comma-style': 'error',