Add no-trailing-spaces rule to our standard linting configuration
- Dominant language
- JavaScript
- Stars
- 400
- Forks
- 89
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 149
Description
### Description
#### Proposal No 1.
The lint rule preventing trailing spaces prevents line breaks in JSDoc
_JSDOC: two spaces at the end of a comment == newline_
I would like to propose we change `no-trailing-spaces` to `"ignoreComments": true` (allows trailing whitespace in comment blocks)
REF: https://eslint.org/docs/latest/rules/no-trailing-spaces#options
---
_Widen scope to capture other ideas that fall under this umbrella_
_e.g: env `es2022`? ecmaVersion `'13'` or `"latest"` etc_
Contributor guide
Research direction
Locate the repository's standard ESLint configuration and inspect the current no-trailing-spaces setting. Clarify whether the intended scope is only allowing trailing whitespace in JSDoc comments or also the additional environment and ECMAScript-version ideas; done means the agreed configuration is updated and lint behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100