1. @sourcegraph/prettierrc
Prettier config for TypeScript projects at Sourcegraph
@sourcegraph/prettierrc
Package: @sourcegraph/prettierrc
Created by: sourcegraph
Last modified: Thu, 01 Feb 2024 17:56:50 GMT
Version: 3.0.3
License: Apache-2.0
Downloads: 15,276
Repository: https://github.com/sourcegraph/prettierrc

Install

npm install @sourcegraph/prettierrc
yarn add @sourcegraph/prettierrc

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

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin