From c4e922a39606f20a26f7ec587739a7afb51ca657 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Wed, 4 Mar 2020 14:02:55 +0100 Subject: [PATCH] allow PascalCase for vue --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9008b0e..af96689 100644 --- a/index.js +++ b/index.js @@ -144,7 +144,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',