Lint JavaScript code

SkillWeb & browsing

javascript-linter is a skill for AI agents that guides them through linting JavaScript code with ESLint. It covers setting up linting, applying shared configs, and reviewing scripts, client components, and bundles so fixes target the real bug rather than a symptom.

Available today. Use it from your connected AI after setup.

Have a JavaScript project with ESLint available as your linting tool.

Then ask your AI: use the Lint JavaScript code skill

What your AI can do with it

  • Set up ESLint using pnpm dlx eslint --init
  • Apply shared configs such as eslint:recommended and @typescript-eslint
  • Detect syntax errors and enforce team coding standards automatically
  • Review scripts, client components, and browser execution paths for rule violations
  • Flag imports, event handlers, runtime side effects, and blocking operations
  • Explain how linting prevents bugs and improves code readability

Getting started

  1. Have a JavaScript project with ESLint available as your linting tool.
  2. Add the javascript-linter skill to your agent's skills so it can be triggered when reviewing scripts.
  3. Ask the agent to review a script, client component, or bundle related to linting.
  4. Follow the agent's guidance to configure ESLint rules and plugins and fix reported errors and warnings.
  5. Add lint checks to your CI/CD pipeline so issues are caught before runtime.

What this skill tells your AI

The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/javascript-linter/SKILL.md and read by ahel’s review.

Linting catches bugs before runtime, enforces team coding standards, and prevents common mistakes that slip through code review.

Quick Reference

  • Set up ESLint with pnpm dlx eslint --init
  • Use shared configs (eslint:recommended, @typescript-eslint)
  • Integrate with your editor for real-time feedback
  • Add lint checks to CI/CD pipeline

Check

Set up JavaScript linting tools like ESLint to automatically detect syntax errors, enforce coding standards, and maintain consistent code quality across the team.

Fix

Configure ESLint with appropriate rules and plugins, integrate it into your development workflow, and fix all linting errors and warnings.

Explain

Explain how JavaScript linting prevents bugs, enforces consistent coding standards, improves code readability, and catches potential issues before runtime.

Code Review

Review scripts, client components, and browser execution paths related to Lint JavaScript code. Flag exact imports, event handlers, runtime side effects, or blocking operations that violate the rule, and state how the change should be verified in the browser.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/javascript/javascript-linter

Signals

GitHub stars
74k
Forks
7k
Last commit
Aug 2026

ahel review

  • K1binfo
    installs-packages (in references/rule.md)

Automated review, not a security audit. Ruleset v1+k2.

Questions

What does this skill do?
It guides an agent through setting up and using JavaScript linting with ESLint, and through reviewing scripts, client components, and browser execution paths so fixes target the real bottleneck or bug.
Which linting tool does it use?
ESLint. Setup can be started with pnpm dlx eslint --init, and shared configs like eslint:recommended and @typescript-eslint can be used.
How long does it take to apply?
The skill lists an estimated time of 20 minutes and is rated beginner difficulty.
Advanced
Item type
skill
Key
javascript-linter
Source
github.com/thedaviddias/front-end-checklist