From 42e9b47159cb95a9152e7ea66fe26abce5beeb9e Mon Sep 17 00:00:00 2001 From: Devlin Junker Date: Thu, 30 Jun 2022 21:28:56 -0700 Subject: change linting rule from spaces to tabs to match typical vue linting also clean up all lint warnings in js+vue files Signed-off-by: Devlin Junker --- .eslintrc.js | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js index 1e9e7379f..3290cc73f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,26 +1,22 @@ module.exports = { - root: true, - parser: 'vue-eslint-parser', - parserOptions: { - parser: { - ts: '@typescript-eslint/parser', - }, - ecmaVersion: 2020, - }, - extends: [ - 'eslint:recommended', - 'plugin:vue/base', - 'plugin:vue/essential', - '@vue/standard', - '@vue/typescript/recommended', - '@nextcloud', - ], - ignorePatterns: ['*.d.ts'], - rules: { - 'node/no-unpublished-import': 'off', // necessary for vue-property-decorator (not published?) - - // TODO: remove these indentation rules during reformat (expects tab char \t but right now code base uses spaces) - 'vue/html-indent': 'off', - indent: ['error', 4], - }, + root: true, + parser: 'vue-eslint-parser', + parserOptions: { + parser: { + ts: '@typescript-eslint/parser', + }, + ecmaVersion: 2020, + }, + extends: [ + 'eslint:recommended', + 'plugin:vue/base', + 'plugin:vue/essential', + '@vue/standard', + '@vue/typescript/recommended', + '@nextcloud', + ], + ignorePatterns: ['*.d.ts'], + rules: { + 'node/no-unpublished-import': 'off', // necessary for vue-property-decorator (not published?) + }, } -- cgit v1.2.3