@dhzh/eslint-config 0.1.3 → 0.1.4

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: "@dhzh/eslint-config",
50
50
  type: "module",
51
- version: "0.1.3",
51
+ version: "0.1.4",
52
52
  packageManager: "pnpm@8.15.4",
53
53
  description: "Easton's ESLint config",
54
54
  author: "Easton Zheng <dhzhme@gmail.com>",
package/dist/cli.js CHANGED
@@ -19,7 +19,7 @@ import c from "picocolors";
19
19
  var package_default = {
20
20
  name: "@dhzh/eslint-config",
21
21
  type: "module",
22
- version: "0.1.3",
22
+ version: "0.1.4",
23
23
  packageManager: "pnpm@8.15.4",
24
24
  description: "Easton's ESLint config",
25
25
  author: "Easton Zheng <dhzhme@gmail.com>",
package/dist/index.cjs CHANGED
@@ -829,7 +829,7 @@ async function stylistic(options = {}) {
829
829
  ...config.rules,
830
830
  "antfu/consistent-list-newline": "error",
831
831
  "antfu/if-newline": "error",
832
- "antfu/top-level-function": "error",
832
+ "antfu/top-level-function": "off",
833
833
  "curly": ["error", "all"],
834
834
  ...overrides
835
835
  }
package/dist/index.js CHANGED
@@ -731,7 +731,7 @@ async function stylistic(options = {}) {
731
731
  ...config.rules,
732
732
  "antfu/consistent-list-newline": "error",
733
733
  "antfu/if-newline": "error",
734
- "antfu/top-level-function": "error",
734
+ "antfu/top-level-function": "off",
735
735
  "curly": ["error", "all"],
736
736
  ...overrides
737
737
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dhzh/eslint-config",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "packageManager": "pnpm@8.15.4",
6
6
  "description": "Easton's ESLint config",
7
7
  "author": "Easton Zheng <dhzhme@gmail.com>",
@@ -131,7 +131,7 @@
131
131
  "typescript": "^5.4.3",
132
132
  "vitest": "^1.4.0",
133
133
  "vue": "^3.4.21",
134
- "@dhzh/eslint-config": "0.1.3"
134
+ "@dhzh/eslint-config": "0.1.4"
135
135
  },
136
136
  "simple-git-hooks": {
137
137
  "pre-commit": "pnpm lint-staged"