summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-01-09 15:59:59 +0100
committerJulius Härtl <jus@bitgrid.net>2019-01-09 15:59:59 +0100
commitd5f8ac27c99e154b38274653fe8076ddac1f7c01 (patch)
tree49038c0e6e9de6bed90afe32b70452d4e63162ea /.eslintrc.js
parent2de02ea3312967e5336a77942080d352b869f755 (diff)
Adjust eslint rules
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index e0350098..060255fa 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -51,9 +51,14 @@ module.exports = {
'node/no-unpublished-require': ['off'],
'node/no-unsupported-features/es-syntax': ['off'],
// kebab case components for vuejs
- 'vue/component-name-in-template-casing': ['error', 'kebab-case'],
+ 'vue/component-name-in-template-casing': ['error', 'kebab-case'],
// space before self-closing elements
'vue/html-closing-bracket-spacing': 'error',
+ // newline before closing bracket
+ 'vue/html-closing-bracket-newline': ["error", {
+ "singleline": "never",
+ "multiline": "never"
+ }],
// code spacing with attributes
'vue/max-attributes-per-line': [
'error',