windsurf-linting-config

根据项目需求自动配置代码质量检测体系,支持主流静态分析工具的规则设定与格式化集成,实现开发流程中的风格统一和错误预防,适用于本地协作及持续集成环境。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill "windsurf-linting-config"

Windsurf Linting Config

Overview

This skill enables comprehensive linting configuration within Windsurf. Cascade assists with ESLint, Prettier, Stylelint, and other linting tool setup, helping resolve configuration conflicts, suggesting rules based on project patterns, and automating code quality enforcement.

Prerequisites

  • Windsurf IDE with Cascade enabled
  • Node.js for JavaScript/TypeScript projects
  • Package manager (npm, yarn, pnpm)
  • Understanding of code style preferences
  • Team agreement on quality standards

Instructions

  1. Choose Base Configuration
  2. Configure Rules
  3. Set Up Prettier Integration
  4. Add Pre-Commit Hooks
  5. Integrate with CI

See ${CLAUDE_SKILL_DIR}/references/implementation.md for detailed implementation guide.

Output

  • Configured .eslintrc.js
  • Prettier configuration
  • Pre-commit hooks
  • CI integration

Error Handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources