mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
Merge pull request #201 from ONLYOFFICE/feature/update-eslint-rules
update rules
This commit is contained in:
@ -4,9 +4,20 @@ env:
|
||||
browser: true
|
||||
|
||||
rules:
|
||||
# Strict Mode
|
||||
# http://eslint.org/docs/rules/#strict-mode
|
||||
strict: [error, global]
|
||||
# Possible Errors
|
||||
# http://eslint.org/docs/rules/#possible-errors
|
||||
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
|
||||
# http://eslint.org/docs/rules/#stylistic-issues
|
||||
|
||||
Reference in New Issue
Block a user