summaryrefslogtreecommitdiffstats
path: root/web_src/js/components/.eslintrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/components/.eslintrc.yaml')
-rw-r--r--web_src/js/components/.eslintrc.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/web_src/js/components/.eslintrc.yaml b/web_src/js/components/.eslintrc.yaml
new file mode 100644
index 00000000..0d233442
--- /dev/null
+++ b/web_src/js/components/.eslintrc.yaml
@@ -0,0 +1,21 @@
+plugins:
+ - eslint-plugin-vue
+ - eslint-plugin-vue-scoped-css
+
+extends:
+ - ../../../.eslintrc.yaml
+ - plugin:vue/vue3-recommended
+ - plugin:vue-scoped-css/vue3-recommended
+
+parserOptions:
+ sourceType: module
+ ecmaVersion: latest
+
+env:
+ browser: true
+
+rules:
+ vue/attributes-order: [0]
+ vue/html-closing-bracket-spacing: [2, {startTag: never, endTag: never, selfClosingTag: never}]
+ vue/max-attributes-per-line: [0]
+ vue-scoped-css/enforce-style-type: [0]