61-validate-lint-150

Run ESLint, TypeScript compilation, and unused code checks.

Updated Jan 30, 2025
One-click install
npx skills add https://github.com/MykhailoDmytriakha/my-preacher-helper --skill 61-validate-lint-150
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 61-validate-lint-150
Source: https://github.com/MykhailoDmytriakha/my-preacher-helper/tree/main/.codex/skills/61-validate-lint-150
Command: npx skills add https://github.com/MykhailoDmytriakha/my-preacher-helper --skill 61-validate-lint-150

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need for consistent code quality by running a comprehensive lint suite (ESLint, TypeScript compilation, and unused code detection) and providing detailed error reports with actionable fix suggestions.

Core Features & Use Cases

  • Run ESLint, TypeScript compilation, and unused code checks in a single pass.
  • Report all issues categorized by severity and type to guide fixes.
  • Verify resolutions by re-running checks and enforcing a quality gate before progress.

Quick Start

Run npm run lint:full to execute the complete lint suite and review results.

Frequently Asked Questions about 61-validate-lint-150

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run ESLint and TypeScript compilation checks together?

Run ESLint and TypeScript compilation checks together by executing a full lint suite that identifies code quality issues. This process reports errors by severity and verifies resolutions by re-running checks to enforce a quality gate.

How do I enforce zero lint errors before a pre-commit hook?

Enforce zero lint errors before a pre-commit hook by applying a comprehensive lint suite across commits. This quality gate requires clean compilation, no unused locals, and zero ESLint errors before allowing progress to proceed.

What is the best way to detect and fix unused code in a TypeScript project?

The best way to detect and fix unused code in a TypeScript project is running a combined static analysis suite. It performs unused code detection alongside ESLint and TypeScript compilation, providing detailed error reports with actionable fix suggestions.

Does this static analysis approach work for major codebase changes?

Yes, this static analysis approach works for major codebase changes by applying comprehensive lint checks across those scenarios. It ensures a clean and maintainable codebase by enforcing standards through strict compilation and unused code detection.

Why does my CI pipeline fail due to unused locals?

Your CI pipeline fails due to unused locals because a quality gate enforces zero unused code before proceeding. The static analysis suite detects these unused locals during TypeScript compilation and reports them as errors requiring fixes.