Skip to content

Commit b1d9034

Browse files
committed
chore: revert changes before 3.0.0
1 parent fe3a126 commit b1d9034

4 files changed

Lines changed: 26 additions & 48 deletions

File tree

.prettierignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
node_modules
2+
dist
3+
public
4+
build
5+
logs
6+
coverage
7+
.next
8+
.turbo
9+
.github
10+
.angular
11+
.svelte-kit
12+
.vscode
13+
*.log*
14+
*.log
15+
*.lock
16+
*.yaml
17+
*.yml
18+
*.sh
19+
*.svg
20+
*rc.*
21+
*.htm
22+
*.html
23+
*.md
24+
.*ignore

README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,9 @@ pnpm add @crashmax/prettier-config -D
1818

1919
## Usage
2020

21-
### Overwrite some properties from the shared configuration
22-
2321
```js
2422
// .prettierrc.cjs
25-
module.exports = {
26-
...require('@crashmax/prettier-config'),
27-
semi: false
28-
}
29-
```
30-
31-
```js
32-
// .prettierignore
33-
.next
34-
dist
35-
node_modules
36-
public
23+
module.exports = require('@crashmax/prettier-config')
3724
```
3825

3926
### Copy the ignore file to your project folder

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
"main": "./.prettierrc.json",
77
"prettier": "./.prettierrc.json",
88
"files": [
9-
"postinstall.js",
109
".prettierrc.cjs",
1110
".prettierrc.json"
1211
],
1312
"scripts": {
14-
"postinstall": "node postinstall.js",
15-
"format": "prettier --write **/*.{ts,tsx}"
13+
"format": "prettier --write '**/*.{js,ts,tsx,json}'"
1614
},
1715
"repository": {
1816
"type": "git",

postinstall.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)