forked from dvgis/dc-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 814 Bytes
/
.eslintrc
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,
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"plugins": ["prettier"],
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"globals": {
"__VERSION__": false,
"__TIME__": false,
"__AUTHOR__": false,
"__HOME_PAGE__": false,
"__REPOSITORY__": false,
"echarts": false,
"mapv": false,
"DC": false,
"Cesium": false,
"@dc-modules": false
},
"rules": {
"global-require": 0,
"indent": 0,
"no-new": 0,
"camelcase": 0,
"padded-blocks": 0,
"no-unused-vars": 0,
"no-trailing-spaces": 0,
"no-mixed-spaces-and-tabs": 0,
"space-before-function-paren": [0, "always"],
"no-multiple-empty-lines": 0
}
}