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
Added a new nursery rule [`noExcessiveNestedCallbacks`](https://biomejs.dev/linter/rules/no-excessive-nested-callbacks/), which disallows callbacks nested deeper than the configured maximum.
Copy file name to clipboardExpand all lines: .claude/skills/eslint-migrate-options/SKILL.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -290,17 +290,16 @@ At minimum, verify all of these:
290
290
2. ESLint config with options produces the expected Biome options.
291
291
3. Unsupported ESLint knobs do not break deserialization.
292
292
4. Empty or partially specified nested options do not emit incorrect Biome config.
293
+
5. If Biome's defaults differ from ESLint's, severity-only configs should not emit Biome options that change behavior.
293
294
294
-
Use the migrator spec fixtures in `crates/biome_cli/tests/specs/migrate_eslint/`as the default test path for custom migrators.
295
+
Use the migrator spec fixtures in `crates/biome_cli/tests/specs/migrate_eslint/` for custom migrators.
295
296
296
297
- Add one fixture file per case.
297
298
- Keep the fixture focused on `eslint` input and pre-migration `biome` config input.
298
299
- Let the generated test runner in `eslint_to_biome.rs` discover the file and write the adjacent `.snap.new`.
299
-
-Prefer adding or updating these fixture snapshots instead of writing a new full CLI test when you are verifying custom option migration behavior.
300
+
-Add fixtures for every relevant option shape, including severity-only configs when defaults differ between ESLint and Biome.
300
301
- After inspecting snapshot differences, use `cargo insta accept` to accept valid new snapshots, or `cargo insta reject` to reject invalid ones and keep iterating.
301
302
302
-
CLI tests in `crates/biome_cli/tests/commands/migrate_eslint.rs` should be treated as smoke coverage for command wiring and end-to-end behavior, not the primary place to test custom migrators.
0 commit comments