@@ -7,17 +7,22 @@ export const settings: Linter.Config = {
7
7
extends : [ "plugin:jsdoc/recommended" ] ,
8
8
9
9
rules : {
10
+ "jsdoc/check-alignment" : "error" ,
10
11
// waiting on https://github.com/eslint/eslint/issues/14745
11
- // "jsdoc/check-examples": "warn",
12
- "jsdoc/check-indentation" : "warn" ,
13
- "jsdoc/check-line-alignment" : "warn" ,
12
+ // "jsdoc/check-examples": "error",
13
+ "jsdoc/check-indentation" : "error" ,
14
+ "jsdoc/check-line-alignment" : "error" ,
15
+ "jsdoc/check-param-names" : "error" ,
16
+ "jsdoc/check-property-names" : "error" ,
17
+ "jsdoc/check-types" : "error" ,
18
+ "jsdoc/check-values" : "error" ,
14
19
"jsdoc/no-bad-blocks" : "warn" ,
15
20
"jsdoc/no-defaults" : "warn" ,
16
- "jsdoc/require-asterisk-prefix" : "warn " ,
21
+ "jsdoc/require-asterisk-prefix" : "error " ,
17
22
"jsdoc/require-description" : "warn" ,
18
23
// Rule is too strict.
19
24
// "jsdoc/require-description-complete-sentence": "off",
20
- "jsdoc/require-hyphen-before-param-description" : "warn " ,
25
+ "jsdoc/require-hyphen-before-param-description" : "error " ,
21
26
"jsdoc/require-jsdoc" : [
22
27
"warn" ,
23
28
{
@@ -35,7 +40,11 @@ export const settings: Linter.Config = {
35
40
} ,
36
41
} ,
37
42
] ,
43
+ "jsdoc/require-param-name" : "error" ,
44
+ "jsdoc/require-property-name" : "error" ,
45
+ "jsdoc/require-returns-check" : "error" ,
38
46
"jsdoc/require-throws" : "warn" ,
47
+ "jsdoc/require-yields-check" : "error" ,
39
48
"jsdoc/tag-lines" : [
40
49
"warn" ,
41
50
"never" ,
@@ -48,12 +57,12 @@ export const settings: Linter.Config = {
48
57
files : typescriptFiles ,
49
58
rules : {
50
59
"jsdoc/no-types" : "warn" ,
51
- "jsdoc/require-param-type" : "off" ,
52
60
"jsdoc/require-param" : "off" ,
53
- "jsdoc/require-property-type" : "off" ,
54
61
"jsdoc/require-property" : "off" ,
55
- "jsdoc/require-returns-type" : "off" ,
56
62
"jsdoc/require-returns" : "off" ,
63
+ "jsdoc/require-param-type" : "off" ,
64
+ "jsdoc/require-property-type" : "off" ,
65
+ "jsdoc/require-returns-type" : "off" ,
57
66
} ,
58
67
} ,
59
68
] ,
0 commit comments