From af4660b4c4fea455dfffbf2d966bae425ed6effb Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 12 Feb 2020 21:25:07 +0100 Subject: viewer: project configuration - eof-last enforced --- viewer/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'viewer/.eslintrc.js') 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 = { rules: { "no-console": "off", "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", + 'eol-last': ['warn', 'always'], 'vue/attribute-hyphenation': 'warn', 'vue/html-closing-bracket-spacing': 'warn', 'vue/html-end-tags': 'error', @@ -24,7 +25,7 @@ module.exports = { 'vue/v-bind-style': 'warn', 'vue/v-on-style': 'warn', 'vue/attributes-order': 'warn', - 'vue/this-in-template': 'warn' + 'vue/this-in-template': 'warn', }, parserOptions: { -- cgit v1.2.3