Closed InternetRamen closed 3 years ago
I don't know how to fix 6 eslint errors.
@Fcmam5 I'm not sure I would be able to call as my coding times are unpredictable based on my school work. Are there any main improvements that could be added to the code?
This code is too complex, and that's why ESLINT reported a Cognitive Complexity
error. I'm looking for a library (or probably create one) that makes it easier to do this. I will get back to you as soon as I find something.
@Fcmam5 Alright, thank you!
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Extended wilayaProjection to project nested fields.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist:
npm run update-dataset
)npm test
passes on my machinenpm run lint
passes on my machine I do not know how to fixError: 15:48 error Refactor this function to reduce its Cognitive Complexity from 69 to the 15 allowed sonarjs/cognitive-complexity Error: 30:29 error Function declared in a loop contains unsafe references to variable(s) 'value' no-loop-func
My friend @makeBread helped me with this.