@nest-boot/eslint-config 7.0.0-beta.3 → 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,28 @@
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
+
9
+ ## 7.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - 14895ac: ESLint 升级到 v9
14
+
15
+ ### Patch Changes
16
+
17
+ - 20f3262: fix: 重构 eslint-plugin 和移除 queue 模块
18
+ - b5e6548: 重新发布版本
19
+ - f9c03c3: 修复 ESLint
20
+ - Updated dependencies [20f3262]
21
+ - Updated dependencies [b5e6548]
22
+ - Updated dependencies [f9c03c3]
23
+ - Updated dependencies [14895ac]
24
+ - @nest-boot/eslint-plugin@7.0.0
25
+
3
26
  ## 7.0.0-beta.3
4
27
 
5
28
  ### Patch 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,14 +1,14 @@
1
1
  {
2
2
  "name": "@nest-boot/eslint-config",
3
- "version": "7.0.0-beta.3",
3
+ "version": "8.0.0",
4
4
  "main": "eslint.config.mjs",
5
5
  "types": "eslint.config.d.ts",
6
6
  "license": "MIT",
7
7
  "devDependencies": {
8
8
  "@eslint/eslintrc": "^3.3.1",
9
9
  "@eslint/js": "^9.36.0",
10
- "@nest-boot/eslint-plugin": "^7.0.0-beta.3",
11
- "@nest-boot/tsconfig": "^7.0.0-beta.1",
10
+ "@nest-boot/eslint-plugin": "^7.0.0",
11
+ "@nest-boot/tsconfig": "^7.0.0",
12
12
  "@typescript-eslint/eslint-plugin": "^8.44.1",
13
13
  "@typescript-eslint/parser": "^8.44.1",
14
14
  "eslint": "^9.36.0",
@@ -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.0-beta.37.0.0-beta.3"
30
+ "@nest-boot/eslint-plugin": "^7.0.27.0.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"