diff options
author | Devaev Maxim <[email protected]> | 2019-04-06 05:32:02 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-06 08:04:26 +0300 |
commit | 1d75b738a08c98a5d3d8ac3c685e77360f4c1267 (patch) | |
tree | 3aa89dc7fd0ab737e9332714a784e9d4dde0a362 /testenv/linters/eslintrc.yaml | |
parent | 73e04b71ed55a46c939f12548b31746617af2bca (diff) |
validators, tests
Diffstat (limited to 'testenv/linters/eslintrc.yaml')
-rw-r--r-- | testenv/linters/eslintrc.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testenv/linters/eslintrc.yaml b/testenv/linters/eslintrc.yaml new file mode 100644 index 00000000..1e4a1f5b --- /dev/null +++ b/testenv/linters/eslintrc.yaml @@ -0,0 +1,45 @@ +globals: + Atx: true + Hid: true + Keyboard: true + Mouse: true + Msd: true + Session: true + Streamer: true + WindowManager: true + wm: true + tools: true + checkBrowser: true + "$": 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} |