Generate comprehensive ESLint and Prettier setup for consistent code quality
Create ESLint and Prettier configuration for:
Project Type: {{PROJECT_TYPE}} (React/Vue/Node/TypeScript)
Style Guide Base: {{STYLE_GUIDE}} (Airbnb/Standard/Google/Custom)
Additional Tools: {{TOOLS}} (Husky/lint-staged/commitlint)
Generate complete configuration:
1. **ESLint Configuration (.eslintrc.js):**
- Parser configuration
- Plugin setup
- Extends configuration
- Custom rules
- Environment settings
- Override patterns
- Ignore patterns
2. **Prettier Configuration (.prettierrc):**
- Formatting options
- Override for file types
- Plugin configuration
3. **TypeScript ESLint:**
- Type-aware rules
- Parser options
- Project references
4. **Framework-Specific:**
- React hooks rules
- Vue specific rules
- Import sorting
- A11y rules
5. **Integration:**
- VS Code settings
- WebStorm configuration
- Editor config
6. **Git Hooks (Husky):**
- Pre-commit hooks
- Pre-push hooks
- Commit message validation
7. **lint-staged Configuration:**
- File pattern matching
- Command sequences
- Concurrent execution
8. **Scripts (package.json):**
- Lint command
- Fix command
- Format check
- CI lint command
9. **Commitlint:**
- Commit message format
- Type definitions
- Scope configuration
Include migration guide from existing setup.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{PROJECT_TYPE][{STYLE_GUIDE][{TOOLS]