@nest-boot/eslint-config 7.0.0 → 8.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @nest-boot/eslint-config
2
2
 
3
+ ## 8.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 6f51076: @typescript-eslint/no-misused-spread off
8
+
3
9
  ## 7.0.0
4
10
 
5
11
  ### Major Changes
package/eslint.config.mjs CHANGED
@@ -44,24 +44,25 @@ const config = [
44
44
  "@typescript-eslint/no-unused-expressions": "off",
45
45
 
46
46
  // TypeScript 规则
47
- "@typescript-eslint/return-await": ["error", "always"],
48
- "@typescript-eslint/restrict-plus-operands": "error",
49
- "@typescript-eslint/no-unsafe-assignment": "off",
50
- "@typescript-eslint/no-unsafe-argument": "off",
51
- "@typescript-eslint/no-unsafe-member-access": "off",
52
- "@typescript-eslint/no-unsafe-call": "off",
53
- "@typescript-eslint/no-unsafe-return": "off",
54
- "@typescript-eslint/no-unnecessary-condition": "off",
55
- "@typescript-eslint/no-extraneous-class": "off",
56
- "@typescript-eslint/no-explicit-any": "off",
57
47
  "@typescript-eslint/no-empty-function": [
58
48
  "error",
59
49
  { allow: ["constructors"] },
60
50
  ],
51
+ "@typescript-eslint/no-explicit-any": "off",
52
+ "@typescript-eslint/no-extraneous-class": "off",
53
+ "@typescript-eslint/no-misused-spread": "off",
54
+ "@typescript-eslint/no-unnecessary-condition": "off",
55
+ "@typescript-eslint/no-unsafe-argument": "off",
56
+ "@typescript-eslint/no-unsafe-assignment": "off",
57
+ "@typescript-eslint/no-unsafe-call": "off",
58
+ "@typescript-eslint/no-unsafe-member-access": "off",
59
+ "@typescript-eslint/no-unsafe-return": "off",
61
60
  "@typescript-eslint/no-unused-vars": [
62
61
  "error",
63
62
  { argsIgnorePattern: "^_" },
64
63
  ],
64
+ "@typescript-eslint/restrict-plus-operands": "error",
65
+ "@typescript-eslint/return-await": ["error", "always"],
65
66
 
66
67
  // NestBoot 自定义规则
67
68
  "@nest-boot/entity-field-definite-assignment": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nest-boot/eslint-config",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "main": "eslint.config.mjs",
5
5
  "types": "eslint.config.d.ts",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "eslint-plugin-simple-import-sort": "^12.0.0",
28
28
  "typescript": "^5.0.0",
29
29
  "typescript-eslint": "^8.0.0",
30
- "@nest-boot/eslint-plugin": "^7.0.07.0.0"
30
+ "@nest-boot/eslint-plugin": "^7.0.27.0.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"