Documentation is
Explain in Detail
When using Claude Code (v2.1.78) with the CLAUDE.md generated by vp create (with Claude Code integration selected), Claude Code attempts to write oxlint rule configuration to oxlint.json or .oxlintrc.json instead of vite.config.ts lint.rules.
This happens despite the generated CLAUDE.md explicitly stating that Vite+ wraps Oxlint and that tools should not be configured directly.
Environment
- Vite+: monorepo setup via
vp create
- CLAUDE.md: auto-generated (unmodified) with Claude Code option
- Claude Code: v2.1.78
Your Suggestion for Changes
I'm not sure if this would fully solve the issue, but it might help to mention in the generated CLAUDE.md that lint(format) configurations should be added to vite.config.ts rather than to standalone oxlint config files.
Relevant Page
No response
Reproduction (Optional)
No response
Steps to reproduce (Optional)
- Create a monorepo project with
vp create, selecting Claude Code integration
- Ask Claude Code to enable an oxlint rule
- Claude Code creates
.oxlintrc.json at project root instead of adding it to lint.rules in vite.config.ts
Documentation is
Explain in Detail
When using Claude Code (v2.1.78) with the CLAUDE.md generated by
vp create(with Claude Code integration selected), Claude Code attempts to write oxlint rule configuration tooxlint.jsonor.oxlintrc.jsoninstead ofvite.config.tslint.rules.This happens despite the generated CLAUDE.md explicitly stating that Vite+ wraps Oxlint and that tools should not be configured directly.
Environment
vp createYour Suggestion for Changes
I'm not sure if this would fully solve the issue, but it might help to mention in the generated CLAUDE.md that lint(format) configurations should be added to vite.config.ts rather than to standalone oxlint config files.
Relevant Page
No response
Reproduction (Optional)
No response
Steps to reproduce (Optional)
vp create, selecting Claude Code integration.oxlintrc.jsonat project root instead of adding it tolint.rulesinvite.config.ts