eslint

Solid

ESLint is the standard linting tool for JavaScript and TypeScript projects. It statically analyzes your code to find problems, enforce coding conventions, and catch bugs before they reach production. ESLint 9 introduced the flat config format, replacing the legacy `.eslintrc` system with a simpler, more composable `eslint.config.js` file. With a rich plugin ecosystem covering React, TypeScript, accessibility, and import ordering, ESLint is the backbone of code quality in modern web development.

Code & Development 62 stars 6 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
60
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ESLint — JavaScript and TypeScript Linting ESLint reads your source code, applies a set of rules, and reports problems ranging from stylistic inconsistencies to genuine bugs. It catches unused variables, missing return statements, inconsistent naming, accessibility violations, and hundreds of other issues that slip past even careful code review. This skill covers ESLint 9+ with the modern flat config format. If you're starting a new project or migrating from the legacy `.eslintrc` format, flat config is the way forward. ## Installing ESLint ESLint 9 ships as a single package. TypeScript and React support come from companion plugins. ```bash # Install ESLint and common plugins for a TypeScript React project npm install --save-dev eslint @eslint/js typescript-eslint eslint-plugin-react eslint-plugin-react-hooks ``` ## Flat Config Basics The flat config lives in `eslint.config.js` (or `.mjs`, `.ts`) at your project root. Instead of deeply nested JSON with `extends` and `overrides`, flat config uses an array of configuration objects. Each object applies to files matching its `files` glob pattern. ```javascript // eslint.config.js — Flat config for a TypeScript project import js from '@eslint/js'; import tseslint from 'typescript-eslint'; export default [ // Base JavaScript recommended rules js.configs.recommended, // TypeScript recommended rules (type-aware) ...tseslint.configs.recommended, // Custom configuration for source files { files: ['src/**/*....

Details

Author
TerminalSkills
Repository
TerminalSkills/skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Shell
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

eslint

ESLint configuration, custom rules, and plugin development.

1,160 Updated today
a5c-ai
Code & Development Listed

code-quality

ESLint, Prettier, Ruff, mypy, and TypeScript strict mode configuration patterns. Use when setting up linting, formatting, or code quality tooling for a new project, reviewing existing configs, generating config files, or adding lint steps to CI. Triggers on tasks involving ESLint, Prettier, Ruff, mypy, Black, code style, linting, formatting, or code quality enforcement.

0 Updated today
Brite-Nites
Code & Development Listed

js-lint-config

ESLint 9 flat config tier pattern (Tier 1 strict / 1.5 core-exempt / 1.7 deferred-migration / 2 test / Global vendor ignores), custom no-restricted-syntax AST selectors, project legacy-globals whitelist three-way sync (eslint config / TS ambient .d.ts / JSDoc typedef), TypeScript noEmit gate design, progress-measurement grep templates. Use when planning per-leaf cleanup, adding a leaf that introduces a new global, interpreting /ts-check-status output, validating Phase 2 exit gate, editing eslint.config.js or tsconfig.json, frontend-reviewer auditing tier consistency, or deciding which tier a new file belongs to. Not for everyday JS business-logic writing or simple AJAX wrapper lookups.

1 Updated today
hmj1026
Code & Development Listed

lint-typecheck

Run ESLint and TypeScript type checking on the frontend codebase. Use when user mentions "lint", "type check", "check code", "eslint", "tsc", or before committing changes.

335 Updated today
aiskillstore
Code & Development Listed

lint

How to lint and typecheck in this project. Load when implementing or verifying code.

335 Updated today
aiskillstore