Skip to content

Should we use Prettier? #7

@segayuu

Description

@segayuu

eslint has nearly 90 rules even for category Stylistic Issues alone.
It is very difficult to handle all these correctly.

Because eslint understands that, if you activate only recommended settings, required items in most projects will be set. However, Stylistic Issues often depends on individuality, the recommended config is no-mixed-spaces-and-tabs only.

By using Prettier it is certain that almost all of those settings will be unified.
However, that is a tradeoff with fewer things we can explicitly control.
In fact, the multi-line option of the curly rule will be disabled with Prettier!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions