eslint-plugin-jsdoc
Advanced tools
Comparing version 46.4.0 to 46.4.1
@@ -703,2 +703,5 @@ "use strict"; | ||
if (opt.esm) { | ||
if (node.type === 'PropertyDefinition' && 'accessibility' in node && node.accessibility !== 'public') { | ||
return false; | ||
} | ||
const exportNode = getExportAncestor(node); | ||
@@ -705,0 +708,0 @@ |
@@ -993,2 +993,15 @@ <a name="user-content-require-jsdoc"></a> | ||
// Message: Missing JSDoc comment. | ||
export class MyClass { | ||
public myPublicProperty: number = 1; | ||
/* ^ Missing JSDoc comment. eslint(jsdoc/require-jsdoc) - expected ✅ */ | ||
private myPrivateProp: number = -1; | ||
/* ^ Missing JSDoc comment. eslint(jsdoc/require-jsdoc) - unexpected ❌ */ | ||
// ... | ||
} | ||
// "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["PropertyDefinition"],"publicOnly":true}] | ||
// Message: Missing JSDoc comment. | ||
```` | ||
@@ -995,0 +1008,0 @@ |
@@ -139,3 +139,3 @@ { | ||
}, | ||
"version": "46.4.0" | ||
"version": "46.4.1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1996577
13955