@sourcegraph/prettierrc
v3.0.3
Published
Prettier config for TypeScript projects at Sourcegraph
Downloads
7,709
Readme
Sourcegraph Prettier Config
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