lint

Run tsc noEmit and eslint lint checks on TypeScript and JavaScript projects.

114|29|Updated Nov 23, 2019
One-click install
npx skills add https://github.com/helderberto/dotfiles --skill lint-helderberto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/helderberto/dotfiles/tree/main/claude/.claude/skills/lint
Command: npx skills add https://github.com/helderberto/dotfiles --skill lint-helderberto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires typescript, eslint.

What problem does it solve?

This Skill helps developers maintain code quality by running lint checks to catch syntax errors, stylistic issues, and potential bugs before they reach production.

Core Features & Use Cases

  • Automatic linting: Run tsc noEmit and eslint to ensure TypeScript/JavaScript code adheres to project standards.
  • Error remediation guidance: Provide guidance and references for fixes without forcing changes.
  • Use Case: In a PR review, run the lint command to surface issues, then apply npm run lint-fix if the author wants auto-corrections.

Quick Start

Run npm run lint to perform a full lint check on the project. If you want to auto-fix issues, run npm run lint-fix.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I run automated lint checks for a TypeScript project using eslint?

You can run automated lint checks by executing `npm run lint` in your TypeScript project. This command runs `tsc --noEmit` and `eslint` to catch syntax errors, stylistic issues, and potential bugs before production.

What is the best way to auto-fix linting errors in a JavaScript CI pipeline?

The best way to auto-fix linting errors is to run `npm run lint-fix`. This applies automatic corrections for stylistic and syntax issues found during the lint check without forcing manual changes.

Do I need eslint and typescript installed as dev dependencies to use this lint skill?

Yes, you need eslint and typescript installed as dev dependencies in your project. You also need npm and a `package.json` file containing scripts named `lint` and optionally `lint-fix`.

Can I use this linting workflow in local development or is it only for CI pipelines?

You can use this linting workflow in both CI pipelines and local development environments. It helps developers enforce code quality by catching syntax errors and stylistic issues during PR reviews or local coding.

Why does the lint command provide error remediation guidance instead of forcing changes?

The lint command provides error remediation guidance and references for fixes to give developers control over their code. It surfaces issues during PR reviews so authors can decide whether to apply auto-corrections.