aboutsummaryrefslogtreecommitdiff
path: root/packages/client/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/.eslintrc.json')
-rw-r--r--packages/client/.eslintrc.json41
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