Skip to content

Commit 6b2e831

Browse files
authored
docs(skills): expand staged-file migration guidance (#32)
1 parent 24c5ec7 commit 6b2e831

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.agents/skills/migrate-to-rstack-cli/references/lint-staged.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
# lint-staged Migration
1+
# Staged-File Migration
22

3-
Read this reference when the project uses the `lint-staged` binary, a lint-staged dotfile config, `lint-staged.config.*`, or a `lint-staged` key in `package.json`.
3+
`rs staged` is powered by lint-staged and configured through `define.staged`, which supports lint-staged configuration options.
4+
5+
Read this reference when the project uses `lint-staged`, `nano-staged`, a staged-file config, or a staged-file Git hook.
46

57
## Steps
68

7-
1. Replace direct `lint-staged` script invocations with `rs staged`.
8-
2. Move the lint-staged config into `define.staged` in `rstack.config.*`.
9+
1. Replace staged-file script invocations with `rs staged`.
10+
2. Move the staged-file config into `define.staged` in `rstack.config.*`.
911
3. Remove the old manifest key or config file.
10-
4. Remove the direct `lint-staged` dependency only when no script, config, or programmatic API still uses it.
12+
4. Remove the direct staged-file dependency only when no script, config, or programmatic API still uses it.
1113

1214
## Config Pattern
1315

0 commit comments

Comments
 (0)