Convert your ESLint configuration into AI-readable rules for coding assistants.
@pleaseai/lint automatically transforms your ESLint rules into guidelines that AI coding assistants can understand. This ensures AI-generated code follows your project's coding standards from the start.
- Cursor -
.cursor/rules/ - VS Code Copilot -
.github/copilot-instructions.md - Claude Code -
.claude/CLAUDE.md - Windsurf -
.windsurfrules - Zed -
.zed/rules/ - Codex -
AGENTS.md - Kiro -
.kiro/rules/ - Cline -
.clinerules - Amp -
.amp/rules/ - Aider -
.aider/rules/ - Firebase Studio -
.idx/airules.md - OpenHands -
.openhands/microagents/ - Gemini CLI -
GEMINI.md - Junie -
.junie/rules/ - AugmentCode -
augment-guidelines.md - Kilo Code -
.kilocode/rules/ - Goose -
.goosehints - Roo Code -
.roo/rules/ - Warp -
.warp/rules/
# npm
npm install -g @pleaseai/lint
# pnpm
pnpm add -g @pleaseai/lint
# bun
bun add -g @pleaseai/lintpleaseai-lint initInteractively select which AI assistants to generate rules for.
pleaseai-lint generateGenerate rules for all configured AI assistants.
pleaseai-lint previewPreview the generated rules without writing files.
pleaseai-lint checkCheck your ESLint configuration status and see which rules are active.
- Parses your ESLint configuration (supports flat config and legacy
.eslintrc) - Maps ESLint rules to human-readable guidelines organized by category:
- Type Safety & Explicitness
- Code Quality
- React & JSX
- Security
- Performance
- Code Style
- Imports & Exports
- Testing
- Generates AI-specific instruction files in the appropriate format for each tool
For a project with TypeScript ESLint rules, you might see guidelines like:
### Type Safety & Explicitness
- Avoid using the any type
- **Do**: Use specific types, unknown, or generics instead of any
- **Don't**: Use any to bypass type checking
- Use strict equality operators (=== and !==)
- **Do**: Always use === and !== for comparisons
- **Don't**: Use == or != which perform type coercion- Node.js 18+
- ESLint configuration in your project
bun installIf you're using a GUI app (VS Code, WebStorm, etc.) and encounter bun: not found errors when committing, create ~/.config/husky/init.sh:
mkdir -p ~/.config/husky
echo 'export PATH="$HOME/.bun/bin:$PATH"' > ~/.config/husky/init.shThis ensures bun is available for Git hooks in GUI environments.
MIT