summaryrefslogtreecommitdiff
path: root/eslintrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'eslintrc.yaml')
-rw-r--r--eslintrc.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/eslintrc.yaml b/eslintrc.yaml
new file mode 100644
index 00000000..4e8535b0
--- /dev/null
+++ b/eslintrc.yaml
@@ -0,0 +1,43 @@
+globals:
+ Atx: true
+ Hid: true
+ Keyboard: true
+ Mouse: true
+ Msd: true
+ Session: true
+ Stream: true
+ Ui: true
+ ui: true
+ tools: 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}