summaryrefslogtreecommitdiff
path: root/eslintrc.yaml
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-09-26 02:57:24 +0300
committerDevaev Maxim <[email protected]>2018-09-26 02:57:24 +0300
commit81a5311349564a1016c4af2bf18ae872b650e85b (patch)
treed01fd027948494e22ae2c14334b98c1515e5e8a4 /eslintrc.yaml
parentf3946f102fc167efdc53c73412b2c0d6ac6c72c5 (diff)
moved kvmd to the root
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}