@@ -945,6 +945,9 @@ function quux (foo) {
945945<a  name =" eslint-plugin-jsdoc-rules-check-examples " ></a >
946946### <code >check-examples</code >  
947947
948+ >  ** NOTE** : This rule currently does not work in ESLint 8 (we are waiting for
949+ >  [ issue 14745] ( https://github.com/eslint/eslint/issues/14745 ) ).
950+ 
948951Ensures that (JavaScript) examples within JSDoc adhere to ESLint rules. Also
949952has options to lint the default values of optional ` @param ` /` @arg ` /` @argument ` 
950953and ` @property ` /` @prop `  tags or the values of ` @default ` /` @defaultvalue `  tags.
@@ -6914,7 +6917,7 @@ class MyClass {
69146917   */ 
69156918  myClassField = 1 
69166919} 
6917- // "  jsdoc/ match- description" : [" " |" " , {" " :[" ClassProperty " ]}]
6920+ // "  jsdoc/ match- description" : [" " |" " , {" " :[" PropertyDefinition " ]}]
69186921// Message: JSDoc description does not satisfy the regex pattern. 
69196922
69206923/** 
@@ -7182,7 +7185,7 @@ class MyClass {
71827185   */ 
71837186  myClassField = 1 
71847187} 
7185- // "jsdoc/match-description": ["error"|"warn", {"contexts":["ClassProperty "]}] 
7188+ // "jsdoc/match-description": ["error"|"warn", {"contexts":["PropertyDefinition "]}] 
71867189
71877190/** 
71887191 * Foo. 
@@ -12813,7 +12816,7 @@ class Animal {
1281312816  @SomeAnnotation (' optionalParameter' 
1281412817  tail:  boolean;
1281512818}
12816- //  "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["ClassProperty "]}]
12819+ //  "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["PropertyDefinition "]}]
1281712820//  Message: Missing JSDoc comment.
1281812821
1281912822@Entity (' users' 
@@ -12907,7 +12910,7 @@ export class MyComponentComponent {
1290712910  @Input ()
1290812911  public  value =  new  EventEmitter ();
1290912912}
12910- //  "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["ClassProperty:has( Decorator[expression.callee.name=\"Input\"]) "]}]
12913+ //  "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["PropertyDefinition >  Decorator[expression.callee.name=\"Input\"]"]}]
1291112914//  Message: Missing JSDoc comment.
1291212915
1291312916requestAnimationFrame (draw)
@@ -12951,6 +12954,12 @@ function comment () {
1295112954}
1295212955//  "jsdoc/require-jsdoc": ["error"|"warn", {"enableFixer":false,"fixerMessage":" TODO: add comment"}]
1295312956//  Message: Missing JSDoc comment.
12957+ 
12958+ export  class  InovaAutoCompleteComponent  {
12959+   public  disabled =  false ;
12960+ }
12961+ //  "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["PropertyDefinition"],"publicOnly":true}]
12962+ //  Message: Missing JSDoc comment.
1295412963```` 
1295512964
1295612965The following patterns are not considered problems:
0 commit comments