-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc.js
52 lines (52 loc) · 1.31 KB
/
.eslintrc.js
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
// see https://github.com/geoext/geoext/blob/master/.eslintrc
// and https://github.com/openlayers/eslint-config-openlayers/blob/main/index.js
module.exports = {
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true, // to allow Uint8Array
"es2021": true
},
"globals": {
"ol": false,
"Ext": false,
"proj4": false,
"BasiGX": false,
"GeoExt": false,
"CpsiMapview": false,
"LayerFactory": false,
"LegendUtil": false,
"GeoStylerSLDParser": false,
"GeoStylerOpenlayersParser": false,
"google": false,
"XLink_1_0": false,
"ISO19139_GMD_20060504": false,
"ISO19139_GCO_20060504": false,
"ISO19139_GTS_20060504": false,
"ISO19139_GSS_20060504": false,
"ISO19139_GSR_20060504": false,
"GML_3_2_0": false,
"Jsonix": false,
"turf": false
},
"rules": {
"no-trailing-spaces": "error",
"indent": [
"error",
4,
{ "SwitchCase": 1 }
],
//"linebreak-style": [
// "error",
// "unix"
//],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
};