-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
29 lines (28 loc) · 847 Bytes
/
.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
const config = require('eslint-config-mbullington')({
typescript: false,
graphql: false,
react: false,
vue: false,
})
module.exports = Object.assign(config, {
globals: {
Module: 'readonly',
// geometry.cpp
_create_linear_ring: 'readonly',
_push_linear_ring: 'readonly',
_delete_linear_ring: 'readonly',
_create_polygon: 'readonly',
_push_polygon: 'readonly',
_delete_polygon: 'readonly',
_create_multi_polygon: 'readonly',
_push_multi_polygon: 'readonly',
_delete_multi_polygon: 'readonly',
// area.cpp
_polygon_area: 'readonly',
_polygon_area_multi: 'readonly',
// clipping.cpp
_polygon_union: 'readonly',
_polygon_difference: 'readonly',
_polygon_intersect: 'readonly',
},
})