forked from indico/indico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
121 lines (118 loc) · 2.14 KB
/
.eslintrc.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
env:
browser: true
jquery: true
extends: 'eslint:recommended'
rules:
indent:
- error
- 4
linebreak-style:
- error
- unix
quotes:
- off
semi:
- error
- always
max-len:
- warn
- code: 120
one-var:
- warn
- initialized: never
uninitialized: always
eqeqeq:
- error
- smart
dot-location:
- error
- property
wrap-iife:
- error
- inside
block-spacing:
- error
- always
camelcase:
- error
- properties: never
func-style:
- warn
- declaration
padded-blocks:
- error
- never
quote-props:
- warn
- consistent-as-needed
space-before-function-paren:
- warn
- never
brace-style:
- error
- 1tbs
array-callback-return: error
comma-spacing: error
comma-style: error
computed-property-spacing: error
curly: error
func-call-spacing: error
key-spacing: error
keyword-spacing: error
max-statements-per-line: error
radix: error
semi-spacing: error
space-in-parens: error
space-infix-ops: error
space-before-blocks: warn
strict: error
yoda: error
no-unmodified-loop-condition: error
no-unsafe-negation: error
no-alert: error
no-eval: error
no-implied-eval: error
no-floating-decimal: warn
no-global-assign: error
no-implicit-globals: error
no-lone-blocks: error
no-lonely-if: error
no-loop-func: error
no-mixed-operators: error
no-new-func: error
no-new-object: error
no-return-assign: error
no-octal-escape: warn
no-new-wrappers: error
no-script-url: error
no-self-compare: error
no-sequences: error
no-tabs: error
no-throw-literal: error
no-trailing-spaces: error
no-unneeded-ternary: error
no-void: error
no-whitespace-before-property: error
no-with: error
no-shadow:
- warn
- allow: [data]
no-use-before-define:
- error
- functions: false
classes: false
globals:
_: false
$T: false
K: false
moment: false
Indico: false
IndicoUI: false
build_url: false
alertPopup: false
confirmPrompt: false
handleFlashes: false
handleAjaxError: false
ajaxDialog: false
cornerMessage: false
enableIfChecked: false