eslint-plugin-es icon indicating copy to clipboard operation
eslint-plugin-es copied to clipboard

What's the difference between no spread elements and properties?

Open coolaj86 opened this issue 3 years ago • 1 comments

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?

coolaj86 avatar Jan 21 '22 17:01 coolaj86

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

ota-meshi avatar Jan 23 '22 01:01 ota-meshi