forked from ONLYOFFICE/sdkjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
38 lines (33 loc) · 837 Bytes
/
.eslintrc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
root: true
env:
browser: true
rules:
# 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
no-unreachable: error
no-unsafe-negation: error
# Best Practices
# http://eslint.org/docs/rules/#best-practices
no-proto: error
no-redeclare: error
no-self-assign: error
no-unused-labels: error
no-useless-return: error
# Variables
# http://eslint.org/docs/rules/#variables
no-delete-var: error
# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
linebreak-style: [error, unix]