You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/upgrading-shared-stylelint-config/SKILL.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ Note any warnings or errors from npm or from the project’s QA tools. Those mig
148
148
This is crucial for the success of the upgrade, and we have bespoke tools to facilitate this.
149
149
150
150
-[ ] Use `npm run test:rules` to determine which new rules have been introduced.
151
-
-[ ] Update `src/unused.js`, making sure to add any new rules in the correct section (look at the guidance inside the file).
151
+
-[ ] Update `src/unused.mjs`, making sure to add any new rules in the correct section (look at the guidance inside the file).
152
152
-[ ] If in doubt, move the rules to a new section inside the `toReview` array so this can be further reviewed at a later date.
153
153
-[ ] Use `npm run test -- -u` to update the project’s snapshots. This is crucial to understand which rule changes will affect users of this project.
154
154
@@ -183,9 +183,9 @@ The configuration now mandates stylelint v<version>. {Add commentary about the m
183
183
184
184
For the key rules sections,
185
185
186
-
-[ ] Populate "New rules configuration" for newly-introduced rules, which will show as additions in the git diff of `src/__snapshots__/semver.test.js.snap`.
187
-
-[ ] Populate "New rules configuration" for config changes on existing rules, which will show as additions + deletions inside `src/__snapshots__/semver.test.js.snap`.
188
-
-[ ] Populate "New unused rules" based on the changes in the diff of `src/unused.js`.
186
+
-[ ] Populate "New rules configuration" for newly-introduced rules, which will show as additions in the git diff of `src/__snapshots__/semver.test.mjs.snap`.
187
+
-[ ] Populate "New rules configuration" for config changes on existing rules, which will show as additions + deletions inside `src/__snapshots__/semver.test.mjs.snap`.
188
+
-[ ] Populate "New unused rules" based on the changes in the diff of `src/unused.mjs`.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
- Enable type-aware linting with type checking in `vp lint` and `vp check`.
15
15
- Update the development and testing Node.js version to 26 (was 24), refreshing `package-lock.json`.
16
16
- Pick up `stylelint-config-recommended-scss` 17.0.1 through the lockfile refresh, where `no-invalid-position-declaration` ignores declarations inside `@mixin` at-rules.
17
+
- Complete the `src/unused.mjs` triage with the rules declined in the Stylelint 17 upgrade, so `npm run test:rules` passes again.
0 commit comments