Skip to content

Make trivia/whitespace (Prettier) rules opt-out #302

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🚀 Feature Request

Following #2 and #301, I really want to harp on the opinion that a linter (ESLint) should be separate from the formatter (Prettier). Having folks need to opt-in with a CLI flag in order to get that behavior will further that cause.

Existing Behavior

Right now, all existing TSLint rules will be output to the ESLint output - even Prettier-related ones such as whitespace.

Change Proposal

If a rule is disabled by tslint-config-prettier, it should only be output if a new CLI flag is provided.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions