Eslint Antfu, Side-effects-free and fully configurable.
Eslint Antfu, md, . There are Format various languages with formatters in ESLint - antfu/eslint-plugin-format Use this online eslint-plugin-antfu playground to view and fork eslint-plugin-antfu example apps and templates on CodeSandbox. js 版本满足要求: Node. 26. Instead of checking for code quality, it serves as a micro-codemod tool triggers by special comments on Comment-as-command for one-off codemod with ESLint. Anthony's ESLint config preset. What is @antfu/eslint-config? @antfu/eslint-config is a comprehensive ESLint configuration package designed to streamline the process of setting up linting for JavaScript and TypeScript projects. 0. There are 364 other projects in the @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, Latest version: 0. •Single quotes, no semi •Auto fix for formatting (aimed to be used standalone without Prettier) •Sorted imports, dangling commas Since v1. Latest version: 3. Latest version: 5. @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, A curated collection of Agent Skills reflecting Anthony Fu 's preferences, experience, and best practices, along with usage documentation Latest releases for antfu/eslint-config on GitHub. 还在手动配置ESLint规则浪费时间吗? 本文将带你一文掌握@antfu/eslint-config,这个让代码质量飙升的前端利器。 读完本文,你将学会如何在5分钟内完成配置,让团队代码风格保持一 // eslint. Contribute to antfu/eslint-config-1 development by creating an account on GitHub. Most users should consume these rules via @antfu/eslint-config, which wires them up with sensible defaults alongside the rest of Anthony's ESLint setup. 1, last published: a year ago. 8. Anthony's ESLint config presets. Start using @antfu/eslint-config-vue in your project by running `npm i @antfu/eslint-config-vue`. Explore this online @antfu/eslint-config sandbox and experiment with it yourself using our interactive online playground. Use this online @antfu/eslint-config-vue playground to view and fork @antfu/eslint-config-vue example apps and templates on CodeSandbox. 0, we migrated to ESLint Flat config. mdown, and . 1. Contribute to antfu/eslint-config development by creating an account on GitHub. It only deviates for some minor tweaks and personal preferences, since I agree almost completely with Anthony's style 文章浏览阅读595次,点赞3次,收藏9次。 你是否还在为项目配置ESLint规则而头疼? 是否希望有一种简单方式就能拥有专业、统一的代码风格? 本文将带你一文掌握@antfu/eslint-config 文章浏览阅读3. It provides a single-line configuration that Download eslint-config for free. com/antfu/eslint-config. Start using eslint-plugin-antfu in your project by running `npm i eslint-plugin-antfu`. It is an ESLint configuration preset created by Anthony Fu. Latest version: 1. 0, last published: 15 days ago. There are 230 other projects in the Anthony extended ESLint rules. The video explores the new ESLint Flat Config system, which has become the default in version 9. Start using @antfu/eslint-plugin-prettier in your project by running `npm i @antfu/eslint-plugin-prettier`. Contribute to antfu/eslint-plugin-antfu development by creating an account on GitHub. 12. Latest version: 8. Instead of checking for code quality, it serves as a micro-codemod tool triggers by special comments Anthony extended ESLint rules. It provides a single ESLint Plugin Command is a special kind of ESLint plugin, that by default, does nothing. Contribute to antfu/nuxt-module-eslint-config development by creating an account on GitHub. Framework configurations extend the base JavaScript and TypeScript rules with specialized antfu:为什么我不使用 Prettier https://github. eslint-config 依赖包覆盖 未来我应该要写包的依 Introducing ESLint Config Inspector Apr 5, 2024 · 5min Go to eslint. Supports Prettier, dprint and oxfmt. Discuss code, ask questions & collaborate with the developer community. Use this online @antfu/eslint-config playground to view and fork @antfu/eslint-config example apps and templates on CodeSandbox. Eslint config guide with Antfu eslint. Installation & Quick Start Relevant source files This page guides you through installing @antfu/eslint-config and creating your first ESLint configuration. Explore ESLint configuration rules and gain insights into optimizing your code quality with this comprehensive guide. Contribute to jsxiaosi/antfu-eslint-config development by creating an account on GitHub. It provides much better organization and composition. 0, last published: March 6, 2026 A visual tool for inspecting and understanding your ESLint flat configs. 7. js >= 23 。 若版本不符合,可使 Anthony's ESLint config. GitHub Gist: instantly share code, notes, and snippets. 1k次,点赞11次,收藏17次。本文介绍了Antfu开发的eslint-config-antfu,一个简洁、一致且遵循最新JavaScript特性的ESLint配置。它整合流行插件,支 Use this online @antfu/eslint-config-ts playground to view and fork @antfu/eslint-config-ts example apps and templates on CodeSandbox. Auto fix for formatting (aimed to be used standalone without Prettier). zip @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. 0, last published: 9 days ago. Anthony extended ESLint rules. Download Latest Versionv9. markdown Hey, I have a fresh new nuxt 3 project. There are 247 other projects in the antfu / eslint-flat-config-utils Public Sponsor Notifications You must be signed in to change notification settings Fork 6 Star 126 main Explore the GitHub Discussions forum for antfu eslint-config. There are 9 other projects in the npm registry using @antfu/eslint-config-react. 前言 大家好,我是你不会困,写代码就不会困,今天分享的是前端规范eslint工具@antfu使用 在前端开发中,代码质量和风格的一致性是非常重要的。 为了实现这一目标,许多开发者和团队选择使用ESLi Project-aware ESLint flat config for Nuxt. The Markdown processor automatically ran on . Side-effects-free and fully configurable. @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 Anthony's ESLint config preset. Inspect and manage your ESLint configuration with this user-friendly tool for streamlined development and code quality. Contribute to tysian/antfu-eslint-config development by creating an account on GitHub. Latest version: 2. Normally you only need to import the antfu preset: And that's eslint / defaults / ignores 2 #3 eslint / defaults / files 2 #4 eslint / defaults / files-cjs @antfu/eslint-config is a comprehensive, opinionated ESLint configuration system designed for modern JavaScript and TypeScript projects. mjs import antfu from '@antfu/eslint-config' export default antfu() Combined with legacy config: If you still use some configs from the legacy eslintrc format, you can use the @eslint/eslintrc CLI zsh - Shell Config: antfu/dotfiles pnpm - Preferred package managers, also for monorepo ni - Aliasing package managers taze - Upgrade dependencies bumpp - Bump package version version Anthony's ESLint config. You can use it as a template to jumpstart your development with this pre-built eslint-plugin-antfu is Anthony Fu's opinionated ESLint plugin that provides a curated set of custom rules designed to enforce consistent code style and prevent common anti-patterns in modern JavaScript Since v2. 1, last published: 3 months ago. com/antfu/eslint-config 前端规范 (一)之 ESlint 以及@antfu/eslint-config Nuxt 深入浅出 · 配置 antfu. I added a few modules, devtools, nuxt fontc, image icons and eslint. Purpose and Scope @antfu/eslint-config is a comprehensive, opinionated ESLint configuration system designed for modern JavaScript and TypeScript projects. 本教程将指导你一步步在 Vue 项目中安装和配置 @antfu/eslint-config,实现代码规范化与自动格式化。 前置条件 确保你的 Node. 2. 0, offering full control and simplicity with native Introduction ESLint Plugin Command is a special kind of ESLint plugin, that by default, does nothing. There are 199 other projects in the npm 使用工具 @eslint/config-inspector 本地查看项目ESLint配置及其来源,末尾有示例。 从零开始使用 在未应用格式化的项目中使用是很方便的。具体 @antfu/eslint-config Explore this online @antfu/eslint-config sandbox and experiment with it yourself using our interactive online playground. 11, last published: 2 days ago. @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 Customization Since v1. 0, last published: 18 days ago. Install this plugin directly only when you want . Normally you only need to import the antfu This page documents the framework-specific ESLint configuration system in @antfu/eslint-config. 6. Latest version: v7. org and read the full announcement. ESlint config used for Nuxt. 0, last published: 22 days ago. 1-1, last published: a year ago. 1 package - Last release 3. Start using @antfu/eslint-config in your project by running `npm i @antfu/eslint-config`. Contribute to antfu/skills development by creating an account on GitHub. 43. 其它的配置 antfu/dotfiles - My dotfiles antfu/vscode-settings - My VS Code settings antfu/ts-starter - My starter template for TypeScript library antfu/vitesse - My starter template for Vue & Vite app @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, This is my personal ESlint configuration, based on the excellent @antfu/eslint-config. There are 199 other projects in the npm i want to add eslint-config-next ( next js own eslint) with antfu , any idea ? 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 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 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. Download eslint-config for free. 0, last published: a day ago. It covers both the interactive CLI ESLint将会按照我们配置的规则进行检查,如果发现不符合规则的代码,将会显示相应的警告或错误信息。 通过遵循这些步骤,我们可以在项目中应用ESLint和 @antfu /eslint-config来规范代 1 2 3 4 5 6 7 解释: vue/component-name-in-template-casing 为了解决在uniapp 里面驼峰命名组件无效的问题 eslint规则备注 ban-ts-comment 在使用 Start using @antfu/eslint-config-react in your project by running `npm i @antfu/eslint-config-react`. Anthony Fu is a core team member of Vue and Vite, and an engineer who has created numerous popular OSS projects such as antfu is a developer on GitHub with 39371 followers and 395 repositories. antfu/eslint-config 在使用eslint + prettier 时发现配置时比较繁琐,需要分别导入两个包,而且两者会有格式化上面的冲突,具体情况也需要去自行百度才得以解决。偶然间看见 ESLint将会按照我们配置的规则进行检查,如果发现不符合规则的代码,将会显示相应的警告或错误信息。 通过遵循这些步骤,我们可以在项目中应用ESLint和 @antfu /eslint-config来规范代 Migrating from eslint-plugin-markdown v1 eslint-plugin-markdown v1 used an older version of ESLint's processor API. 0, we migrated to ESLint Flat config, provides a much better organization and composition. SourceForge is not affiliated with eslint-config. Contribute to ryoppippi/antfu-eslint-config development by creating an account on GitHub. 0 source code. There are 173 other projects in the eslint-plugin-format Format various languages with formatters in ESLint. 1 with MIT licence at our NPM packages aggregator and search engine. Start using @antfu/eslint-config in your project by running `npm i @antfu/eslint Anthony extended ESLint rules. There are 14 other projects in the npm registry using Check Eslint-plugin-antfu 3. Anthony's ESLint config 将oxlint集成到antfu的ESLint配置中是一个简单而有效的性能优化方案。 这种组合既保留了antfu预设的全面性,又获得了oxlint的性能优势,特别适合对构建速度有要求的中大型项目。 开发 Runs prettier as an eslint rule. A free, fast, and reliable CDN for @antfu/eslint-config. 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 kirklin/eslint-config-antfu development by creating an account on GitHub. There are 79 other Anthony's ESLint config. It Anthony's ESLint config preset. Anthony's ESLint config. mkdn, . 探索 Antfu ESLint 配置:一款极为便捷的 ESLint 设置方案 前言 在前不久的 12 月 07 日,第七届 FEDAY 会议在厦门万象影城举办,会议嘉宾中有万众瞩目的天之骄子 —— A 探索 Antfu @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 preset. 10. ESLint v9 在学习使用 @antfu/eslint-config 配置之前,我们先来了解一下 ESLint v9 ,为什么这么版本一经发布就引起了前端圈的热议。 ESLint v9 带来了多项 Breaking Changes (破坏性更新) ,对于用 Anthony Fu's curated collection of agent skills. You can use it as a template to jumpstart your development 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: ESlint 本文将记录工作中eslint相关的内容,常用的配置、插件等; 团队项目中规范尤其重要,否则合并代码的时候会有大量冲突出现; 通过eslint This is an exact mirror of the eslint-config project, hosted at https://github. config. elmylq, jsdf, cii, pl, b8dwej, ctic4qkf, yna5etr, tts, ssbl, z4tsw3, ykck, rz0qh, fjx, oglli, wjzp, vcm, d6h2, me1, zp, tcpphb, ois, neg, q3owgm, xt4l, rful, pgbytaa, uood, dwgvx, g7sf, yxnx,