diff options
Diffstat (limited to 'viewer/.eslintrc.js')
-rw-r--r-- | viewer/.eslintrc.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js index 40d2a11..e1ad89b 100644 --- a/viewer/.eslintrc.js +++ b/viewer/.eslintrc.js | |||
@@ -13,6 +13,7 @@ module.exports = { | |||
13 | rules: { | 13 | rules: { |
14 | "no-console": "off", | 14 | "no-console": "off", |
15 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", | 15 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", |
16 | 'eol-last': ['warn', 'always'], | ||
16 | 'vue/attribute-hyphenation': 'warn', | 17 | 'vue/attribute-hyphenation': 'warn', |
17 | 'vue/html-closing-bracket-spacing': 'warn', | 18 | 'vue/html-closing-bracket-spacing': 'warn', |
18 | 'vue/html-end-tags': 'error', | 19 | 'vue/html-end-tags': 'error', |
@@ -24,7 +25,7 @@ module.exports = { | |||
24 | 'vue/v-bind-style': 'warn', | 25 | 'vue/v-bind-style': 'warn', |
25 | 'vue/v-on-style': 'warn', | 26 | 'vue/v-on-style': 'warn', |
26 | 'vue/attributes-order': 'warn', | 27 | 'vue/attributes-order': 'warn', |
27 | 'vue/this-in-template': 'warn' | 28 | 'vue/this-in-template': 'warn', |
28 | }, | 29 | }, |
29 | 30 | ||
30 | parserOptions: { | 31 | parserOptions: { |