From dc462060f85dad84a2320be0c52cbd8112b43f2f Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sun, 26 Apr 2020 20:20:40 +0200 Subject: [PATCH] allow id-match for pascalcase --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index be80d48..c1cb8db 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,7 @@ module.exports = { }, rules: { - 'vue/prop-name-casing': ['error', 'snake_case'] + 'vue/prop-name-casing': ['error', 'snake_case'], + 'id-match': ["error", "(^[a-z][a-z0-9_]*$|^[A-Z][a-zA-Z]+$)"] } }