xiaohongshu
xiaohongshu
61-validate-lint-150
[61] VALIDATE. Comprehensive code quality check combining ESLint, TypeScript compilation, and unused code detection. Runs full lint suite with detailed error reporting and fix suggestions. Use before commits, after major changes, or when ensuring code quality standards.
Full skill instructions
Core Principle: Code quality is non-negotiable. Run comprehensive checks before any delivery. Catch issues early, fix systematically.
When you invoke this skill, you're asking AI to:
| Dimension | 100% Core | +50% Enhancement |
|---|---|---|
| ESLint | No lint errors | + Consistent code style |
| TypeScript | Compiles cleanly | + Strict type checking |
| Unused Code | No unused locals | + Clean imports/exports |
| Standards | Follows rules | + Project conventions |
LINT INTEGRITY CHECK (100% Required)
├── ESLint Rules: No violations (style, logic, best practices)
├── TypeScript: Clean compilation, no type errors
├── Unused Code: No unused locals (parameters allowed for interfaces)
└── Import Hygiene: Clean, organized imports
ENHANCED VALIDATION (50% Enhancement)
├── Code Standards: Follows project conventions
├── Complexity: Cognitive complexity within limits
├── Consistency: Matches codebase patterns
└── Future-Proofing: No deprecated patterns
from my-preacher-helper/
npm run lint:full
This runs three sequential checks:
npm run lint — ESLint code quality rulesnpm run compile — TypeScript compilation checknpm run lint:unused — Unused code detection| Error Type | Severity | Action Required |
|---|---|---|
| ESLint Error | High | Must fix before commit |
| TypeScript Error | Critical | Blocks compilation |
| Unused Local | Medium | Remove or prefix with _ |
| Import Issues | Medium | Clean up imports |
# Auto-fix what can be auto-fixed
npm run lint -- --fix
# Manual fixes for complex issues
# - Add missing JSDoc
# - Fix import order
# - Remove duplicate code
// Fix common type errors
// 1. Add missing type annotations
// 2. Import missing types
// 3. Fix property access on union types
// 4. Add null/undefined checks
// For intentionally unused parameters (interfaces)
function handler(_unused: string) { /* ... */ }
// For temporarily unused locals
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const tempVar = 'remove later';
npm run lint:full
For each error category:
├── Fix critical TypeScript errors first
├── Fix ESLint errors next
├── Clean unused code last
└── Re-run checks after each category
npm run lint:full
| Failure Mode | Detection | Recovery |
|---|---|---|
| Auto-fix breaks logic | Tests fail after --fix | Revert auto-fixes, manual repair |
| TypeScript strictness | Overly complex type fixes | Use any with TODO comment |
| Unused but needed | Removal breaks functionality | Add _ prefix or eslint-disable |
| Import cycles | Complex dependency issues | Restructure imports or use barrels |
| Metric | Target | Current Status |
|---|---|---|
| ESLint Violations | 0 | Check required |
| TypeScript Errors | 0 | Check required |
| Unused Code | 0 locals | Check required |
| Build Success | 100% | Must pass |
Lint 150 ensures code quality standards are maintained at the highest level, preventing technical debt and maintaining codebase health.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience