@sourcegraph/prettierrc

3.0.3 • Public • Published

Sourcegraph Prettier Config

npm downloads build code style: prettier

Prettier config for projects at Sourcegraph.

Usage

npm install --save-dev @sourcegraph/prettierrc

Then add this prettier.config.js to the project:

module.exports = require('@sourcegraph/prettierrc')

Making changes

npm link
cd <project>
npm link @sourcegraph/prettierrc
npm run prettier

Publish a new version

Follow semver. Changing or adding a rule is a breaking change and requires a new major version.

npm version major|minor|patch
git push
git push --tags
npm publish

Dependents (1)

Package Sidebar

Install

npm i @sourcegraph/prettierrc

Weekly Downloads

3,326

Version

3.0.3

License

Apache-2.0

Unpacked Size

2.28 kB

Total Files

3

Last publish

Collaborators

  • techopsadmin
  • andreeleuterio
  • sourcegraph-bot
  • sqs
  • beyang
  • slimsag