1.1.6 • Published 11 months ago
@jpapini/prettier-config v1.1.6
Prettier configuration
Custom Prettier configuration for JavaScript and TypeScript projects.
Additional configurations are available for:
- Prisma projects:
@jpapini/prettier-config/prisma
- Tailwind CSS projects:
@jpapini/prettier-config/tailwind
How to use
- Install the package and its required peer dependencies:
pnpm add -D @jpapini/prettier-config prettier
- Edit your
package.json
file to include the following:
{
"scripts": {
"lint:prettier": "prettier --cache --cache-location node_modules/.cache/prettier/.prettiercache --check -u '**/*'",
"format:prettier": "prettier --cache --cache-location node_modules/.cache/prettier/.prettiercache --write -u '**/*'"
},
"prettier": "@jpapini/prettier-config"
}
- Add a
.prettierignore
file with the following content:
### Jetbrains IDEs ###
.idea
### Visual Studio Code ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
### Dependencies ###
node_modules
.pnpm-store
pnpm-lock.yaml
### Template files ###
*.hbs
### Cache ###
.turbo
### Compiled outputs ###
dist
generated
### Tests ###
coverage
### Temporary ###
old
*.timestamp-*
Author
- Julien Papini julien.papini@gmail.com
1.1.6
11 months ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
1.1.5
11 months ago
1.1.4
11 months ago
1.1.3
11 months ago
1.1.2
1 year ago
0.3.0
3 years ago
0.4.1
3 years ago
0.3.2
3 years ago
0.4.0
3 years ago
0.3.1
3 years ago
0.3.4
3 years ago
0.3.3
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.0.21
3 years ago
0.0.22
3 years ago
0.0.23
3 years ago
0.0.24
3 years ago
0.0.25
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago