@dhzh/eslint-config 1.11.0 → 1.12.0

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.
@@ -28,7 +28,7 @@ var import_ansis5 = __toESM(require("ansis"), 1);
28
28
  var import_cac = require("cac");
29
29
 
30
30
  // package.json
31
- var version = "1.11.0";
31
+ var version = "1.12.0";
32
32
  var package_default = {
33
33
  name: "@dhzh/eslint-config",
34
34
  type: "module",
package/dist/cli/index.js CHANGED
@@ -4,7 +4,7 @@ import c4 from "ansis";
4
4
  import { cac } from "cac";
5
5
 
6
6
  // package.json
7
- var version = "1.11.0";
7
+ var version = "1.12.0";
8
8
  var package_default = {
9
9
  name: "@dhzh/eslint-config",
10
10
  type: "module",
package/dist/index.cjs CHANGED
@@ -660,6 +660,12 @@ function typescript(options = {}) {
660
660
  }
661
661
  ],
662
662
  "@typescript-eslint/prefer-nullish-coalescing": "off",
663
+ "@typescript-eslint/no-confusing-void-expression": [
664
+ "error",
665
+ {
666
+ ignoreArrowShorthand: true
667
+ }
668
+ ],
663
669
  ...typeSafe ? {} : {
664
670
  "@typescript-eslint/no-unsafe-assignment": "off",
665
671
  "@typescript-eslint/no-unsafe-member-access": "off",
package/dist/index.js CHANGED
@@ -624,6 +624,12 @@ function typescript(options = {}) {
624
624
  }
625
625
  ],
626
626
  "@typescript-eslint/prefer-nullish-coalescing": "off",
627
+ "@typescript-eslint/no-confusing-void-expression": [
628
+ "error",
629
+ {
630
+ ignoreArrowShorthand: true
631
+ }
632
+ ],
627
633
  ...typeSafe ? {} : {
628
634
  "@typescript-eslint/no-unsafe-assignment": "off",
629
635
  "@typescript-eslint/no-unsafe-member-access": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dhzh/eslint-config",
3
3
  "type": "module",
4
- "version": "1.11.0",
4
+ "version": "1.12.0",
5
5
  "description": "Lyle's ESLint config",
6
6
  "author": {
7
7
  "name": "Lyle Zheng",