Skip to content

Indent switch statements #91

Open
Open
@TrevorKarjanis

Description

@TrevorKarjanis

Indentation for switch cases defaults to 0. Our rule should be the following to enforce four spaces.

'indent': ['error', 4, { SwitchCase: 1 }]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions