eslint-prettier-migration
4
总安装量
4
周安装量
#53122
全站排名
安装命令
npx skills add https://github.com/aiko-atami/biomejs-skill --skill eslint-prettier-migration
Agent 安装分布
opencode
4
github-copilot
4
codex
4
kimi-cli
4
gemini-cli
4
amp
4
Skill 文档
ESLint + Prettier Migration
Use this skill to migrate existing lint/format toolchains to BiomeJS with predictable risk. Run ESLint migration first, then Prettier migration.
Workflow
- Confirm migration scope:
- ESLint only
- Prettier only
- Both ESLint and Prettier
- Follow the migration playbook:
references/eslint-prettier-migration.md
- Run migration with explicit flag choices:
biome migrate eslint --write- Optionally add
--include-inspiredif user wants broader parity with inspired rules. - Optionally add
--include-nurseryonly when user accepts unstable rules. biome migrate prettier --writeafter ESLint migration.
- Review migration output before mass rewrites:
- Verify generated
biome.jsonfor renamed rules, overrides, globals, and ignore behavior. - Confirm ESLint migration may overwrite prior Biome baseline (for example,
linter.rules.recommendedcan change).
- Validate and stabilize:
- Run
biome check . - Then run
biome check --write .after confirming file scope - If migration introduces too many new lint failures, use:
biome lint --write --unsafe --suppress="suppressed due to migration"
- Finalize CI checks:
- Run
biome ci .
Operational Defaults
Use these defaults unless user asks otherwise:
- Ensure
biome.jsonexists before migration (biome initif needed) - Use official migration commands before manual config editing
- Review generated rule mapping and overrides manually
- Align ignore behavior via VCS integration when needed (
vcs.enabled,vcs.clientKind,vcs.useIgnoreFile) - Use EN docs as canonical references when migration behavior is ambiguous
References
- ESLint/Prettier migration playbook:
references/eslint-prettier-migration.md