summaryrefslogtreecommitdiff
path: root/kvmd/eslintrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/eslintrc.yaml')
-rw-r--r--kvmd/eslintrc.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/kvmd/eslintrc.yaml b/kvmd/eslintrc.yaml
new file mode 100644
index 00000000..68d1faf6
--- /dev/null
+++ b/kvmd/eslintrc.yaml
@@ -0,0 +1,40 @@
+globals:
+ atx: true
+ hid: true
+ keyboard: true
+ mouse: true
+ msd: true
+ session: true
+ stream: true
+ tools: true
+ ui: true
+ "$": true
+
+env:
+ browser: true
+
+extends: "eslint:recommended"
+
+parserOptions:
+ ecmaVersion: 6
+
+rules:
+ indent:
+ - error
+ - tab
+ - SwitchCase: 1
+ linebreak-style:
+ - error
+ - unix
+ quotes:
+ - error
+ - double
+ semi:
+ - error
+ - always
+ comma-dangle:
+ - error
+ - always-multiline
+ no-unused-vars:
+ - error
+ - {vars: local, args: after-used}