mclaeysb / simplepolygon

JS tool to break self-intersecting GeoJSON polygons down in their constituent non-self-intersecting parts
MIT License
82 stars 11 forks source link

Remove mutating Array.prototype #3

Closed DenisCarriere closed 7 years ago

DenisCarriere commented 7 years ago

ESlint warning from this behavior:

[eslint] Array prototype is read only, properties should not be added. (no-extend-native)

More information on this issue here: https://github.com/Turfjs/turf/issues/621