forked from openlayers/ol-cesium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
61 lines (55 loc) · 1.12 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
root: true,
extends: [
'openlayers',
'.eslintrc-es6.yaml'
],
plugins: [
'googshift',
],
rules: {
'googshift/no-duplicate-requires': 'error',
'googshift/no-missing-requires': ['error', {
prefixes: ['olcs', 'ol']
}],
'googshift/no-unused-requires': 'error',
'googshift/one-provide-or-module': ['error', {
entryPoints: ['olcs'],
root: 'src'
}],
'googshift/requires-first': 'error',
'googshift/valid-provide-and-module': ['error', {
entryPoints: ['olcs'],
root: 'src'
}],
'googshift/valid-requires': 'error',
no-console: 0,
no-extra-boolean-cast: 0,
brace-style: 0,
no-multiple-empty-lines: 0,
valid-jsdoc: 0,
indent: [2, 2, {
VariableDeclarator: 2,
SwitchCase: 1,
MemberExpression: 2,
FunctionDeclaration: {
parameters: 2,
body: 1
},
FunctionExpression: {
parameters: 2,
body: 1
},
CallExpression: {
arguments: 2
}
}]
},
globals: {
ol: false,
goog: false,
Cesium: false,
olcs: false,
proj4: false
}
}