client/src/Components/local/atoms/core-mapping/helper/feature-generator.tsx
Function generateFeatures
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const generateFeatures = (bounds: L.LatLngBounds, numPoints: number, numShapes: number): FeatureCollection => {
const features: Feature[] = []
const x_min = bounds.getEast()
const x_max = bounds.getWest()
const y_min = bounds.getSouth()