chore(deps): update dependency @antfu/eslint-config to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @antfu/eslint-config | 1.0.0-beta.26 -> 2.26.0 |
Release Notes
antfu/eslint-config (@antfu/eslint-config)
v2.26.0
🐞 Bug Fixes
ignoresTypeAwarereslove, fix #578 - by @antfu in https://github.com/antfu/eslint-config/issues/578 (e5ca2)- Check packages existence in local scope - by @paescuj and @antfu in https://github.com/antfu/eslint-config/issues/583 (12fd8)
View changes on GitHub
v2.25.2
🐞 Bug Fixes
- Migrate plugin eslint-comments - by @ntnyq in https://github.com/antfu/eslint-config/issues/577 (015e2)
View changes on GitHub
v2.25.1
🐞 Bug Fixes
- Migrate to new vitest plugin, close #576 - by @antfu in https://github.com/antfu/eslint-config/issues/576 (5e465)
View changes on GitHub
v2.25.0
🐞 Bug Fixes
- Default prettier
printWidth: 120not work as expected - by @HADB in https://github.com/antfu/eslint-config/issues/573 (8942c)
View changes on GitHub
v2.24.1
🚀 Features
View changes on GitHub
v2.24.0
🚀 Features
View changes on GitHub
v2.23.2
No significant changes
View changes on GitHub
v2.23.1
🐞 Bug Fixes
- Remove deprecated 'ts/prefer-ts-expect-error' rule - by @andylou0102 and AndyLuo in https://github.com/antfu/eslint-config/issues/549 (22517)
- Delete
svelte/valid-compilerule from eslint-plugin-svelte - by @ryoppippi in https://github.com/antfu/eslint-config/issues/552 (6e6cd) - Use
fixable: true- by @hyoban in https://github.com/antfu/eslint-config/issues/554 (9d53b)
View changes on GitHub
v2.23.0
🚀 Features
🐞 Bug Fixes
- Enable
eslint-config-flat-gitignoreeven if.gitignoreis not in cwd - by @lachlancollins in https://github.com/antfu/eslint-config/issues/547 (c118b) - Use a fork of
eslint-plugin-unused-imports- by @antfu (79442)
View changes on GitHub
v2.22.4
🐞 Bug Fixes
- typescript: Remove string[] from tsconfigPath as not supported in v8 - by @RayGuo-ergou in https://github.com/antfu/eslint-config/issues/545 (8c9e3)
View changes on GitHub
v2.22.3
🐞 Bug Fixes
- Add
.svelte-kitto ignored paths - by @lachlancollins in https://github.com/antfu/eslint-config/issues/542 (94fd0) - TsconifgPath configuration - by @vaiil in https://github.com/antfu/eslint-config/issues/541 (e1a9d)
View changes on GitHub
v2.22.2
🚀 Features
- Add
isolatedDeclarationsinto the order array - by @LoTwT in https://github.com/antfu/eslint-config/issues/537 (80597)
🐞 Bug Fixes
- typescript: Allow description for
ts-expect-errorin `ban-ts-c… - by @kevinmarrec and @antfu in https://github.com/antfu/eslint-config/issues/517 (bf7a5)
View changes on GitHub
v2.22.1
No significant changes
View changes on GitHub
v2.22.0
🚀 Features
- Use ts-eslint beta - by @antfu in https://github.com/antfu/eslint-config/issues/520 (c29ac)
- Add name to ignore config - by @antfu (48bcd)
🐞 Bug Fixes
- Relax
ts/no-empty-object-typerule - by @antfu (692e7) - Disable
ts/no-unused-expressionsin markdown - by @antfu (64894) - Avoid using
nameinignores- by @antfu (d7b06)
View changes on GitHub
v2.21.3
No significant changes
View changes on GitHub
v2.21.2
🚀 Features
- Add nvim support for
isInEditor- by @ryoppippi in https://github.com/antfu/eslint-config/issues/507 (8f992) - typescript:
- Add 'ts/return-await' rule - by @ryoppippi in https://github.com/antfu/eslint-config/issues/509 (498cb)
- Add
ts/switch-exhaustiveness-checkrule - by @ryoppippi in https://github.com/antfu/eslint-config/issues/508 (33c63) - Add 'ts/promise-function-async' to type aware rule - by @ryoppippi in https://github.com/antfu/eslint-config/issues/511 (e7cd2)
🐞 Bug Fixes
- Peer dependency version of svelte-eslint-parser - by @thenbe in https://github.com/antfu/eslint-config/issues/504 (435e1)
- Ignore vite timestamp file - by @CofCat456 in https://github.com/antfu/eslint-config/issues/515 (8f36c)
View changes on GitHub
v2.21.1
🚀 Features
- Add 'contributors' to sort - by @christopher-buss in https://github.com/antfu/eslint-config/issues/500 and https://github.com/antfu/eslint-config/issues/501 (6cde4)
🐞 Bug Fixes
View changes on GitHub
v2.21.0
🐞 Bug Fixes
- Only enable ts rules for ts files, fix #498 - by @antfu in https://github.com/antfu/eslint-config/issues/498 (87142)
- Include
.d.mtsand.d.cts- by @antfu (0582c) - Disbale type-aware in astro, handle formatter overrides with stylistic - by @tinchoz49 and @antfu in https://github.com/antfu/eslint-config/issues/493 (e3230)
- Include
.jsxfiles when the options set to true - by @antfu (96aff)
View changes on GitHub
v2.20.0
🚀 Features
- Update astro plugin to v1.0 - by @tinchoz49 and @antfu in https://github.com/antfu/eslint-config/issues/492 (49a9d)
View changes on GitHub
v2.19.2
🚀 Features
- typescript: Add strict-boolean-expressions rule - by @ryoppippi in https://github.com/antfu/eslint-config/issues/490 (c0426)
🐞 Bug Fixes
- TsconfigPath undefined - by @tinchoz49 in https://github.com/antfu/eslint-config/issues/491 (8c473)
View changes on GitHub
v2.19.1
🚀 Features
- Add jsx support in react without config. - by @eastonzh in https://github.com/antfu/eslint-config/issues/481 (87af9)
- cli: Add validation for CSS-related files - by @pudon in https://github.com/antfu/eslint-config/issues/478 (6ada3)
View changes on GitHub
v2.19.0
🚀 Features
View changes on GitHub
v2.18.1
🚀 Features
View changes on GitHub
v2.18.0
🚀 Features
- Add regexp plugin and enable by default - by @antfu (1e189)
- Support xml - by @zanfee and @antfu in https://github.com/antfu/eslint-config/issues/472 (19b4e)
View changes on GitHub
v2.17.0
🚀 Features
View changes on GitHub
v2.16.4
No significant changes
View changes on GitHub
v2.16.3
🚀 Features
View changes on GitHub
v2.16.2
No significant changes
View changes on GitHub
v2.16.1
🐞 Bug Fixes
View changes on GitHub
v2.16.0
🚀 Features
🐞 Bug Fixes
- react: Improve option for react-refresh, aware Remix and Next.js - by @antfu and @hyoban in https://github.com/antfu/eslint-config/issues/461 (24d4f)
View changes on GitHub
v2.15.0
🚨 Breaking Changes
- Migrate from eslint-plugin-react to eslint react - by @hyoban in https://github.com/antfu/eslint-config/issues/453 (86a74)
View changes on GitHub
v2.14.0
🚀 Features
View changes on GitHub
v2.13.4
🚀 Features
- Improve types support - by @antfu (6a7df)
- svelte: Add support for typing according to sveltejs/rfcs#38 - by @kelvindecosta in https://github.com/antfu/eslint-config/issues/450 and https://github.com/antfu/eslint-config/issues/38 (e0752)
🐞 Bug Fixes
- File pattern for htm files - by @Bernankez in https://github.com/antfu/eslint-config/issues/447 (b6e9a)
View changes on GitHub
v2.13.3
🐞 Bug Fixes
View changes on GitHub
v2.13.2
🐞 Bug Fixes
View changes on GitHub
v2.13.1
🚀 Features
View changes on GitHub
v2.13.0
🚀 Features
- Support solid.js - by @subframe7536 and @antfu in https://github.com/antfu/eslint-config/issues/441 (64061)
View changes on GitHub
v2.12.2
🚀 Features
View changes on GitHub
v2.12.1
🐞 Bug Fixes
View changes on GitHub
v2.12.0
🚀 Features
View changes on GitHub
v2.11.6
🚀 Features
- Generate types for core rules as well, resolve #439 - by @antfu in https://github.com/antfu/eslint-config/issues/439 (5ab92)
View changes on GitHub
v2.11.5
🐞 Bug Fixes
View changes on GitHub
v2.11.4
🐞 Bug Fixes
- Lower peer-deps requirement to
eslint-plugin-svelte, fix #437 - by @antfu in https://github.com/antfu/eslint-config/issues/437 (0b364) - cli: Make frameworks not required - by @antfu (914bf)
View changes on GitHub
v2.11.3
🚀 Features
View changes on GitHub
v2.11.2
No significant changes
View changes on GitHub
v2.11.1
🚀 Features
View changes on GitHub
v2.11.0
🚀 Features
View changes on GitHub
v2.10.1
No significant changes
View changes on GitHub
v2.10.0
🚀 Features
View changes on GitHub
v2.9.1
🚀 Features
- Graphql glob that supports .qgl extensions - by @tasiotas in https://github.com/antfu/eslint-config/issues/433 (f5862)
🐞 Bug Fixes
- Support eslint v9 - by @antfu in https://github.com/antfu/eslint-config/issues/432 (13c48)
View changes on GitHub
v2.9.0
🚀 Features
- Support more fields of packageJson as ascending order - by @mutoe in https://github.com/antfu/eslint-config/issues/359 (f4765)
- Automatically rename plugins in factory - by @antfu (77df2)
🐞 Bug Fixes
- Migrate to
eslint-plugin-import-x- by @antfu (ac0d0) - cli: Git clean check, fix #429 - by @antfu in https://github.com/antfu/eslint-config/issues/429 (fde70)
View changes on GitHub
v2.8.3
🚀 Features
- Improve cli - by @injurka and @antfu in https://github.com/antfu/eslint-config/issues/420 (bc13b)
View changes on GitHub
v2.8.2
🐞 Bug Fixes
- Cli-suggest-remove-files - by @injurka in https://github.com/antfu/eslint-config/issues/418 (30229)
- Ignore
.yarnfolder - by @HigherOrderLogic in https://github.com/antfu/eslint-config/issues/421 (d41a5) - import/newline-after-import: Disable
considerCommentoption - by @antfu (80f8e)
View changes on GitHub
v2.8.1
🚀 Features
View changes on GitHub
v2.8.0
🚀 Features
- Add prettier-plugin-astro for eslint-config formatter - by @kaivanwong in https://github.com/antfu/eslint-config/issues/413 (479c4)
View changes on GitHub
v2.7.0
🚀 Features
- Integrate slidev prettier plugin - by @antfu in https://github.com/antfu/eslint-config/issues/412 (f3e91)
- Update all deps - by @antfu (abcf6)
- Add eslint config for astro framework - by @kaivanwong and @antfu in https://github.com/antfu/eslint-config/issues/410 (4a0ad)
🐞 Bug Fixes
- Use
VSCODE_CWDto autodetect if in editor - by @kehwar in https://github.com/antfu/eslint-config/issues/402 (5c628) - svelte: Disable style/indent in svelte files - by @thenbe in https://github.com/antfu/eslint-config/issues/400 (ab920)
View changes on GitHub
v2.6.4
🚀 Features
🐞 Bug Fixes
- Pick
nameintofusedConfig. - by @lvjiaxuan in https://github.com/antfu/eslint-config/issues/397 (37070)
View changes on GitHub
v2.6.3
🚀 Features
- Use typescript project only for type-aware files, closes #380 - by @Dimava in https://github.com/antfu/eslint-config/issues/384 and https://github.com/antfu/eslint-config/issues/380 (9e2bf)
🐞 Bug Fixes
- Disable
vue/no-extra-parens- by @antfu (e74d9) - Unknown options: reportUnusedDisableDirectives - by @cunzaizhuyi in https://github.com/antfu/eslint-config/issues/395 (2e111)
- Add override options type for stylistic - by @gjfLeo in https://github.com/antfu/eslint-config/issues/391 and https://github.com/antfu/eslint-config/issues/392 (187e5)
View changes on GitHub
v2.6.2
🐞 Bug Fixes
- Add overrides missing in #371, close #382 - by @Dimava in https://github.com/antfu/eslint-config/issues/383, https://github.com/antfu/eslint-config/issues/371 and https://github.com/antfu/eslint-config/issues/382 (6ee2e)
- Honor eslint-disable-next-line in svelte files - by @squirmy in https://github.com/antfu/eslint-config/issues/379 (e3328)
View changes on GitHub
v2.6.1
🐞 Bug Fixes
View changes on GitHub
v2.6.0
🚀 Features
- Move
overridesoption inside each integrations - by @Debbl and @antfu in https://github.com/antfu/eslint-config/issues/371 (8af5b)
View changes on GitHub
v2.5.0
🚀 Features
- Detect if in (n)vim editor - by @thenbe in https://github.com/antfu/eslint-config/issues/365 (5ea1e)
- Svelte support - by @thenbe in https://github.com/antfu/eslint-config/issues/364 (ec631)
- Support overrides for
stylistic- by @antfu (a2d9b) - Set prettier's default
printWidthto120- by @antfu (84e4c) - Enable
antfu/no-import-dist- by @antfu (a5e7e)
🐞 Bug Fixes
- Only apply type-aware on ts files, close #375 - by @antfu in https://github.com/antfu/eslint-config/issues/375 (0c1c8)
View changes on GitHub
v2.4.6
🚀 Features
- Support packageJson.overrides field as ascending order - by @mutoe-archive in https://github.com/antfu/eslint-config/issues/358 (8011b)
- Make packageJson.peerDependenciesMeta as ascending order - by @mutoe-archive in https://github.com/antfu/eslint-config/issues/357 (058fb)
🐞 Bug Fixes
View changes on GitHub
v2.4.5
v2.4.4
🐞 Bug Fixes
View changes on GitHub
v2.4.3
🐞 Bug Fixes
- Vue2 presets name - by @yandixuan in https://github.com/antfu/eslint-config/issues/352 (2d3a6)
View changes on GitHub
v2.4.2
🐞 Bug Fixes
View changes on GitHub
v2.4.1
🐞 Bug Fixes
View changes on GitHub
v2.4.0
🚀 Features
- Support formatting blocks in Vue SFC - by @antfu (6c27e)
- Vue2 support - by @GerryWilko and @antfu in https://github.com/antfu/eslint-config/issues/351 (b1a37)
🐞 Bug Fixes
View changes on GitHub
v2.3.4
🚀 Features
View changes on GitHub
v2.3.3
🐞 Bug Fixes
View changes on GitHub
v2.3.2
🚀 Features
View changes on GitHub
v2.3.1
🚀 Features
View changes on GitHub
v2.3.0
🚀 Features
- Introduce formatters options - by @antfu in https://github.com/antfu/eslint-config/issues/349 (2d064)
View changes on GitHub
v2.2.2
🚀 Features
View changes on GitHub
v2.2.1
- Deprecate
prettierintegration #346
View changes on GitHub
v2.2.0
🚀 Features
- Use prettier to format CSS and HTML - by @antfu in https://github.com/antfu/eslint-config/issues/343 (cc315)
🐞 Bug Fixes
- Warning when running react - by @Joabesv in https://github.com/antfu/eslint-config/issues/339 (d31b4)
View changes on GitHub
v2.1.2
🚀 Features
View changes on GitHub
v2.1.1
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v2.1.0
🚀 Features
- Optional react support - by @suppayami and @antfu in https://github.com/antfu/eslint-config/issues/326 (86ca1)
- Allow customize
files, close #327 - by @antfu in https://github.com/antfu/eslint-config/issues/327 (44d9e)
🐞 Bug Fixes
View changes on GitHub
v2.0.0
🚨 Breaking Changes
- Convert all configs to async, support on-demand import - by @antfu in https://github.com/antfu/eslint-config/issues/323 (234e9)
🚀 Features
View changes on GitHub
v1.2.1
🐞 Bug Fixes
View changes on GitHub
v1.2.0
🚀 Features
View changes on GitHub
v1.1.4
🐞 Bug Fixes
View changes on GitHub
v1.1.3
🚀 Features
- Add more ignores - by @tomgao365 in [https://github.com/antfu/eslint-config/issues/321](https://togithub.com/antfu/eslint-config/issues/
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - "before 4am on the first day of the month" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Walkthrough
This update involves upgrading the @antfu/eslint-config package in the devDependencies section of the package.json file across multiple instances, with versions changing from 1.0.0-beta.26 to 2.27.3. These upgrades are expected to introduce new linting rules, improvements, and bug fixes, potentially impacting code quality and adherence to coding standards throughout the project.
Changes
| File | Change Summary |
|---|---|
package.json |
Updated @antfu/eslint-config from 1.0.0-beta.26 to 2.27.3 |
Poem
🐇 In the code we jump and play,
Upgraded linting leads the way!
With rules so bright, our paths align,
Code quality sings, oh how divine!
Let's hop and cheer, a joyful spree,
For cleaner code, just wait and see! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Other keywords and placeholders
- Add
@coderabbitai ignoreanywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summaryto generate the high-level summary at a specific location in the PR description. - Add
@coderabbitaianywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.