Skip to content

Disable prefer-spread and prefer-rest-params ESlint rules #2698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jzabala opened this issue Jul 6, 2020 · 0 comments
Closed

Disable prefer-spread and prefer-rest-params ESlint rules #2698

jzabala opened this issue Jul 6, 2020 · 0 comments

Comments

@jzabala
Copy link
Contributor

jzabala commented Jul 6, 2020

Currently using the .apply function fires the rule prefer-spread but this project supports Node version 4 and the spread syntax was introduced on version 5.

Also using the arguments object fires the rule prefer-rest-params but the feature was introduced on Node version 6

@jzabala jzabala changed the title Disable prefer-spread Eslint rule Disable prefer-spread and prefer-rest-params ESlint rules Jul 6, 2020
@ljharb ljharb closed this as completed in 87a6b36 Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant