2.1.2 • Published 24 days ago

@mapbox/prettier-config-docs v2.1.2

Weekly downloads
314
License
MIT
Repository
github
Last release
24 days ago

prettier-config-docs

Prettier configuration for docs.mapbox.com sites.

Install

npm install --save-dev @mapbox/prettier-config-docs

Edit package.json:

{
  // ...
  "prettier": "@mapbox/prettier-config-docs"
}

or to extend this configuration to overwrite some properties, create .prettierrc.js:

module.exports = {
  ...require('@mapbox/prettier-config-docs'),
  tabWidth: 4
};

How to release

From the main branch:

  1. Run npm version {major|minor|patch}. Example (and usually): npm version minor.
  2. Push changes.
  3. Run mbx npm publish to publish the package to npm.

Dependabot will automatically update @mapbox/prettier-config-docs (within 1 day) to all site repositories. If you need it sooner, you can install this package in the repository by following the install steps.

2.1.2

24 days ago

2.1.1

3 months ago

2.1.0

6 months ago

2.0.0

1 year ago

1.0.0

3 years ago

1.0.0-beta.1

3 years ago

1.0.0-beta.0

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago