CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 17:09:55 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"8c79c1de51b612cda0ad6969eec67f8c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=dWTSL7vXGWsl%2FHJwwvQNS47zzU2t7VuWzbyKLig9jrIgU9%2BbmufOuTltrCqqobz7o2GRfMHh81%2B9BM%2BaWP4cyZAkuqGgczIAGLdDc8a8DVKZOSQ6sgiggdPzH5fvuj4cMEKbpU86u%2FoKXt%2FyJRXKd%2Bg5GblpO2RYHrpZc7xTwg%2B1GcXToYN8l5apjrVBPUesLaoKNRfjZwSPkjsYuYr1zYHTDT7wQlO8d4JHk83rcDWEvBzR4I6ToWBBQeB%2F8Slk7liQfwyqz90rZ2JVhuK0fw%3D%3D--hAQKZ8flKY80Ja49--6KFD19VBLkl6w6bDpxa%2FSA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.905248929.1753290595; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 17:09:55 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 17:09:55 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C518:39062F:F0C4F1:11C9853:68811763
Release v1.0.0 · antfu/eslint-config · GitHub
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 541
v1.0.0
Compare
Breaking Changes
- Use ESLint Flat config, users need to migrate to the new config style as well
@antfu/eslint-config-*
are packages all dropped, as@antfu/eslint-config
provides much better composability now.@antfu/eslint-config-react
is removed, but JSX formatting support is enabled by default now.ESLINT_TSCONFIG
no longer works, use thetypescript
option ineslint.config.js
instead- Requires ESLint v8
- Rename plugin prefixes
@typescript-eslint/*
->ts/
n/*
->node/*
- etc.
Generated changelog:
🚨 Breaking Changes
- Use flat config - by @antfu in #250 (3ad62)
- New config factory instead of presets - by @antfu (9ee68)
- Rename plugin prefixes for consistency - by @antfu (f31a8)
- De-monorepo - by @antfu (5c3ce)
- Use unified stylistic rules - by @antfu (0ce3a)
- Make all configs function for consistency and immutability - by @antfu (11e31)
- Rename
typescriptWithLanguageServer
totypescriptWithTypes
- by @antfu (ffe00) - Set plugin alias of
yml/
toyaml/
- by @antfu (917dd) - Fix type aware rules, merge
typescriptWithTypes
totypescript
- by @antfu (3fae7)
🚀 Features
- Ship types, and a
combine
util - by @antfu (000a2) - Make it side-effects free - by @antfu (70fc8)
- Enable
antfu/consistent-object-newline
- by @antfu (e3b3a) - Support passing flat config to the first arg - by @antfu (ce925)
- Support reading
.gitignore
by default, close #254 - by @antfu in #254 (2f35d) - Expose globs - by @antfu (05073)
- Support rules override, close #255 - by @antfu in #255 (39353)
- Granular stylistic control - by @antfu (30c87)
- Add
componentExts
to top level config - by @antfu (2080b) - Add
eslint-plugin-vitest
- by @antfu (002bb) - Use ts parser even for JS, for better language compatibility - by @antfu (e0757)
- Add
name
for each config item - by @antfu (d4cfe) - Update stylistic plugins - by @antfu (9326e)
- Re-organize tsconfig sort - by @antfu (1261b)
- Add
style/jsx-quotes
rule - by @antfu (5291c) - Ban declarations in ts file - by @so1ve in #264 (a76fd)
- Allow customize indent and quotes - by @antfu (bbac1)
- Type support for rules - by @antfu (44745)
- Add types for
antfu/
- by @antfu (64e3f) - Bring back
reportUnusedDisableDirectives
- by @antfu (6320c) - Enable basic jsx stylistic rules, close #185 - by @antfu in #185 (2dfb5)
- Enable
no-import-type-side-effects
, close #227 - by @antfu in #227 (cb4b7) - Update jsx default config - by @promise96319 and @antfu in #281 (987b9)
- Add optional
sort-keys
plugin - by @antfu (f8ae1) - Typescript.tsconfigPath array support - by @rost-git and @antfu in #306 (54652)
🐞 Bug Fixes
- Move stylistic files - by @antfu (7070d)
- Stylistic overrides - by @antfu (60746)
- Disable
ts/no-invalid-void-type
- by @antfu (db397) - Improve rules - by @antfu (9ffcf)
- Ship cjs build as well - by @antfu (f0b67)
- Disable
comma-dangle
in markdown - by @antfu (34bbd) - Install plugins globally for easy overrides - by @antfu (6a72b)
- Remove
jsdoc/no-types
rule - by @antfu (91dee) - Disable type aware rules in markdown - by @antfu (edb7f)
- Update
style/quotes
- by @antfu (5f554) - Allow
Function
type forts/ban-types
- by @antfu (6a4cf) - Disable few rules - by @antfu (4da0b)
- Disable
jsdoc/valid-types
- by @antfu (d1024) - Ignores - by @antfu (ae3e6)
- Add lockfile glob for bun - by @rubiin in #262 (7efac)
- Yaml indent - by @so1ve in #267 (757bb)
- Disable
no-restricted-syntax
in d.ts - by @antfu (d98a8) - Enforce name casing for unregistered components - by @vaibhav11s in #289 (ba704)
- Improve typescript options type - by @antfu (8b5cb)
- Add default
extraFileExtensions
to type aware rules - by @antfu (0a9bc) - Prop names should always use camelCase during declaration. - by @kaivanwong in #293 (1c322)
- Use "source.fixAll.eslint" to avoid builtin autofixes dropping code - by @Dimava in #299 (33554)
- Remove
no-void
rule, close #298 - by @antfu in #298 (90b36) - Revert #289 - by @qin-guan in #302 and #289 (52b4f)
- jsonc: Indent config - by @antfu (45e30)
- jsx: Turn off
style/jsx-child-element-spacing
to avoid conflicts - by @antfu (f4a07) - style/quotes: Disable
avoidEscape
for consistency - by @antfu (47657) - unicorn: Rename
prefer-text-content
-> `prefer-dom-node-text-c… - by @coderwyd in #271 (87282)
View changes on GitHub
Assets 2
28 people reacted
You can’t perform that action at this time.