@dhzh/eslint-config 0.9.1 → 0.9.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,12 +48,12 @@ 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.9.1",
51
+ version: "0.9.2",
52
52
  packageManager: "pnpm@9.3.0",
53
53
  description: "Easton's ESLint config",
54
54
  author: "Easton Zheng <dhzhme@gmail.com>",
55
55
  license: "MIT",
56
- homepage: "https://github.com/eastonzh/eslint-config",
56
+ homepage: "https://github.com/dhzhme/eslint-config",
57
57
  keywords: [
58
58
  "eslint",
59
59
  "eslint-config"
@@ -184,6 +184,7 @@ var package_default = {
184
184
  "@unocss/eslint-plugin": "^0.61.0",
185
185
  "astro-eslint-parser": "^1.0.2",
186
186
  bumpp: "^9.4.1",
187
+ "bundle-require": "^5.0.0",
187
188
  eslint: "npm:eslint-ts-patch@9.4.0-0",
188
189
  "eslint-plugin-astro": "^1.2.2",
189
190
  "eslint-plugin-format": "^0.1.2",
package/dist/cli.js CHANGED
@@ -19,12 +19,12 @@ import c from "picocolors";
19
19
  var package_default = {
20
20
  name: "@dhzh/eslint-config",
21
21
  type: "module",
22
- version: "0.9.1",
22
+ version: "0.9.2",
23
23
  packageManager: "pnpm@9.3.0",
24
24
  description: "Easton's ESLint config",
25
25
  author: "Easton Zheng <dhzhme@gmail.com>",
26
26
  license: "MIT",
27
- homepage: "https://github.com/eastonzh/eslint-config",
27
+ homepage: "https://github.com/dhzhme/eslint-config",
28
28
  keywords: [
29
29
  "eslint",
30
30
  "eslint-config"
@@ -155,6 +155,7 @@ var package_default = {
155
155
  "@unocss/eslint-plugin": "^0.61.0",
156
156
  "astro-eslint-parser": "^1.0.2",
157
157
  bumpp: "^9.4.1",
158
+ "bundle-require": "^5.0.0",
158
159
  eslint: "npm:eslint-ts-patch@9.4.0-0",
159
160
  "eslint-plugin-astro": "^1.2.2",
160
161
  "eslint-plugin-format": "^0.1.2",
package/dist/index.cjs CHANGED
@@ -1898,7 +1898,9 @@ async function typescript(options = {}) {
1898
1898
  "ts/no-unsafe-return": "error",
1899
1899
  "ts/restrict-plus-operands": "error",
1900
1900
  "ts/restrict-template-expressions": "error",
1901
+ "ts/return-await": "error",
1901
1902
  "ts/strict-boolean-expressions": "error",
1903
+ "ts/switch-exhaustiveness-check": "error",
1902
1904
  "ts/unbound-method": "error"
1903
1905
  };
1904
1906
  const [
package/dist/index.js CHANGED
@@ -1794,7 +1794,9 @@ async function typescript(options = {}) {
1794
1794
  "ts/no-unsafe-return": "error",
1795
1795
  "ts/restrict-plus-operands": "error",
1796
1796
  "ts/restrict-template-expressions": "error",
1797
+ "ts/return-await": "error",
1797
1798
  "ts/strict-boolean-expressions": "error",
1799
+ "ts/switch-exhaustiveness-check": "error",
1798
1800
  "ts/unbound-method": "error"
1799
1801
  };
1800
1802
  const [
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dhzh/eslint-config",
3
3
  "type": "module",
4
- "version": "0.9.1",
4
+ "version": "0.9.2",
5
5
  "description": "Easton's ESLint config",
6
6
  "author": "Easton Zheng <dhzhme@gmail.com>",
7
7
  "license": "MIT",
8
- "homepage": "https://github.com/eastonzh/eslint-config",
8
+ "homepage": "https://github.com/dhzhme/eslint-config",
9
9
  "keywords": [
10
10
  "eslint",
11
11
  "eslint-config"
@@ -121,6 +121,7 @@
121
121
  "@unocss/eslint-plugin": "^0.61.0",
122
122
  "astro-eslint-parser": "^1.0.2",
123
123
  "bumpp": "^9.4.1",
124
+ "bundle-require": "^5.0.0",
124
125
  "eslint": "npm:eslint-ts-patch@9.4.0-0",
125
126
  "eslint-plugin-astro": "^1.2.2",
126
127
  "eslint-plugin-format": "^0.1.2",
@@ -144,7 +145,7 @@
144
145
  "typescript": "^5.4.5",
145
146
  "vitest": "^1.6.0",
146
147
  "vue": "^3.4.29",
147
- "@dhzh/eslint-config": "0.9.1"
148
+ "@dhzh/eslint-config": "0.9.2"
148
149
  },
149
150
  "simple-git-hooks": {
150
151
  "pre-commit": "npx lint-staged"