allow id-match for pascalcase

This commit is contained in:
Timo Hocker 2020-04-26 20:20:40 +02:00
parent 103f4066a5
commit dc462060f8

View File

@ -26,6 +26,7 @@ module.exports = {
}, },
rules: { 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]+$)"]
} }
} }