enhancementhelp wanted
Repository metrics
- Stars
- (5,022 stars)
- PR merge metrics
- (Avg merge 1d 16h) (399 merged PRs in 30d)
Description
See discussion here: https://github.com/sindresorhus/eslint-plugin-unicorn/pull/225#discussion_r294262451
We need to make handling comments easier. The current suggestions are:
- Comments should be preserved (may be non-trivial)
- Comments should be moved above a suitable node
- Do not fix if comments are detected
At the very least, we should add some notes in our documentation around creating rules since this comes up frequently.