@lsby/eslint-config 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -12,6 +12,8 @@ module.exports = {
12
12
  "unused-imports",
13
13
  // 排序类属性
14
14
  "sort-class-members",
15
+ // jsdoc相关
16
+ "jsdoc",
15
17
  ],
16
18
 
17
19
  // 解析器
@@ -32,6 +34,9 @@ module.exports = {
32
34
 
33
35
  // 规则
34
36
  rules: {
37
+ // jsdoc的link必须存在
38
+ "jsdoc/no-undefined-types": "error",
39
+
35
40
  // 拒绝any
36
41
  "@typescript-eslint/no-unsafe-assignment": "error",
37
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lsby/eslint-config",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist"
@@ -17,6 +17,7 @@
17
17
  "eslint-plugin-unused-imports": "^3.2.0"
18
18
  },
19
19
  "devDependencies": {
20
- "bumpp": "^9.4.1"
20
+ "bumpp": "^9.4.1",
21
+ "eslint-plugin-jsdoc": "^50.2.2"
21
22
  }
22
23
  }