lint-config

lint-config is a cursor rule for Cursor from louisbrulenaudet/monorepo-template. It costs 0 tokens per session (843 once invoked), scanned A, original, Apache-2.0.

Documentation for the project's linting and formatting configuration, including OXC, React Doctor, and Tailwind CSS rules. Linting checks source code for likely mistakes or unwanted patterns, while formatting standardizes its layout.

In plain words
What is it for?
Use it when changing lint rules, formatter settings, React checks, or Tailwind CSS class ordering.
Why use it?
It explains why the configuration is unusual and helps prevent changes that create false errors or make checks behave differently in local development and continuous integration.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when changing lint rules, formatter settings, React checks, or Tailwind CSS class ordering.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/louisbrulenaudet/monorepo-template/lint-config
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/louisbrulenaudet/monorepo-template

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lint-config

README.md
[![agentmods](https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/lint-config/github.svg)](https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/lint-config)
Your own site
<a href="https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/lint-config"><img src="https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/lint-config/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lint-config

Your own site · 80×15
<a href="https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/lint-config"><img src="https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/lint-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00843
Opus 5.5 $0.00000 $0.00337
Sonnet 5.5 $0.00000 $0.00169
Haiku 4.5 $0.00000 $0.00084

Measured 7d ago against content hash 3b5b67a32949, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lint-config scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/quality/lint-config.mdc · 30 lines

How it starts

The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lint and Static-Analysis Config

OXC is the source of truth: .oxlintrc.json (lint) and .oxfmtrc.json (format); React Doctor adds doctor.config.jsonc. This rule holds the rationale for their non-obvious settings; the authoring consequences live in code-style.mdc, tailwind.mdc, and react.mdc.

oxlint

  • denyWarnings: true: any warning fails CI.
  • typeAware: true, but oxlint's experimental options.typeCheck stays off: type checking stays with tsc (turbo run check-types), which keeps Turbo's per-package caching and --affected.
  • respectEslintDisableDirectives: false with reportUnusedDisableDirectives: "error": eslint-disable* comments are ignored, and any stray one fails CI.
  • The apps/front-*/src/** override restates the full plugins list on purpose: override plugins extend the base, but trimming the list to react / jsx-a11y enables react/react-in-jsx-scope (dozens of false errors). Hook rules and jsx-a11y live in that override; no ESLint toolchain exists alongside.
  • OXC always runs from the repo root because better-tailwindcss resolves settings.better-tailwindcss.entryPoint against the process CWD, not against .oxlintrc.json: oxlint . inside apps/front-app resolves apps/front-app/apps/front-app/src/index.css, so the theme-aware rules print a "No tailwind css entry point found" banner on every message and no-unknown-classes rejects every @theme token. Scope by path instead (pnpm --filter=front-app run lint:check).

better-tailwindcss

  • Runs as an oxlint JS plugin on apps/front-*/src/**/*.{ts,tsx}; entryPoint points at apps/front-app/src/index.css so the theme is known.
  • Enabled, all error: enforce-canonical-classes, no-concatenated-classes, no-conflicting-classes, no-deprecated-classes (catches v3 names in v4), no-duplicate-classes, no-unknown-classes, no-unnecessary-whitespace. The four that need the theme: enforce-canonical-classes, no-conflicting-classes, no-deprecated-classes, no-unknown-classes. no-unknown-classes is the strongest guard for AI-authored markup.
  • enforce-consistent-class-order stays off: oxfmt owns ordering through sortTailwindcss.stylesheet (the prettier-plugin-tailwindcss algorithm, resolved relative to .oxfmtrc.json, so CWD-independent), and the two must not disagree.
  • enforce-consistent-line-wrapping stays off: oxfmt owns JS/JSX layout, and the two would fight over className wrapping.

Read the full file on GitHub · 30 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 30 lines · 0 tokens per session scan A 3b5b67a32949

Subscribe to this mod's changes

lint-config is a cursor rule published in the GitHub repository louisbrulenaudet/monorepo-template (18 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 843 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.