diff options
author | Devlin Junker <devlin.junker@gmail.com> | 2022-06-30 21:28:56 -0700 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2022-10-03 12:58:13 +0200 |
commit | 42e9b47159cb95a9152e7ea66fe26abce5beeb9e (patch) | |
tree | 1083dd723d41b4f215ce91b91c8766cdb4afbacf /.eslintrc.js | |
parent | f1668df03fa137ff809f26b6dd5b52707d6009f1 (diff) |
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 <devlin.junker@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 44 |
1 files changed, 20 insertions, 24 deletions
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?) + }, } |