From c20b3cc7d8956b581c4da164e041589b6dcd1eb8 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Wed, 29 Jan 2020 02:38:15 +0100 Subject: viewer: minor dep version update --- viewer/.eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewer/.eslintrc.js') diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js index 996c4f3..40d2a11 100644 --- a/viewer/.eslintrc.js +++ b/viewer/.eslintrc.js @@ -5,7 +5,7 @@ module.exports = { node: true, }, - 'extends': [ + extends: [ 'plugin:vue/essential', '@vue/typescript' ], -- cgit v1.2.3 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 From 113bff3c4dcc1976f24df16d4224e1871e665ae0 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Mon, 27 Apr 2020 22:23:10 +0200 Subject: viewer: tabSize, quote-props, quotes, object-curly-spacing --- viewer/.eslintrc.js | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'viewer/.eslintrc.js') diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js index e1ad89b..113ff6a 100644 --- a/viewer/.eslintrc.js +++ b/viewer/.eslintrc.js @@ -6,30 +6,35 @@ module.exports = { }, extends: [ - 'plugin:vue/essential', - '@vue/typescript' + "plugin:vue/essential", + "@vue/typescript" ], 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', - 'vue/html-quotes': 'warn', - 'vue/html-self-closing': 'off', - 'vue/no-multi-spaces': 'warn', - 'vue/no-spaces-around-equal-signs-in-attribute': 'warn', - 'vue/no-template-shadow': 'error', - 'vue/v-bind-style': 'warn', - 'vue/v-on-style': 'warn', - 'vue/attributes-order': 'warn', - 'vue/this-in-template': 'warn', + "eol-last": ["warn", "always"], + "object-curly-spacing": ["warn", "always"], + "indent": ["warn", 2, { "SwitchCase": 1 }], + "quote-props": ["warn", "as-needed"], + "quotes": ["warn", "double"], + "vue/attribute-hyphenation": "warn", + "vue/html-closing-bracket-spacing": "warn", + "vue/html-end-tags": "error", + "vue/html-quotes": "warn", + "vue/html-self-closing": "off", + "vue/no-multi-spaces": "warn", + "vue/no-spaces-around-equal-signs-in-attribute": "warn", + "vue/no-template-shadow": "error", + "vue/v-bind-style": "warn", + "vue/v-on-style": "warn", + "vue/attributes-order": "warn", + "vue/this-in-template": "warn", }, parserOptions: { - parser: '@typescript-eslint/parser', + sourceType: "module", + parser: "@typescript-eslint/parser", }, }; -- cgit v1.2.3 From ccecfd9421f4550a71134cd46e1388e486f8c564 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Tue, 28 Apr 2020 03:47:39 +0200 Subject: viewer: global formatting unification --- viewer/.eslintrc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'viewer/.eslintrc.js') diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js index 113ff6a..a67de5e 100644 --- a/viewer/.eslintrc.js +++ b/viewer/.eslintrc.js @@ -15,9 +15,9 @@ module.exports = { "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", "eol-last": ["warn", "always"], "object-curly-spacing": ["warn", "always"], - "indent": ["warn", 2, { "SwitchCase": 1 }], "quote-props": ["warn", "as-needed"], - "quotes": ["warn", "double"], + indent: ["warn", 2, { SwitchCase: 1 }], + quotes: ["warn", "double"], "vue/attribute-hyphenation": "warn", "vue/html-closing-bracket-spacing": "warn", "vue/html-end-tags": "error", -- cgit v1.2.3