diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index deae31d24c3..4a47bcb5717 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,5 +16,9 @@ module.exports = { // TODO: make sure we fix this as this is bad vue coding style. // Use proper sync modifier 'vue/no-mutating-props': 'warn', + 'vue/custom-event-name-casing': ['error', 'kebab-case', { + // allows custom xxxx:xxx events formats + ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'], + }], }, } |