Skip to content

Conversation

@itsvinayak
Copy link
Member

/* eslint no-extend-native: ["off", { "exceptions": ["Object"] }] */

this can be used to turn off eslint, as according to eslint extending native objects is bad

@itsvinayak itsvinayak requested a review from cclauss May 5, 2020 12:13
@cclauss
Copy link
Member

cclauss commented May 5, 2020

Not a fan of this approach. The linter is correct that Array prototype is read only.

Can't we find a way to resolve this that does not cause the linter to complain.

@itsvinayak
Copy link
Member Author

itsvinayak commented May 5, 2020 via email

@cclauss cclauss merged commit d37af25 into TheAlgorithms:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants