@@ -10,7 +10,15 @@ module.exports = {
10
10
node : true ,
11
11
} ,
12
12
reportUnusedDisableDirectives : true ,
13
- extends : [ './standard' , 'plugin:import/recommended' , 'plugin:eslint-comments/recommended' , 'plugin:jsonc/recommended-with-jsonc' , 'plugin:yml/standard' , 'plugin:markdown/recommended' ] ,
13
+ extends : [
14
+ './standard' ,
15
+ 'plugin:import/recommended' ,
16
+ 'plugin:eslint-comments/recommended' ,
17
+ 'plugin:jsonc/recommended-with-jsonc' ,
18
+ 'plugin:yml/standard' ,
19
+ 'plugin:markdown/recommended' ,
20
+ 'plugin:jsdoc/recommended' ,
21
+ ] ,
14
22
ignorePatterns : [
15
23
'*.min.*' ,
16
24
'*.d.ts' ,
@@ -43,7 +51,14 @@ module.exports = {
43
51
// force exclude
44
52
'**/.vitepress/cache' ,
45
53
] ,
46
- plugins : [ 'html' , 'unicorn' , 'coderwyd' , 'no-only-tests' , 'unused-imports' ] ,
54
+ plugins : [
55
+ 'html' ,
56
+ 'unicorn' ,
57
+ 'coderwyd' ,
58
+ 'no-only-tests' ,
59
+ 'unused-imports' ,
60
+ 'jsdoc' ,
61
+ ] ,
47
62
settings : {
48
63
'import/resolver' : {
49
64
node : { extensions : [ '.js' , '.mjs' ] } ,
@@ -400,6 +415,20 @@ module.exports = {
400
415
'yml/quotes' : [ 'error' , { prefer : 'single' , avoidEscape : false } ] ,
401
416
'yml/no-empty-document' : 'off' ,
402
417
418
+ // jsdoc
419
+ 'jsdoc/require-jsdoc' : 'off' ,
420
+ 'jsdoc/require-param' : 'off' ,
421
+ 'jsdoc/require-param-type' : 'off' ,
422
+ 'jsdoc/require-param-description' : 'off' ,
423
+ 'jsdoc/require-yields' : 'off' ,
424
+ 'jsdoc/tag-lines' : 'off' ,
425
+ 'jsdoc/check-values' : 'off' ,
426
+ 'jsdoc/check-tag-names' : 'off' ,
427
+ 'jsdoc/no-undefined-types' : 'off' ,
428
+ 'jsdoc/require-returns' : 'off' ,
429
+ 'jsdoc/require-returns-type' : 'off' ,
430
+ 'jsdoc/require-throws' : 'off' ,
431
+
403
432
// coderwyd
404
433
'coderwyd/no-import-node-modules-by-path' : 'error' ,
405
434
'coderwyd/if-newline' : 'error' ,
0 commit comments