// eslint.config.jsimportantfufrom'@antfu/eslint-config'exportdefaultantfu({// Type of the project. 'lib' for libraries, the default is 'app'type:'lib',// Enable stylistic formatting rules// stylistic: true,// Or customize the stylistic rulesstylistic:{indent:2,// 4, or 'tab'quotes:...
eslint.config.ts feat: introducetypeoptions, enable `ts/explicit-function-return-t… Jul 18, 2024 netlify.toml feat: try inspector build Apr 2, 2024 package.json chore: release v2.23.0 Jul 18, 2024 pnpm-lock.yaml fix: use a fork ofeslint-plugin-unused-imports ...
eslint-config readme @antfu/eslint-config Auto fix for formatting (aimed to be used standalonewithoutPrettier) Reasonable defaults, best practices, only one line of config Designed to work with TypeScript, JSX, Vue, JSON, YAML, Toml, Markdown, etc. Out-of-box. ...
eslint.config.ts chore: update deps Dec 10, 2023 package.json chore: release v0.1.1 Mar 11, 2024 pnpm-lock.yaml chore: update deps Mar 11, 2024 pnpm-workspace.yaml feat: init Dec 9, 2023 tsconfig.json feat: init Dec 9, 2023 ...
eslint.config.ts feat: enableperfectionist/sort-importset al, close #456 5个月前 netlify.toml feat: try inspector build 10个月前 package.json chore: release v3.14.0 7天前 pnpm-lock.yaml chore: update deps 7天前 pnpm-workspace.yaml
@antfu/eslint-define-config A fork ofeslint-define-configto experiment better Flat Config support. Changes In This Fork 1. Re-export Rules for Each Plugin import{ VitestRules, VueRules,// ...}from'@antfu/eslint-define-config' 2. Allow Overriding Rules ...
Latest version: 0.43.1, last published: a year ago. Start using @antfu/eslint-config-basic in your project by running `npm i @antfu/eslint-config-basic`. There are 17 other projects in the npm registry using @antfu/eslint-config-basic.
1 # @antfu/eslint-define-config 2 3 A fork of [eslint-define-config](https://github.com/Shinigami92/eslint-define-config) to experiment better Flat Config support. 4 5 ## Changes In This Fork 6 7 ### 1. Re-export Rules for Each Plugin 8 9 ```ts 10 import { ...
针对你遇到的错误“error @antfu/eslint-define-config@1.23.0-2: the engine 'node' is incompatible”,我们可以按照以下步骤进行排查和解决: 确认错误信息的完整内容: 错误信息提示“the engine 'node' is incompatible”,意味着当前安装的Node.js版本与@antfu/eslint-define-config@1.23.0-2包不兼容。 分析错...
前言一开始关注到 antfu 是他的一头长发,毕竟留长发的肯定是技术大佬。果不其然,antfu 是个很高产、很 creative 的大佬,我也很喜欢他写的工具,无论是 @antfu/eslint-config、unocss、还是vitest等等。而这篇文…