🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@spazious/prettier-config

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spazious/prettier-config

- https://github.com/editorconfig/editorconfig/issues/236#issuecomment-593352460

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
13
333.33%
Maintainers
2
Weekly downloads
 
Created
Source

Linters have two categories of rules:

  • Formatting rules: eg: max-len, no-mixed-spaces-and-tabs, keyword-spacing, comma-style…

Prettier alleviates the need for this whole category of rules! Prettier is going to reprint the entire program from scratch in a consistent way, so it’s not possible for the programmer to make a mistake there anymore :)

  • Code-quality rules: eg no-unused-vars, no-extra-bind, no-implicit-globals, prefer-promise-reject-errors…

Prettier does nothing to help with those kind of rules. They are also the most important ones provided by linters as they are likely to catch real bugs with your code!

In other words, use Prettier for formatting and linters for catching bugs!

# Editorconfig

  • https://github.com/editorconfig/editorconfig/issues/236#issuecomment-593352460

Prettier config

https://prettier.io/docs/en/configuration.html#sharing-configurations

https://prettier.io/docs/en/configuration.html#editorconfig

References

Keywords

prettier

FAQs

Package last updated on 31 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts