Commit 790c19e2 authored by Alexander Trofimov's avatar Alexander Trofimov Committed by GitHub

Merge pull request #201 from ONLYOFFICE/feature/update-eslint-rules

update rules
parents 622db3b0 8ee5ae84
...@@ -4,9 +4,20 @@ env: ...@@ -4,9 +4,20 @@ env:
browser: true browser: true
rules: rules:
# Strict Mode # Possible Errors
# http://eslint.org/docs/rules/#strict-mode # http://eslint.org/docs/rules/#possible-errors
strict: [error, global] for-direction: error
no-debugger: error
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-empty-character-class: error
no-ex-assign: error
no-extra-semi: error
no-func-assign: error
no-invalid-regexp: error
no-irregular-whitespace: error
no-obj-calls: error
# Stylistic Issues # Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues # http://eslint.org/docs/rules/#stylistic-issues
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment