File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,9 @@ Finally, enable all of the rules that you would like to use.
126
126
127
127
This setting object supports the following keys:
128
128
129
- - ` exports `
130
- - ` modules `
131
- - ` browserEnv `
129
+ - ` exports ` - ESM exports are checked for JSDoc comments
130
+ - ` modules ` - CommonJS exports are checked for JSDoc comments
131
+ - ` browserEnv ` - Populates window variable
132
132
133
133
### Alias Preference
134
134
Original file line number Diff line number Diff line change @@ -177,9 +177,9 @@ Finally, enable all of the rules that you would like to use.
177
177
178
178
This setting object supports the following keys:
179
179
180
- - ` exports `
181
- - ` modules `
182
- - ` browserEnv `
180
+ - ` exports ` - ESM exports are checked for JSDoc comments
181
+ - ` modules ` - CommonJS exports are checked for JSDoc comments
182
+ - ` browserEnv ` - Populates window variable
183
183
184
184
<a name =" eslint-plugin-jsdoc-settings-alias-preference " ></a >
185
185
### Alias Preference
@@ -3650,6 +3650,13 @@ export { test as test2 }
3650
3650
// Settings: {"jsdoc":{"publicFunctionsOnly":true}}
3651
3651
// Options: [{"require":{"FunctionExpression":true}}]
3652
3652
// Message: Missing JSDoc comment.
3653
+
3654
+ export default class A {
3655
+
3656
+ }
3657
+ // Settings: {"jsdoc":{"publicFunctionsOnly":true}}
3658
+ // Options: [{"require":{"ClassDeclaration":true}}]
3659
+ // Message: Missing JSDoc comment.
3653
3660
````
3654
3661
3655
3662
The following patterns are not considered problems:
You can’t perform that action at this time.
0 commit comments