aboutsummaryrefslogtreecommitdiff
path: root/viewer/.eslintrc.js
diff options
context:
space:
mode:
authorZero~Informatique2020-02-12 21:25:07 +0100
committerNotkea2020-02-12 21:44:51 +0100
commitaf4660b4c4fea455dfffbf2d966bae425ed6effb (patch)
treed0767971137faa81380a50661c47b848b10ccc5b /viewer/.eslintrc.js
parentd2b06df90fd1e8f6b89c49704150de45aee92b51 (diff)
downloadldgallery-af4660b4c4fea455dfffbf2d966bae425ed6effb.tar.gz
viewer: project configuration - eof-last enforced
Diffstat (limited to 'viewer/.eslintrc.js')
-rw-r--r--viewer/.eslintrc.js3
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: {