Skip to content

simplefocus/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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