Skip to content

Commit dc56b6c

Browse files
committed
Move prettier to action
1 parent 7fc2518 commit dc56b6c

File tree

5 files changed

+9
-366
lines changed

5 files changed

+9
-366
lines changed

.husky/.gitignore

-1
This file was deleted.

.husky/pre-commit

-4
This file was deleted.

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ All commits to the `main` branch get auto-deployed to the live website [running
1313
The base branch is `next`. All PRs should target this branch.
1414

1515
To initiate a release:
16-
* Create a new branch, from `next` named `release/x.y.z`
17-
* Bump the version in `package.json` to `x.y.z`
18-
* Merge `release/x.y.z` to `main`. This will trigger the [deployment](#deployment).
19-
* Merge `main` into `next`
16+
17+
- Create a new branch, from `next` named `release/x.y.z`
18+
- Bump the version in `package.json` to `x.y.z`
19+
- Merge `release/x.y.z` to `main`. This will trigger the [deployment](#deployment).
20+
- Merge `main` into `next`
2021

2122
## Getting Started
2223

@@ -35,7 +36,7 @@ Next, install the required dependencies and start the server:
3536
yarn install
3637
yarn start
3738
# Or, if you'd like a different port:
38-
# PORT=5000 yarn start
39+
# PORT=5000 yarn start
3940
```
4041

4142
You can view your running local application at this URL:
@@ -65,4 +66,4 @@ If you find bugs, have feature requests or questions, please
6566

6667
Microformats Parser Website Node is dedicated to the public domain using Creative Commons -- CC0 1.0 Universal.
6768

68-
http://creativecommons.org/publicdomain/zero/1.0
69+
http://creativecommons.org/publicdomain/zero/1.0

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"scripts": {
1111
"start": "node index.js",
12-
"prepare": "husky install"
12+
"prettier:list": "prettier '**/*.{js,ts,json,md,html}' --list-different",
13+
"prettier:fix": "prettier '**/*.{js,ts,json,md,html}' --write"
1314
},
1415
"dependencies": {
1516
"@yarnpkg/lockfile": "^1.1.0",
@@ -18,8 +19,6 @@
1819
"microformats-parser": "^1.5.2"
1920
},
2021
"devDependencies": {
21-
"husky": ">=6",
22-
"lint-staged": ">=10",
2322
"prettier": "^3.0.3"
2423
},
2524
"lint-staged": {

0 commit comments

Comments
 (0)