Indent switch statements
Open
@jattasNI is already working on this.
Since Sep 8, 2022.
enhancement
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Indentation for switch cases defaults to 0. Our rule should be the following to enforce four spaces.
'indent': ['error', 4, { SwitchCase: 1 }]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.