{
 "kind": "tool",
 "slug": "stylelint",
 "path": "tools/stylelint/",
 "name": "stylelint",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Linting and formatting",
   "tools/lint-format/"
  ]
 ],
 "lead": "Linter that finds and fixes CSS errors and enforces code style conventions.",
 "chips": [
  {
   "label": "Linting and formatting",
   "path": "tools/lint-format/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install stylelint"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/stylelint/stylelint"
  },
  {
   "label": "Website",
   "href": "https://stylelint.io"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/stylelint/stylelint"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 20, 2026. ",
   "src": "https://github.com/stylelint/stylelint"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "107 projects",
   "status": "info",
   "sub": "#7 of 83 in its category",
   "note": "Dependency in 107 public GitHub projects set up for AI coding agents that we scanned (1.7%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What stylelint does",
   "parts": [
    {
     "t": "prose",
     "text": "Linter that finds and fixes CSS errors and enforces code style conventions."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "stylelint popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "70",
       "of": "/ 100",
       "l": "Gid Score, #390 overall"
      },
      {
       "n": "14.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "11.6K",
       "l": "GitHub stars"
      },
      {
       "n": "107",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How stylelint is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "stylelint is a dependency in 107 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.2% of the 4,867 JavaScript/TypeScript ones), #7 of 83 in linting and formatting.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 216; those are left out of every share on this page.",
      "The most used alternative in our scan is ESLint (2,282 projects).",
      "Projects that use it most often also use stylelint-config-standard (54.2%), ESLint (78.5%), jsdom (40.2%).",
      "It is more common in projects set up for Continue (7.9%) than for Cursor (1.5%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "65 projects, 2.0%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "61 projects, 2.0%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "37 projects, 1.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "11 projects, 2.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "11 projects, 2.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "7 projects, 2.0%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "6 projects, 1.8%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "5 projects, 7.9%",
       "v": "Continue",
       "path": "agents/continue/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 54.2% of its projects",
       "v": "stylelint-config-standard",
       "path": "tools/stylelint-config-standard/"
      },
      {
       "l": "In 78.5% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 40.2% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 57.9% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 50.5% of its projects",
       "v": "Playwright (JavaScript)",
       "path": "tools/playwright-test/"
      },
      {
       "l": "In 33.6% of its projects",
       "v": "lint-staged",
       "path": "tools/lint-staged/"
      },
      {
       "l": "In 81.3% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 44.9% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about stylelint",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/stylelint",
        "Open Collective: https://opencollective.com/stylelint",
        "7 GitHub sponsors"
       ]
      },
      {
       "title": "More in Linting and formatting",
       "path": "tools/lint-format/",
       "items": [
        {
         "text": "oxlint",
         "path": "tools/oxlint/"
        },
        {
         "text": "oxfmt",
         "path": "tools/oxfmt/"
        },
        {
         "text": "Knip",
         "path": "tools/knip/"
        },
        {
         "text": "ESLint Import Resolver TypeScript",
         "path": "tools/eslint-import-resolver-typescript/"
        },
        {
         "text": "oxlint-tsgolint",
         "path": "tools/oxlint-tsgolint/"
        },
        {
         "text": "Black",
         "path": "tools/black/"
        },
        {
         "text": "svelte-check",
         "path": "tools/svelte-check/"
        },
        {
         "text": "Nx ESLint Plugin",
         "path": "tools/nx-eslint/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "stylelint",
       "me": true,
       "facts": [
        "MIT",
        "Gid 70",
        "14.9M/wk"
       ]
      },
      {
       "name": "ESLint",
       "why": "Linter that finds and fixes JavaScript code patterns based on AST analysis.",
       "path": "tools/eslint/",
       "facts": [
        "MIT",
        "Gid 87",
        "216M/wk"
       ]
      },
      {
       "name": "Prettier",
       "why": "Opinionated code formatter for JavaScript, TypeScript, and related languages.",
       "path": "tools/prettier/",
       "facts": [
        "MIT",
        "Gid 90",
        "197M/wk"
       ]
      },
      {
       "name": "Biome",
       "why": "Fast web toolchain providing linting, formatting and code quality all in one.",
       "path": "tools/biomejs/",
       "facts": [
        "MIT OR Apache-2.0",
        "Gid 82",
        "30.3M/wk"
       ]
      }
     ],
     "more": "Compare stylelint with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install stylelint"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for stylelint yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm stylelint"
  ],
  [
   "Category",
   "Linting and formatting"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "69.9"
  ],
  [
   "Rank in category",
   "#7 of 83"
  ],
  [
   "GitHub",
   "stylelint/stylelint"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/stylelint.png"
}