1.0.0 • Published 7 months ago

@thepeaklab/prettier-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@thepeaklab/prettier-config

A Prettier config with default settings.

Installation

Install the config:

npm i -D @thepeaklab/prettier-config

Reference it in the package.json:

{
  "name": "my-lib",
  "prettier": "@thepeaklab/prettier-config"
}

Visual Studio Code Support

Install the Prettier extension.

Copy the following settings into .vscode/settings.json:

{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "always",
    "source.fixAll.ts": "always",
    "source.removeUnusedImports": "always",
    "source.organizeImports": "always",
    "source.sortImports": "always",
  },
}

Contributing

Code of Conduct

Please read our Code of conduct to keep our community open and respectable. 💖

Want to help?

Want to report a bug, contribute some code, or improve the documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.

Security

If you believe you have found a security vulnerability, we encourage you to responsibly disclose this and not open a public issue. Security issues in this open source project can be safely reported via opensource@thepeaklab.com.

License

This project is MIT-licensed.


Developed with 💖 at the peak lab.

1.0.0

7 months ago