Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softwareventures/prettier-config
Standard Prettier configuration for Software Ventures Limited
https://github.com/softwareventures/prettier-config
prettier typescript
Last synced: 3 days ago
JSON representation
Standard Prettier configuration for Software Ventures Limited
- Host: GitHub
- URL: https://github.com/softwareventures/prettier-config
- Owner: softwareventures
- License: isc
- Created: 2020-05-06T16:21:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T19:13:46.000Z (3 days ago)
- Last Synced: 2024-11-11T20:20:47.902Z (3 days ago)
- Topics: prettier, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@softwareventures/prettier-config
- Size: 1.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# prettier-config
Standard [Prettier](https://prettier.io/) configuration for
[Software Ventures Limited](https://softwareventures.co.uk/).## Install
```bash
npm install --save-dev @softwareventures/prettier-config
```or for yarn users:
```bash
yarn add --dev @softwareventures/prettier-config
```## Usage
Add to `package.json`:
```json
{
"prettier": "@softwareventures/prettier-config"
}
```## pre-commit hook
Recommended: Configure husky and precise-commits to automatically reformat
changes before they are committed.```bash
npm install --save-dev husky precise-commits
```or
```bash
yarn add --dev husky precise-commits
```Then add to `package.json`:
```json
{
"husky": {
"hooks": {
"pre-commit": "precise-commits"
}
}
}
```