diff options
author | Devaev Maxim <[email protected]> | 2018-08-07 19:09:47 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-07 19:09:47 +0300 |
commit | a844e9d152b67e0f2aa344992f02397144394a6d (patch) | |
tree | d745599bece9eae126f636d2aba5f568f31714d8 /kvmd/eslintrc.yaml | |
parent | 20f7e2cde675fe7c3bddbf62328ebe9a11d96e13 (diff) |
web linting
Diffstat (limited to 'kvmd/eslintrc.yaml')
-rw-r--r-- | kvmd/eslintrc.yaml | 40 |
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} |