Skip to content

Commit ee22695

Browse files
committed
Keep Prettier at 3.8.3 to match Super-Linter
Prettier 3.9 formats a union type in src/core/types.ts differently from the Prettier bundled in Super-Linter v8.7.0, so the two checks can't both pass. Revert the Prettier bump and the reformat. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013sSVPq8jM5vj3VFsnBEGPn
1 parent b52c03c commit ee22695

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"eslint-plugin-prettier": "^5.5.6",
8181
"jest": "^30.5.2",
8282
"parse-glob": "3.0.4",
83-
"prettier": "3.9.9",
83+
"prettier": "3.8.3",
8484
"rimraf": "^6.1.3",
8585
"rollup": "4.64.3",
8686
"typescript": "^6.0.3"

‎src/core/types.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export interface Ruleset {
2727
'href-abs-or-rel'?: 'abs' | 'rel'
2828
'id-class-ad-disabled'?: boolean
2929
'id-class-value'?:
30-
'underline' | 'dash' | 'hump' | { regId: RegExp; message: string }
30+
| 'underline'
31+
| 'dash'
32+
| 'hump'
33+
| { regId: RegExp; message: string }
3134
'id-unique'?: boolean
3235
'inline-script-disabled'?: boolean
3336
'inline-style-disabled'?: boolean

0 commit comments

Comments
 (0)