Commit activity
Last 12 weeks · 13 commits
Community health
5 of 6 standards met
Recent PRs & issues
sorted the package.json array with a plain ascending order. Because sorts before letters, negated patterns such as were moved in front of the includes. npm ignores a negation that comes before the entries it should exclude, so running caused excluded files to be published. The rule now uses its two-group option. Non-negated entries () are sorted ascending first. Negated entries () are sorted ascending after them. Arrays that contain no negations are sorted the same way as before. I added , which runs ESLint with on package.json content. It checks that and end up with the includes first and the negations last. Both cases fail without this change and pass with it. The factory snapshot tests are unchanged and still pass. 🤖 Generated with Claude Code Fixes #763 _This change was prepared with an AI coding agent (Claude) and reviewed by me before submitting. I'm happy to make any changes you'd like._
Summary Rebased onto current . MDX is enabled whenever Markdown is enabled, matching the original PR, so there is no extra MDX on/off switch. is enabled by default, so linting is enabled by default. Set to disable both Markdown and MDX. defaults to (); set it to to use for too. always uses . remains enabled; global components should be provided through . Formatters: avoids when is ; gets a Prettier formatter. Restored the original fixture cases across all fixture configurations. Removed the old token/comment filtering workaround; eslint-mdx 3.9.0 aligns the AST body and token stream. Validation The repository-wide still reports one pre-existing README formatting issue.
Recent fixes
Issue Bump to v1.1.0 and pin Prettier via the pnpm catalog. 🧭 Context v1 requires Prettier as a peer dependency and ships a new formatting style for Astro templates. The optional peer was still on , and Prettier itself was not declared in the workspace catalog / resolutions, which made the peer resolution less explicit. 📚 Description Bump from → in , , and . Add to the catalog and resolve it via in . Update the Astro formatter fixture () to match the new output from v1 (inline JSX inside `pnpm-lock.yaml@astrojs/compiler-rs@prettier/parse-srcsetsass-formatter@0.8.0`, etc.).
🔗 Linked issue Related: https://github.com/antfu/eslint-config/issues/411. 🧭 Context Clarify how the configuration factory and file-scoped overrides work in the documented setup. 📚 Description Preserve the default and patterns. Show an explicit Vue opt-in with , and including , without redundant parser settings. Validation README lint passed. Printed configuration and actual lint fixtures verified the documented Vue opt-in: default had no floating-promise finding; opt-in had one without parser errors.
Repository: antfu/eslint-config. Description: Anthony's ESLint config preset Stars: 6287, Forks: 576. Primary language: JavaScript. Languages: JavaScript (58.2%), TypeScript (39.4%), Vue (1.8%), HTML (0.3%), Astro (0.2%). License: MIT. Homepage: https://eslint-config.antfu.me/ Topics: eslint, eslint-config, eslint-flat-config. Latest release: v10.0.0 (1mo ago). Open PRs: 8, open issues: 49. Last activity: 1mo ago. Community health: 85%. Top contributors: antfu, renovate-bot, zanminkian, hyoban, ryoppippi, renovate[bot], 9romise, Debbl, Dimava, thenbe and others.