eslint-plugin-es
eslint-plugin-es copied to clipboard
What's the difference between no spread elements and properties?
First: Thanks for this. It's great!
Neither of these rules have examples and I'm not clear on what the difference is:
-
no-spread-elements
:
https://github.com/mysticatea/eslint-plugin-es/blob/master/docs/rules/no-spread-elements.md -
no-rest-spread-properties
:
https://github.com/mysticatea/eslint-plugin-es/blob/master/docs/rules/no-rest-spread-properties.md
What's the difference?
Hello @coolaj86!
Those markdowns don't look good on GitHub. You need to look at the documentation site.
https://eslint-plugin-es.mysticatea.dev/rules/no-spread-elements.html https://eslint-plugin-es.mysticatea.dev/rules/no-rest-spread-properties.html