From e8392e65591b99f52c89cbec4554c87b19bde335 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 25 Jul 2021 20:54:38 +0200 Subject: Organized Eslint stuff --- packages/client/.eslintrc.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 packages/client/.eslintrc.json (limited to 'packages/client/.eslintrc.json') diff --git a/packages/client/.eslintrc.json b/packages/client/.eslintrc.json new file mode 100644 index 0000000..d60df09 --- /dev/null +++ b/packages/client/.eslintrc.json @@ -0,0 +1,41 @@ +{ + "env": { + "node": true + }, + "parser": "vue-eslint-parser", + "parserOptions": { + "parser": "@typescript-eslint/parser" + }, + "extends": [ + "plugin:vue/vue3-strongly-recommended", + "@vue/standard", + "@vue/typescript", + "base" + ], + "overrides": [ + { + "files": ["*.ts"], + "extends": [ + "plugin:@typescript-eslint/recommended" + ] + } + ], + "rules": { + "vue/max-attributes-per-line": [ "warn", { + "singleline": { + "max": 2, + "allowFirstLine": true + }, + "multiline": { + "max": 2, + "allowFirstLine": false + } + } ], + "vue/html-closing-bracket-newline": [ "error", { + "singleline": "never", + "multiline": "never" + } ], + "vue/html-indent": [ "error", "tab" ], + "typescript-eslint/no-var-requires": "off" + } +} \ No newline at end of file -- cgit v1.2.3-18-g5258