@lsby/eslint-config 0.2.29 → 0.2.31

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.
@@ -121,7 +121,9 @@ var ts\u5B89\u5168\u6027 = {
121
121
  }
122
122
  ],
123
123
  // 禁止使用Object.assign, 它的行为是浅拷贝, 会污染第一个参数
124
- "es/no-object-assign": "error"
124
+ "es/no-object-assign": "error",
125
+ // 检查await的thenable
126
+ "@typescript-eslint/await-thenable": "error"
125
127
  }
126
128
  };
127
129
  var jsDoc\u5B89\u5168\u6027 = {
package/dist/esm/index.js CHANGED
@@ -79,7 +79,9 @@ var ts\u5B89\u5168\u6027 = {
79
79
  }
80
80
  ],
81
81
  // 禁止使用Object.assign, 它的行为是浅拷贝, 会污染第一个参数
82
- "es/no-object-assign": "error"
82
+ "es/no-object-assign": "error",
83
+ // 检查await的thenable
84
+ "@typescript-eslint/await-thenable": "error"
83
85
  }
84
86
  };
85
87
  var jsDoc\u5B89\u5168\u6027 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/eslint-config",
3
- "version": "0.2.29",
3
+ "version": "0.2.31",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "require": "./dist/cjs/index.cjs",
@@ -24,7 +24,6 @@
24
24
  "@ianvs/prettier-plugin-sort-imports": "^4.3.1",
25
25
  "@types/node": "^22.6.1",
26
26
  "bumpp": "^9.5.2",
27
- "eslint-plugin-es": "^4.1.0",
28
27
  "husky": "^9.1.6",
29
28
  "prettier-plugin-organize-imports": "^4.1.0",
30
29
  "prettier-plugin-packagejson": "^2.5.2",
@@ -35,6 +34,7 @@
35
34
  "@types/eslint": "^9.6.1",
36
35
  "eslint": "^8.57.0",
37
36
  "eslint-config-prettier": "^9.1.0",
37
+ "eslint-plugin-es": "^4.1.0",
38
38
  "eslint-plugin-jsdoc": "^50.2.4",
39
39
  "eslint-plugin-react": "^7.36.1",
40
40
  "eslint-plugin-react-hooks": "^4.6.2",