Zero Warnings Enforcer

Community

Eliminate code warnings, ensure pristine, maintainable code.

AuthorRomualdP
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces a "Zero Warnings" policy, eliminating technical debt and improving code quality by strictly prohibiting ignored ESLint warnings, TypeScript errors, and weak types, leading to more reliable and maintainable software.

Core Features & Use Cases

  • Broken Window Theory: Applies the principle that even small ignored issues lead to rapid code degradation, promoting immediate correction of all warnings and errors.
  • Strict ESLint & TypeScript Rules: Provides guidance on configuring and adhering to strict linting and typing rules, including how to fix common issues like unused variables, any types, and unhandled promises.
  • Quality Gates: Integrates pre-commit hooks (Husky, lint-staged) and CI/CD pipelines to enforce zero warnings/errors before code is merged or deployed.
  • Use Case: During a code review, if a developer introduces a new ESLint warning or TypeScript error, this Skill guides them to identify the root cause and fix it properly, rather than suppressing the warning.

Quick Start

To ensure zero warnings, run yarn lint --max-warnings 0 and yarn tsc --noEmit before every commit. If a warning or error appears, identify its root cause and fix it, never disable the rule.

Dependency Matrix

Required Modules

eslinttypescripthuskylint-staged

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Zero Warnings Enforcer
Download link: https://github.com/RomualdP/hoki/archive/main.zip#zero-warnings-enforcer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository