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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user