⚙️ prettier-config-hbb
prettier-config-hbb is an opinionated configuration that makes it easy to start your projects.
!versionversion-badgepackage !licenselicense-badgelicense !downloadsdownloads-badgenpmtrends !gh-releasegh-release-badgegh-release
Table of Contents
- Override Configurations - Scripts
Motivation
- Easy to start coding, avoid wasting time configuring for every project
- Focus on the project instead of the tooling
- Start the project quickly and easy
Installation
This module is distributed by NPM and should be installed as one of your project'sdevDependencies
:$ npm install --save-dev prettier-config-hbb
// or
$ yarn add -D prettier-config-hbb
Usage
Import to your.prettierrc.js
such as:module.exports = require('prettier-config-hbb');
Override Configurations
const config = require('prettier-config-hbb');
module.exports = {
...config,
semi: false,
};
Scripts
Add the following to your package.json:"scripts": {
"format": "prettier --write ."
},