Skip to content

Commit 1aa9462

Browse files
committed
chore: add Prettier for Markdown in lint-staged; format existing md files
1 parent 9fc7948 commit 1aa9462

3 files changed

Lines changed: 20 additions & 10 deletions

File tree

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,24 @@
1414
- **Auto-refresh**: configurable interval (default 5 min)
1515
- **Zero config**: uses your existing VS Code GitHub account sign-in
1616

17+
<!-- prettier-ignore -->
1718
| | | |
1819
| :---: | :---: | :---: |
1920
| <img src=".github/assets/normal.png" alt="Normal (25%)" width="190"> | <img src=".github/assets/warning.png" alt="Warning (75%)" width="190"> | <img src=".github/assets/critical.png" alt="Critical (95%)" width="190"> |
2021
| Normal | Warning | Critical |
2122

2223
## Status bar states
2324

24-
| Display | Meaning |
25-
|---------|---------|
26-
| `25%` | Normal usage |
27-
| `75%` (yellow) | Warning threshold reached |
28-
| `90%` (red) | Critical threshold reached |
29-
| `` | Unlimited plan |
30-
| `` | No premium quota data (plan has no tracked limit) |
31-
| `Sign in` | Not signed in — click to sign in |
32-
| _(spinner)_ | Loading |
33-
| _(error icon)_ | API / network error |
25+
| Display | Meaning |
26+
| -------------- | ------------------------------------------------- |
27+
| `25%` | Normal usage |
28+
| `75%` (yellow) | Warning threshold reached |
29+
| `90%` (red) | Critical threshold reached |
30+
| `` | Unlimited plan |
31+
| `` | No premium quota data (plan has no tracked limit) |
32+
| `Sign in` | Not signed in — click to sign in |
33+
| _(spinner)_ | Loading |
34+
| _(error icon)_ | API / network error |
3435

3536
## License
3637

RELEASE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,36 @@
66
- Add version entry: `## [X.Y.Z] - YYYY-MM-DD` with changes
77

88
2. Update version in `package.json`:
9+
910
```sh
1011
# Edit package.json to set "version": "X.Y.Z"
1112
npm install # sync package-lock.json
1213
```
1314

1415
3. Commit and push:
16+
1517
```sh
1618
git add CHANGELOG.md package.json package-lock.json
1719
git commit -m "chore: update version to vX.Y.Z"
1820
git push origin main
1921
```
2022

2123
4. Run the release workflow:
24+
2225
```sh
2326
gh workflow run release.yml
2427
```
28+
2529
This will run tests, package the extension as `.vsix`, and create a GitHub Release with the file attached.
2630

2731
5. Verify the release was created successfully:
32+
2833
```sh
2934
gh release view vX.Y.Z
3035
```
3136

3237
6. Update the release notes on GitHub to match `CHANGELOG.md`:
38+
3339
```sh
3440
gh release edit vX.Y.Z --notes "## What's Changed
3541
- Change 1

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@
101101
"*.js": [
102102
"eslint --fix",
103103
"prettier --write"
104+
],
105+
"*.md": [
106+
"prettier --write --prose-wrap preserve"
104107
]
105108
}
106109
}

0 commit comments

Comments
 (0)