Eslint Antfu, 2. 8. Re-export Rules for Each Plugin import { VitestRules, VueRules, // The video explores the new ESLint Flat Config system, which has become the default in version 9. json设置能有 Concatenate multiple ESLint flat configs into one, resolve the promises, and flatten the array. 0, the factory function antfu() returns a FlatConfigComposer object from eslint-flat-config-utils where you can chain the methods to compose the config even more flexibly. Contribute to tysian/antfu-eslint-config development by creating an account on GitHub. Download eslint-config for free. Start using @antfu/eslint-config in your project by running `npm i @antfu/eslint-config`. 安装 pnpm add -D eslint @antfu/eslint-config vue3 格式化 : antfu 组合 prettier & eslint & 提交格式化校验. It provides a single @antfu/eslint-config Single quotes, no semi Auto fix for formatting (aimed to be used standalone without Prettier) Designed to work with TypeScript, Vue out-of-box Lint also for json, yaml, markdown Sorted Anthony's ESLint config. A comprehensive ESLint configuration guide by Anthony Fu, offering best practices and tools to enhance your JavaScript and TypeScript development experience. ESlint config used for Nuxt. I added a few modules, devtools, nuxt fontc, image icons and eslint. 1 with MIT licence at our NPM packages aggregator and search engine. This plugin does not do language detection or reading configure files, you need to specify the language for each file type you want to format along with other Anthony's ESLint config preset. ESLint Plugin Command is a special kind of ESLint plugin, that by default, does nothing. Start using eslint-plugin-antfu in your project by running `npm i eslint-plugin-antfu`. The Markdown processor automatically ran on . Eslint config guide with Antfu eslint. Changes In This Fork 1. Start using @antfu/eslint-config-vue in your project by running `npm i @antfu/eslint-config-vue`. 1, last published: a year ago. i want to add eslint-config-next ( next js own eslint) with antfu , any idea ? 探索 Antfu ESLint 配置:一款极为便捷的 ESLint 设置方案 前言 在前不久的 12 月 07 日,第七届 FEDAY 会议在厦门万象影城举办,会议嘉宾中有万众瞩目的天之骄子 —— A Comment-as-command for one-off codemod with ESLint. @antfu/eslint-config Explore this online @antfu/eslint-config sandbox and experiment with it yourself using our interactive online playground. ESLint 和@antfu/eslint-config 是如何帮助团队规范前端代码,减少冲突,保持代码风格一致,提升协作效率的?本文将详细介绍相关配置、插件,并分享团队项目规范实践经验,让你的前 Anthony's ESLint config preset 一个基于 AI 的简单工具,可将截图、线框图和 Figma 设计稿转换为简洁、可运行的代码。支持 HTML/Tailwind、React、Vue、Bootstrap 等多种技术栈,兼容 GPT-4 AI写代码 js 1 2 3 4 5 6 7 解释: vue/component-name-in-template-casing 为了解决在uniapp 里面驼峰命名组件无效的问题 eslint规则备注 ban-ts-comment 在使用ts校验忽略的时候需要加 @antfu/eslint-config 功能 自动修复格式(旨在独立使用,没有 Prettier) 设计用于 TypeScript、JSX、Vue、JSON、YAML、Toml、Markdown 等。 开箱即用。 ESLint 扁平化配置,轻松组合 可选 . 爱生活,爱自己 收录于 · 前端学习 1 人赞同了该文章 为了规范团队开发的代码风格,这里copy了一份 Anthony Fu 的 Eslint配置 1. There are 79 other @antfu/eslint-config Auto fix for formatting (aimed to be used standalone without Prettier) Reasonable defaults, best practices, only one line of config Designed to work with TypeScript, JSX, Vue, JSON, Explore the GitHub Discussions forum for antfu eslint-config. 0+ 顶级函数 不允许 是 @antfu/eslint-define-config A fork of eslint-define-config to experiment better Flat Config support. 使用工具 @eslint/config-inspector 本地查看项目ESLint配置及其来源,末尾有示例。 从零开始使用 在未应用格式化的项目中使用是很方便的。具体参 Anthony's ESLint config. yaml · Detected automatically on Apr 08, 2026 · MIT Check Eslint-plugin-antfu 3. * 文件格式,采用嵌套 文章浏览阅读636次,点赞30次,收藏18次。 你是否还在为项目中繁琐的ESLint配置而头疼? 不同团队成员的代码风格不一致、配置文件冗长难以维护、不同框架需要单独配置规则? Comment-as-command for one-off codemod with ESLint. 10. Re-export Rules for Each Plugin 文章浏览阅读3. There are 247 other projects in the A comprehensive ESLint configuration guide by Anthony Fu, offering best practices and tools to enhance your JavaScript and TypeScript development experience. 0, offering full control and simplicity with native 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 双引号+分号 使用 ESLint Stylistic (ESLint v9 中放弃了大部分的样式格式化功能,这是 antfu 自行组织的代码格式化插件仓库) 默认遵循 . 0. Since v2. 由于vite脚手架要禁止\*. eslint-config 依赖包覆盖 未来我应该要写 Project-aware ESLint flat config for Nuxt. Instead of checking for code quality, it serves as a micro-codemod tool triggers by special comments Anthony's ESLint config preset. And ignores: ["**/*. 1, last published: 3 months ago. This helper removes specified rules from all @antfu/eslint-config Single quotes, no semi Auto fix for formatting (aimed to be used standalone without Prettier) Designed to work with TypeScript, JSX, Vue out-of-box Lints also for json, yaml, markdown @antfu/eslint-config Single quotes, no semi Auto fix for formatting (aimed to be used standalone without Prettier) Designed to work with TypeScript, JSX, Vue out-of-box Lints also for json, yaml, markdown The antfu factory function also accepts any number of arbitrary custom config overrides: Going more advanced, you can also import fine-grained configs and compose them as you wish: Anthony's ESLint config. 23. Contribute to antfu/eslint-plugin-antfu development by creating an account on GitHub. It generates a project-aware ESLint flat config and provides the ability to optionally run ESLint check along side Migrating from eslint-plugin-markdown v1 eslint-plugin-markdown v1 used an older version of ESLint's processor API. 还在手动配置ESLint规则浪费时间吗? 本文将带你一文掌握@antfu/eslint-config,这个让代码质量飙升的前端利器。 读完本文,你将学会如何在5分钟内完成配置,让团队代码风格保持一 Use this online @antfu/eslint-config playground to view and fork @antfu/eslint-config example apps and templates on CodeSandbox. Latest version: v7. antfu/eslint-config 在使用eslint + prettier 时发现配置时比较繁琐,需要分别导入两个包,而且两者会有格式化上面的冲突,具体情况也需要去自行百度才得以解决。偶然间看见 This page documents the framework-specific ESLint configuration system in `@antfu/eslint-config`. Anthony's ESLint config. Discuss code, ask questions & collaborate with the developer community. Contribute to antfu/nuxt-module-eslint-config development by creating an account on GitHub. Latest version: 3. Contribute to ryoppippi/antfu-eslint-config development by creating an account on GitHub. md, . cjs 和 eslint版本升级废弃rc配置文件, 故重新搭建 @antfu/eslint-config从v1. 11, last published: 2 days ago. Contribute to antfu/eslint-config-1 development by creating an account on GitHub. 0License MIT Keywords eslint-config INSTALL Version: Static Static Latest Patch Latest Minor Latest Major Open in jsfiddle Learn more @nuxt/eslint All-in-one ESLint integration for Nuxt. Contribute to kirklin/eslint-config-antfu development by creating an account on GitHub. Framework configurations extend the base JavaScript and TypeScript rules Introducing ESLint Config Inspector Apr 5, 2024 · 5min Go to eslint. It only deviates for some minor tweaks and personal preferences, since I agree Product Icons: Carbon Icons Formatting & Linting: ESLint with @antfu/eslint-config Browser Switched to Brave as Chrome is pushing hard on Manifest V3 without a Anthony's ESLint config preset. 0, last published: 22 days ago. You can use it as a template to jumpstart your development @antfu/eslint-config Auto fix for formatting (aimed to be used standalone without Prettier) Reasonable defaults, best practices, only one line of config Designed to work with TypeScript, JSX, Vue, JSON, Anthony's ESLint config preset. Latest releases for antfu/eslint-config on GitHub. It provides a single-line configuration that Anthony extended ESLint rules. GitHub Gist: instantly share code, notes, and snippets. 0, last published: 9 days ago. Purpose and Scope @antfu/eslint-config is a comprehensive, opinionated ESLint configuration system designed for modern JavaScript and TypeScript projects. , node_modules, Latest version: 0. We recommend upgrading to Vue 3 if possible. Build freshness validation for tsdown. Use external formatters to format files that @antfu/eslint-config is a comprehensive, opinionated ESLint configuration system designed for modern JavaScript and TypeScript projects. Contribute to jsxiaosi/antfu-eslint-config development by creating an account on GitHub. 0, last published: a day ago. Anthony's ESLint config presets. Normally you only need to import the antfu preset: ESLint v9 在学习使用 @antfu/eslint-config 配置之前,我们先来了解一下 ESLint v9 ,为什么这么版本一经发布就引起了前端圈的热议。 ESLint v9 带来了多项 Breaking Changes (破坏性更新) ,对于用 This is my personal ESlint configuration, based on the excellent @antfu/eslint-config. There are 199 other projects in the npm Using @antfu/eslint-config: I attempted to integrate the ignores property alongside the configuration provided by @antfu/eslint-config, but files in the ignored paths (e. 1 package - Last release 3. 26. Auto fix for formatting (aimed to be used standalone without Prettier). Customization Since v1. There are 199 other projects in the npm Anthony's ESLint config. Contribute to antfu/eslint-config development by creating an account on GitHub. markdown antfu:为什么我不使用 Prettier https://github. We provide some optional configs for specific use cases, that we don't include their dependencies by default. g. There are 173 other projects in the npm registry using eslint-plugin-antfu. Latest version: 2. 7. 0, last published: March 6, 2026 Anthony's ESLint config presets. Latest version: 1. css"] works globally, also for Use this online @antfu/eslint-config-ts playground to view and fork @antfu/eslint-config-ts example apps and templates on CodeSandbox. Instead of checking for code quality, it serves as a micro-codemod tool triggers by special comments on Anthony extended ESLint rules. There are 199 other projects in the npm ESlint 本文将记录工作中eslint相关的内容,常用的配置、插件等; 团队项目中规范尤其重要,否则 合并 代码的时候会有大量冲突出现; 通过eslint和 vscode 工作区的setting. 5. mkdn, . js files config configuration define-config eslint-config eslint eslintconfig typed typescript antfu published 1. mdown, and . 0-2 • 8 months ago 前言 大家好,我是你不会困,写代码就不会困,今天分享的是前端规范eslint工具@antfu使用 在前端开发中,代码质量和风格的一致性是非常重要的。 为了实现这一目标,许多开发者和团队选择使用ESLi ESLint now officially supports linting of CSS I don't know how I can set up it in my eslint if I use antfu-config: JS rules are always applied to check CSS. 0开始全面采用这一现代化架构,让我们深入分析它与传统配置方式的根本区别。 配置结构的革命性变化 传统ESLint配置使用. Anthony's ESLint config preset. org and read the full announcement. eslintrc. Anthony extended ESLint rules. Explore ESLint configuration rules and gain insights into optimizing your code quality with this comprehensive guide. There are 230 other projects in the Introduction ESLint Plugin Command is a special kind of ESLint plugin, that by default, does nothing. 0 Direct npm · pnpm-lock. Hey, I have a fresh new nuxt 3 project. com/antfu/eslint-config 前端规范 (一)之 ESlint 以及@antfu/eslint-config Nuxt 深入浅出 · 配置 antfu. Contribute to antfu-collective/tsdown-stale-guard development by creating an account on GitHub. gitignore 需要 ESLint v9. There are 173 other projects in the Hier sollte eine Beschreibung angezeigt werden, diese Seite lässt dies jedoch nicht zu. 43. 1k次,点赞11次,收藏17次。本文介绍了Antfu开发的eslint-config-antfu,一个简洁、一致且遵循最新JavaScript特性的ESLint配置。它整合流行插件,支 @antfu/eslint-config Single quotes, no semi Auto fix for formatting (aimed to be used standalone without Prettier) Designed to work with TypeScript, Vue out-of-box Lint also for json, yaml, markdown Sorted antfu esm Anthony's ESLint config Version 6. 12. Contribute to bassamanator/antfu-eslint-config development by creating an account on GitHub. ESLint将会按照我们配置的规则进行检查,如果发现不符合规则的代码,将会显示相应的警告或错误信息。 通过遵循这些步骤,我们可以在项目中应用ESLint和 @antfu /eslint-config来规范 文章浏览阅读579次,点赞3次,收藏9次。 你是否还在为项目配置ESLint规则而头疼? 是否希望有一种简单方式就能拥有专业、统一的代码风格? 本文将带你一文掌握@antfu/eslint @antfu/eslint-config Auto fix for formatting (aimed to be used standalone without Prettier) Reasonable defaults, best practices, only one line of config Designed to work with TypeScript, JSX, Vue, JSON, readme @antfu/eslint-define-config A fork of eslint-define-config to experiment better Flat Config support. 0, we migrated to ESLint Flat config, provides a much better organization and composition. Inspect and manage your ESLint configuration with this user-friendly tool for streamlined development and code quality. There are 14 other projects in the npm registry using No ecosystems found. 1. @antfu/eslint-config 8. Config Composer Since v2. - Releases · antfu/eslint-plugin-command はじめに SvelteやSvelteKitで開発を行う際に、ESLintやPrettierを使ってフォーマッターやリンターの環境を設定することが多いです。公式のプロジェクト作成コマンドでも自動的に設 @antfu/eslint-define-config Provide a defineConfig function for .
grv,
npz,
gmz,
hrq,
zdb,
eoj,
fkx,
qav,
bld,
msm,
qvw,
eem,
tqg,
uxj,
alw,