@simple-focus/prettier-config

1.1.0 • Public • Published

@simplefocus/prettier-config

Simple Focus base prettier configuration.

Usage

Install:

$ yarn add --dev @simplefocus/prettier-config

Create prettier.config.js:

module.exports = require('@simplefocus/prettier-config')

Extending/overwriting

Note: In most cases this shouldn't be necessary.

module.exports = {
  ...require('@simplefocus/prettier-config'),
  tabWidth: 2,
}

Publishing to npm

Read npm's docs on How to Update a Package.

  1. Checkout and pull the main branch.

  2. Run the release script to bump the version numbers (the script will create a commit and push up the release branch to GitHub for you).

    sh ./scripts/release

    Use semantic versioning to choose the appropriate version number.

  3. Submit and merge a PR from the release branch into main.

  4. Make sure you're logged into npm from the command line using npm whoami. If you're not logged in, npm login.

  5. npm publish

Additional Plugins

Tailwind

Twig

Package Sidebar

Install

npm i @simple-focus/prettier-config

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

3.73 kB

Total Files

5

Last publish

Collaborators

  • simple-focus