diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 18:32:57 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:05 +0100 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /.eslintrc.js | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) | |
download | nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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'], + }], }, } |