@antfu/eslint-config 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.cjs CHANGED
@@ -48,7 +48,7 @@ var import_picocolors = __toESM(require("picocolors"), 1);
48
48
  var package_default = {
49
49
  name: "@antfu/eslint-config",
50
50
  type: "module",
51
- version: "3.2.1",
51
+ version: "3.2.2",
52
52
  packageManager: "pnpm@9.9.0",
53
53
  description: "Anthony's ESLint config",
54
54
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
package/dist/cli.js CHANGED
@@ -19,7 +19,7 @@ import c from "picocolors";
19
19
  var package_default = {
20
20
  name: "@antfu/eslint-config",
21
21
  type: "module",
22
- version: "3.2.1",
22
+ version: "3.2.2",
23
23
  packageManager: "pnpm@9.9.0",
24
24
  description: "Anthony's ESLint config",
25
25
  author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
package/dist/index.cjs CHANGED
@@ -2052,7 +2052,7 @@ async function unicorn(options = {}) {
2052
2052
  rules: {
2053
2053
  ...options.allRecommended ? import_eslint_plugin_unicorn.default.configs["flat/recommended"].rules : {
2054
2054
  "unicorn/consistent-empty-array-spread": "error",
2055
- "unicorn/consistent-function-scoping": "error",
2055
+ "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
2056
2056
  "unicorn/error-message": "error",
2057
2057
  "unicorn/escape-case": "error",
2058
2058
  "unicorn/new-for-builtins": "error",
package/dist/index.js CHANGED
@@ -1939,7 +1939,7 @@ async function unicorn(options = {}) {
1939
1939
  rules: {
1940
1940
  ...options.allRecommended ? default5.configs["flat/recommended"].rules : {
1941
1941
  "unicorn/consistent-empty-array-spread": "error",
1942
- "unicorn/consistent-function-scoping": "error",
1942
+ "unicorn/consistent-function-scoping": ["error", { checkArrowFunctions: false }],
1943
1943
  "unicorn/error-message": "error",
1944
1944
  "unicorn/escape-case": "error",
1945
1945
  "unicorn/new-for-builtins": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antfu/eslint-config",
3
3
  "type": "module",
4
- "version": "3.2.1",
4
+ "version": "3.2.2",
5
5
  "description": "Anthony's ESLint config",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
7
7
  "license": "MIT",
@@ -156,7 +156,7 @@
156
156
  "typescript": "^5.5.4",
157
157
  "vitest": "^2.0.5",
158
158
  "vue": "^3.5.2",
159
- "@antfu/eslint-config": "3.2.1"
159
+ "@antfu/eslint-config": "3.2.2"
160
160
  },
161
161
  "resolutions": {
162
162
  "@eslint-community/eslint-utils": "^4.4.0",