summaryrefslogtreecommitdiff
path: root/testenv/eslintrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'testenv/eslintrc.yaml')
-rw-r--r--testenv/eslintrc.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/testenv/eslintrc.yaml b/testenv/eslintrc.yaml
new file mode 100644
index 00000000..8c3d07f9
--- /dev/null
+++ b/testenv/eslintrc.yaml
@@ -0,0 +1,44 @@
+globals:
+ Atx: true
+ Hid: true
+ Keyboard: true
+ Mouse: true
+ Msd: true
+ Session: true
+ Streamer: true
+ Ui: true
+ ui: true
+ tools: true
+ check_browser: true
+ "$": true
+ "$$": true
+
+env:
+ browser: true
+ es6: 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}