diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-25 20:54:38 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-25 20:54:38 +0200 |
commit | e8392e65591b99f52c89cbec4554c87b19bde335 (patch) | |
tree | 18d5d7cddcd7f81e821dd2c5f6b3e0182b0153a9 /packages/client/.eslintrc.json | |
parent | a32365a7fea97fbf2a7b906ea77415ab744e7b43 (diff) |
Organized Eslint stuff
Diffstat (limited to 'packages/client/.eslintrc.json')
-rw-r--r-- | packages/client/.eslintrc.json | 41 |
1 files changed, 41 insertions, 0 deletions
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 |