eslint-plugin-jsdoc 63.0.0 → 63.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rules/emptyTags.cjs +14 -1
- package/dist/rules/emptyTags.cjs.map +1 -1
- package/dist/rules/implementsOnClasses.cjs +1 -1
- package/dist/rules/implementsOnClasses.cjs.map +1 -1
- package/dist/rules/matchDescription.cjs +1 -1
- package/dist/rules/matchDescription.cjs.map +1 -1
- package/dist/rules/matchName.cjs +1 -1
- package/dist/rules/matchName.cjs.map +1 -1
- package/dist/rules/noDefaults.cjs +1 -1
- package/dist/rules/noDefaults.cjs.map +1 -1
- package/dist/rules/noMissingSyntax.cjs +1 -1
- package/dist/rules/noMissingSyntax.cjs.map +1 -1
- package/dist/rules/noRestrictedSyntax.cjs +1 -1
- package/dist/rules/noRestrictedSyntax.cjs.map +1 -1
- package/dist/rules/noTypes.cjs +1 -1
- package/dist/rules/noTypes.cjs.map +1 -1
- package/dist/rules/requireDescription.cjs +1 -1
- package/dist/rules/requireDescription.cjs.map +1 -1
- package/dist/rules/requireExample.cjs +1 -1
- package/dist/rules/requireExample.cjs.map +1 -1
- package/dist/rules/requireJsdoc.cjs +1 -1
- package/dist/rules/requireJsdoc.cjs.map +1 -1
- package/dist/rules/requireParam.cjs +1 -1
- package/dist/rules/requireParam.cjs.map +1 -1
- package/dist/rules/requireParamDescription.cjs +1 -1
- package/dist/rules/requireParamDescription.cjs.map +1 -1
- package/dist/rules/requireParamName.cjs +1 -1
- package/dist/rules/requireParamName.cjs.map +1 -1
- package/dist/rules/requireParamType.cjs +1 -1
- package/dist/rules/requireParamType.cjs.map +1 -1
- package/dist/rules/requireReturnsDescription.cjs +1 -1
- package/dist/rules/requireReturnsDescription.cjs.map +1 -1
- package/dist/rules/requireReturnsType.cjs +1 -1
- package/dist/rules/requireReturnsType.cjs.map +1 -1
- package/dist/rules.d.ts +16 -16
- package/package.json +7 -7
- package/src/rules/emptyTags.js +14 -0
- package/src/rules/implementsOnClasses.js +1 -1
- package/src/rules/matchDescription.js +1 -1
- package/src/rules/matchName.js +1 -1
- package/src/rules/noDefaults.js +1 -1
- package/src/rules/noMissingSyntax.js +1 -1
- package/src/rules/noRestrictedSyntax.js +1 -1
- package/src/rules/noTypes.js +1 -1
- package/src/rules/requireDescription.js +1 -1
- package/src/rules/requireExample.js +1 -1
- package/src/rules/requireJsdoc.js +1 -1
- package/src/rules/requireParam.js +1 -1
- package/src/rules/requireParamDescription.js +1 -1
- package/src/rules/requireParamName.js +1 -1
- package/src/rules/requireParamType.js +1 -1
- package/src/rules/requireReturnsDescription.js +1 -1
- package/src/rules/requireReturnsType.js +1 -1
- package/src/rules.d.ts +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requireReturnsDescription.cjs","names":["_iterateJsdoc","_interopRequireDefault","require","e","__esModule","default","_default","exports","iterateJsdoc","report","utils","forEachPreferredTag","jsdocTag","targetTagName","type","trim","includes","description","contextDefaults","meta","docs","url","schema","additionalProperties","properties","contexts","items","anyOf","comment","context","module"],"sources":["../../src/rules/requireReturnsDescription.js"],"sourcesContent":["import iterateJsdoc from '../iterateJsdoc.js';\n\nexport default iterateJsdoc(({\n report,\n utils,\n}) => {\n utils.forEachPreferredTag('returns', (jsdocTag, targetTagName) => {\n const type = jsdocTag.type && jsdocTag.type.trim();\n\n if ([\n 'Promise<undefined>', 'Promise<void>', 'undefined', 'void',\n ].includes(type)) {\n return;\n }\n\n if (!jsdocTag.description.trim()) {\n report(`Missing JSDoc @${targetTagName} description.`, null, jsdocTag);\n }\n });\n}, {\n contextDefaults: true,\n meta: {\n docs: {\n description: 'Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).',\n url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header',\n },\n schema: [\n {\n additionalProperties: false,\n properties: {\n contexts: {\n description: `Set this to an array of strings representing the AST context (or an object with\noptional \\`context\\` and \\`comment\\` properties) where you wish the rule to be applied.\n\n\\`context\\` defaults to \\`any\\` and \\`comment\\` defaults to no specific comment context.\n\nOverrides the default contexts (\\`ArrowFunctionExpression\\`, \\`FunctionDeclaration\\`,\n\\`FunctionExpression\\`). Set to \\`\"any\"\\` if you want\nthe rule to apply to any JSDoc block throughout your files (as is necessary\nfor finding function blocks not attached to a function declaration or\nexpression, i.e., \\`@callback\\` or \\`@function\\` (or its aliases \\`@func\\` or\n\\`@method\\`) (including those associated with an \\`@interface\\`).\n\nSee the [\"AST and Selectors\"](
|
|
1
|
+
{"version":3,"file":"requireReturnsDescription.cjs","names":["_iterateJsdoc","_interopRequireDefault","require","e","__esModule","default","_default","exports","iterateJsdoc","report","utils","forEachPreferredTag","jsdocTag","targetTagName","type","trim","includes","description","contextDefaults","meta","docs","url","schema","additionalProperties","properties","contexts","items","anyOf","comment","context","module"],"sources":["../../src/rules/requireReturnsDescription.js"],"sourcesContent":["import iterateJsdoc from '../iterateJsdoc.js';\n\nexport default iterateJsdoc(({\n report,\n utils,\n}) => {\n utils.forEachPreferredTag('returns', (jsdocTag, targetTagName) => {\n const type = jsdocTag.type && jsdocTag.type.trim();\n\n if ([\n 'Promise<undefined>', 'Promise<void>', 'undefined', 'void',\n ].includes(type)) {\n return;\n }\n\n if (!jsdocTag.description.trim()) {\n report(`Missing JSDoc @${targetTagName} description.`, null, jsdocTag);\n }\n });\n}, {\n contextDefaults: true,\n meta: {\n docs: {\n description: 'Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).',\n url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header',\n },\n schema: [\n {\n additionalProperties: false,\n properties: {\n contexts: {\n description: `Set this to an array of strings representing the AST context (or an object with\noptional \\`context\\` and \\`comment\\` properties) where you wish the rule to be applied.\n\n\\`context\\` defaults to \\`any\\` and \\`comment\\` defaults to no specific comment context.\n\nOverrides the default contexts (\\`ArrowFunctionExpression\\`, \\`FunctionDeclaration\\`,\n\\`FunctionExpression\\`). Set to \\`\"any\"\\` if you want\nthe rule to apply to any JSDoc block throughout your files (as is necessary\nfor finding function blocks not attached to a function declaration or\nexpression, i.e., \\`@callback\\` or \\`@function\\` (or its aliases \\`@func\\` or\n\\`@method\\`) (including those associated with an \\`@interface\\`).\n\nSee the [\"AST and Selectors\"](../advanced.md#ast-and-selectors)\nsection of our Advanced docs for more on the expected format.`,\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: false,\n properties: {\n comment: {\n type: 'string',\n },\n context: {\n type: 'string',\n },\n },\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n },\n type: 'object',\n },\n ],\n type: 'suggestion',\n },\n});\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA8C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAE/B,IAAAG,qBAAY,EAAC,CAAC;EAC3BC,MAAM;EACNC;AACF,CAAC,KAAK;EACJA,KAAK,CAACC,mBAAmB,CAAC,SAAS,EAAE,CAACC,QAAQ,EAAEC,aAAa,KAAK;IAChE,MAAMC,IAAI,GAAGF,QAAQ,CAACE,IAAI,IAAIF,QAAQ,CAACE,IAAI,CAACC,IAAI,CAAC,CAAC;IAElD,IAAI,CACF,oBAAoB,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,CAC3D,CAACC,QAAQ,CAACF,IAAI,CAAC,EAAE;MAChB;IACF;IAEA,IAAI,CAACF,QAAQ,CAACK,WAAW,CAACF,IAAI,CAAC,CAAC,EAAE;MAChCN,MAAM,CAAC,kBAAkBI,aAAa,eAAe,EAAE,IAAI,EAAED,QAAQ,CAAC;IACxE;EACF,CAAC,CAAC;AACJ,CAAC,EAAE;EACDM,eAAe,EAAE,IAAI;EACrBC,IAAI,EAAE;IACJC,IAAI,EAAE;MACJH,WAAW,EAAE,6GAA6G;MAC1HI,GAAG,EAAE;IACP,CAAC;IACDC,MAAM,EAAE,CACN;MACEC,oBAAoB,EAAE,KAAK;MAC3BC,UAAU,EAAE;QACVC,QAAQ,EAAE;UACRR,WAAW,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;UAClDS,KAAK,EAAE;YACLC,KAAK,EAAE,CACL;cACEb,IAAI,EAAE;YACR,CAAC,EACD;cACES,oBAAoB,EAAE,KAAK;cAC3BC,UAAU,EAAE;gBACVI,OAAO,EAAE;kBACPd,IAAI,EAAE;gBACR,CAAC;gBACDe,OAAO,EAAE;kBACPf,IAAI,EAAE;gBACR;cACF,CAAC;cACDA,IAAI,EAAE;YACR,CAAC;UAEL,CAAC;UACDA,IAAI,EAAE;QACR;MACF,CAAC;MACDA,IAAI,EAAE;IACR,CAAC,CACF;IACDA,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAAAgB,MAAA,CAAAvB,OAAA,GAAAA,OAAA,CAAAF,OAAA","ignoreList":[]}
|
|
@@ -38,7 +38,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
38
38
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
39
39
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
40
40
|
|
|
41
|
-
See the ["AST and Selectors"](
|
|
41
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
42
42
|
section of our Advanced docs for more on the expected format.`,
|
|
43
43
|
items: {
|
|
44
44
|
anyOf: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requireReturnsType.cjs","names":["_iterateJsdoc","_interopRequireDefault","require","e","__esModule","default","_default","exports","iterateJsdoc","report","utils","forEachPreferredTag","jsdocTag","targetTagName","type","contextDefaults","meta","docs","description","url","schema","additionalProperties","properties","contexts","items","anyOf","comment","context","module"],"sources":["../../src/rules/requireReturnsType.js"],"sourcesContent":["import iterateJsdoc from '../iterateJsdoc.js';\n\nexport default iterateJsdoc(({\n report,\n utils,\n}) => {\n utils.forEachPreferredTag('returns', (jsdocTag, targetTagName) => {\n if (!jsdocTag.type) {\n report(`Missing JSDoc @${targetTagName} type.`, null, jsdocTag);\n }\n });\n}, {\n contextDefaults: true,\n meta: {\n docs: {\n description: 'Requires that `@returns` tag has type value (in curly brackets).',\n url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header',\n },\n schema: [\n {\n additionalProperties: false,\n properties: {\n contexts: {\n description: `Set this to an array of strings representing the AST context (or an object with\noptional \\`context\\` and \\`comment\\` properties) where you wish the rule to be applied.\n\n\\`context\\` defaults to \\`any\\` and \\`comment\\` defaults to no specific comment context.\n\nOverrides the default contexts (\\`ArrowFunctionExpression\\`, \\`FunctionDeclaration\\`,\n\\`FunctionExpression\\`). Set to \\`\"any\"\\` if you want\nthe rule to apply to any JSDoc block throughout your files (as is necessary\nfor finding function blocks not attached to a function declaration or\nexpression, i.e., \\`@callback\\` or \\`@function\\` (or its aliases \\`@func\\` or\n\\`@method\\`) (including those associated with an \\`@interface\\`).\n\nSee the [\"AST and Selectors\"](
|
|
1
|
+
{"version":3,"file":"requireReturnsType.cjs","names":["_iterateJsdoc","_interopRequireDefault","require","e","__esModule","default","_default","exports","iterateJsdoc","report","utils","forEachPreferredTag","jsdocTag","targetTagName","type","contextDefaults","meta","docs","description","url","schema","additionalProperties","properties","contexts","items","anyOf","comment","context","module"],"sources":["../../src/rules/requireReturnsType.js"],"sourcesContent":["import iterateJsdoc from '../iterateJsdoc.js';\n\nexport default iterateJsdoc(({\n report,\n utils,\n}) => {\n utils.forEachPreferredTag('returns', (jsdocTag, targetTagName) => {\n if (!jsdocTag.type) {\n report(`Missing JSDoc @${targetTagName} type.`, null, jsdocTag);\n }\n });\n}, {\n contextDefaults: true,\n meta: {\n docs: {\n description: 'Requires that `@returns` tag has type value (in curly brackets).',\n url: 'https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header',\n },\n schema: [\n {\n additionalProperties: false,\n properties: {\n contexts: {\n description: `Set this to an array of strings representing the AST context (or an object with\noptional \\`context\\` and \\`comment\\` properties) where you wish the rule to be applied.\n\n\\`context\\` defaults to \\`any\\` and \\`comment\\` defaults to no specific comment context.\n\nOverrides the default contexts (\\`ArrowFunctionExpression\\`, \\`FunctionDeclaration\\`,\n\\`FunctionExpression\\`). Set to \\`\"any\"\\` if you want\nthe rule to apply to any JSDoc block throughout your files (as is necessary\nfor finding function blocks not attached to a function declaration or\nexpression, i.e., \\`@callback\\` or \\`@function\\` (or its aliases \\`@func\\` or\n\\`@method\\`) (including those associated with an \\`@interface\\`).\n\nSee the [\"AST and Selectors\"](../advanced.md#ast-and-selectors)\nsection of our Advanced docs for more on the expected format.`,\n items: {\n anyOf: [\n {\n type: 'string',\n },\n {\n additionalProperties: false,\n properties: {\n comment: {\n type: 'string',\n },\n context: {\n type: 'string',\n },\n },\n type: 'object',\n },\n ],\n },\n type: 'array',\n },\n },\n type: 'object',\n },\n ],\n type: 'suggestion',\n },\n});\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA8C,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAE/B,IAAAG,qBAAY,EAAC,CAAC;EAC3BC,MAAM;EACNC;AACF,CAAC,KAAK;EACJA,KAAK,CAACC,mBAAmB,CAAC,SAAS,EAAE,CAACC,QAAQ,EAAEC,aAAa,KAAK;IAChE,IAAI,CAACD,QAAQ,CAACE,IAAI,EAAE;MAClBL,MAAM,CAAC,kBAAkBI,aAAa,QAAQ,EAAE,IAAI,EAAED,QAAQ,CAAC;IACjE;EACF,CAAC,CAAC;AACJ,CAAC,EAAE;EACDG,eAAe,EAAE,IAAI;EACrBC,IAAI,EAAE;IACJC,IAAI,EAAE;MACJC,WAAW,EAAE,kEAAkE;MAC/EC,GAAG,EAAE;IACP,CAAC;IACDC,MAAM,EAAE,CACN;MACEC,oBAAoB,EAAE,KAAK;MAC3BC,UAAU,EAAE;QACVC,QAAQ,EAAE;UACRL,WAAW,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8DAA8D;UAClDM,KAAK,EAAE;YACLC,KAAK,EAAE,CACL;cACEX,IAAI,EAAE;YACR,CAAC,EACD;cACEO,oBAAoB,EAAE,KAAK;cAC3BC,UAAU,EAAE;gBACVI,OAAO,EAAE;kBACPZ,IAAI,EAAE;gBACR,CAAC;gBACDa,OAAO,EAAE;kBACPb,IAAI,EAAE;gBACR;cACF,CAAC;cACDA,IAAI,EAAE;YACR,CAAC;UAEL,CAAC;UACDA,IAAI,EAAE;QACR;MACF,CAAC;MACDA,IAAI,EAAE;IACR,CAAC,CACF;IACDA,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAAAc,MAAA,CAAArB,OAAA,GAAAA,OAAA,CAAAF,OAAA","ignoreList":[]}
|
package/dist/rules.d.ts
CHANGED
|
@@ -575,7 +575,7 @@ export interface Rules {
|
|
|
575
575
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
576
576
|
* `@method`) (including those associated with an `@interface`).
|
|
577
577
|
*
|
|
578
|
-
* See the ["AST and Selectors"](
|
|
578
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
579
579
|
* section of our Advanced docs for more on the expected format.
|
|
580
580
|
*/
|
|
581
581
|
contexts?: (
|
|
@@ -705,7 +705,7 @@ export interface Rules {
|
|
|
705
705
|
* `FunctionExpression`). Set to `"any"` if you want the rule to apply to any
|
|
706
706
|
* JSDoc block throughout your files.
|
|
707
707
|
*
|
|
708
|
-
* See the ["AST and Selectors"](
|
|
708
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
709
709
|
* section of our Advanced docs for more on the expected format.
|
|
710
710
|
*/
|
|
711
711
|
contexts?: (
|
|
@@ -900,7 +900,7 @@ export interface Rules {
|
|
|
900
900
|
/**
|
|
901
901
|
* AST to confine the allowing or disallowing to JSDoc blocks
|
|
902
902
|
* associated with a particular context. See the
|
|
903
|
-
* ["AST and Selectors"](
|
|
903
|
+
* ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
904
904
|
* section of our Advanced docs for more on the expected format.
|
|
905
905
|
*/
|
|
906
906
|
context?: string;
|
|
@@ -1087,7 +1087,7 @@ export interface Rules {
|
|
|
1087
1087
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
1088
1088
|
* `@method`) (including those associated with an `@interface`).
|
|
1089
1089
|
*
|
|
1090
|
-
* See the ["AST and Selectors"](
|
|
1090
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1091
1091
|
* section of our Advanced docs for more on the expected format.
|
|
1092
1092
|
*/
|
|
1093
1093
|
contexts?: (
|
|
@@ -1133,7 +1133,7 @@ export interface Rules {
|
|
|
1133
1133
|
* function declaration or expression, i.e., `@callback` or `@function` (or its
|
|
1134
1134
|
* aliases `@func` or `@method`) (including those associated with an `@interface`).
|
|
1135
1135
|
*
|
|
1136
|
-
* See the ["AST and Selectors"](
|
|
1136
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1137
1137
|
* section of our Advanced docs for more on the expected format.
|
|
1138
1138
|
*/
|
|
1139
1139
|
contexts?: (
|
|
@@ -1215,7 +1215,7 @@ export interface Rules {
|
|
|
1215
1215
|
* function declaration or expression, i.e., `@callback` or `@function` (or its
|
|
1216
1216
|
* aliases `@func` or `@method`) (including those associated with an `@interface`).
|
|
1217
1217
|
*
|
|
1218
|
-
* See the ["AST and Selectors"](
|
|
1218
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1219
1219
|
* section of our Advanced docs for more on the expected format.
|
|
1220
1220
|
*/
|
|
1221
1221
|
contexts: (
|
|
@@ -1248,7 +1248,7 @@ export interface Rules {
|
|
|
1248
1248
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
1249
1249
|
* `@method`) (including those associated with an `@interface`).
|
|
1250
1250
|
*
|
|
1251
|
-
* See the ["AST and Selectors"](
|
|
1251
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1252
1252
|
* section of our Advanced docs for more on the expected format.
|
|
1253
1253
|
*/
|
|
1254
1254
|
contexts?: (
|
|
@@ -1396,7 +1396,7 @@ export interface Rules {
|
|
|
1396
1396
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
1397
1397
|
* `@method`) (including those associated with an `@interface`).
|
|
1398
1398
|
*
|
|
1399
|
-
* See the ["AST and Selectors"](
|
|
1399
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1400
1400
|
* section of our Advanced docs for more on the expected format.
|
|
1401
1401
|
*/
|
|
1402
1402
|
contexts?: (
|
|
@@ -1495,7 +1495,7 @@ export interface Rules {
|
|
|
1495
1495
|
* `FunctionExpression`). Set to `"any"` if you want the rule to apply to any
|
|
1496
1496
|
* JSDoc block throughout your files.
|
|
1497
1497
|
*
|
|
1498
|
-
* See the ["AST and Selectors"](
|
|
1498
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1499
1499
|
* section of our Advanced docs for more on the expected format.
|
|
1500
1500
|
*/
|
|
1501
1501
|
contexts?: (
|
|
@@ -1681,7 +1681,7 @@ export interface Rules {
|
|
|
1681
1681
|
* Note that you may need to disable `require` items (e.g., `MethodDefinition`)
|
|
1682
1682
|
* if you are specifying a more precise form in `contexts` (e.g., `MethodDefinition:not([accessibility="private"] > FunctionExpression`).
|
|
1683
1683
|
*
|
|
1684
|
-
* See the ["AST and Selectors"](
|
|
1684
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1685
1685
|
* section of our Advanced docs for more on the expected format.
|
|
1686
1686
|
*/
|
|
1687
1687
|
contexts?: (
|
|
@@ -1938,7 +1938,7 @@ export interface Rules {
|
|
|
1938
1938
|
* `TSMethodSignature` in TypeScript or restricting the contexts
|
|
1939
1939
|
* which are checked.
|
|
1940
1940
|
*
|
|
1941
|
-
* See the ["AST and Selectors"](
|
|
1941
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1942
1942
|
* section of our Advanced docs for more on the expected format.
|
|
1943
1943
|
*/
|
|
1944
1944
|
contexts?: (
|
|
@@ -2090,7 +2090,7 @@ export interface Rules {
|
|
|
2090
2090
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2091
2091
|
* `@method`) (including those associated with an `@interface`).
|
|
2092
2092
|
*
|
|
2093
|
-
* See the ["AST and Selectors"](
|
|
2093
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2094
2094
|
* section of our Advanced docs for more on the expected format.
|
|
2095
2095
|
*/
|
|
2096
2096
|
contexts?: (
|
|
@@ -2134,7 +2134,7 @@ export interface Rules {
|
|
|
2134
2134
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2135
2135
|
* `@method`) (including those associated with an `@interface`).
|
|
2136
2136
|
*
|
|
2137
|
-
* See the ["AST and Selectors"](
|
|
2137
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2138
2138
|
* section of our Advanced docs for more on the expected format.
|
|
2139
2139
|
*/
|
|
2140
2140
|
contexts?: (
|
|
@@ -2165,7 +2165,7 @@ export interface Rules {
|
|
|
2165
2165
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2166
2166
|
* `@method`) (including those associated with an `@interface`).
|
|
2167
2167
|
*
|
|
2168
|
-
* See the ["AST and Selectors"](
|
|
2168
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2169
2169
|
* section of our Advanced docs for more on the expected format.
|
|
2170
2170
|
*/
|
|
2171
2171
|
contexts?: (
|
|
@@ -2394,7 +2394,7 @@ export interface Rules {
|
|
|
2394
2394
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2395
2395
|
* `@method`) (including those associated with an `@interface`).
|
|
2396
2396
|
*
|
|
2397
|
-
* See the ["AST and Selectors"](
|
|
2397
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2398
2398
|
* section of our Advanced docs for more on the expected format.
|
|
2399
2399
|
*/
|
|
2400
2400
|
contexts?: (
|
|
@@ -2425,7 +2425,7 @@ export interface Rules {
|
|
|
2425
2425
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2426
2426
|
* `@method`) (including those associated with an `@interface`).
|
|
2427
2427
|
*
|
|
2428
|
-
* See the ["AST and Selectors"](
|
|
2428
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2429
2429
|
* section of our Advanced docs for more on the expected format.
|
|
2430
2430
|
*/
|
|
2431
2431
|
contexts?: (
|
package/package.json
CHANGED
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
"url": "http://gajus.com"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@es-joy/jsdoccomment": "~0.
|
|
8
|
+
"@es-joy/jsdoccomment": "~0.87.0",
|
|
9
9
|
"@es-joy/resolve.exports": "1.2.0",
|
|
10
10
|
"are-docs-informative": "^0.0.2",
|
|
11
|
-
"comment-parser": "1.4.
|
|
11
|
+
"comment-parser": "1.4.7",
|
|
12
12
|
"debug": "^4.4.3",
|
|
13
13
|
"escape-string-regexp": "^4.0.0",
|
|
14
14
|
"espree": "^11.2.0",
|
|
15
15
|
"esquery": "^1.7.0",
|
|
16
16
|
"html-entities": "^2.6.0",
|
|
17
|
-
"object-deep-merge": "^2.0.
|
|
17
|
+
"object-deep-merge": "^2.0.1",
|
|
18
18
|
"parse-imports-exports": "^0.2.4",
|
|
19
|
-
"semver": "^7.8.
|
|
19
|
+
"semver": "^7.8.1",
|
|
20
20
|
"spdx-expression-parse": "^4.0.0",
|
|
21
21
|
"to-valid-identifier": "^1.0.0"
|
|
22
22
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@types/estree": "^1.0.9",
|
|
43
43
|
"@types/json-schema": "^7.0.15",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|
|
45
|
-
"@types/node": "^25.9.
|
|
45
|
+
"@types/node": "^25.9.1",
|
|
46
46
|
"@types/semver": "^7.7.1",
|
|
47
47
|
"@types/spdx-expression-parse": "^4.0.0",
|
|
48
48
|
"@typescript-eslint/types": "8.59.4",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"json-schema": "^0.4.0",
|
|
64
64
|
"json-schema-to-typescript": "^15.0.4",
|
|
65
65
|
"lint-staged": "^17.0.5",
|
|
66
|
-
"mocha": "^11.7.
|
|
66
|
+
"mocha": "^11.7.6",
|
|
67
67
|
"open-editor": "^6.0.0",
|
|
68
68
|
"playwright": "^1.60.0",
|
|
69
69
|
"replace": "^1.2.2",
|
|
@@ -179,5 +179,5 @@
|
|
|
179
179
|
"test-cov": "TIMING=1 c8 --reporter text pnpm run test-no-cov",
|
|
180
180
|
"test-index": "pnpm run test-no-cov test/rules/index.js"
|
|
181
181
|
},
|
|
182
|
-
"version": "63.0.
|
|
182
|
+
"version": "63.0.1"
|
|
183
183
|
}
|
package/src/rules/emptyTags.js
CHANGED
|
@@ -55,6 +55,14 @@ export default iterateJsdoc(({
|
|
|
55
55
|
// Allow for JSDoc-block final asterisks
|
|
56
56
|
key !== emptyTags.length - 1 || !(/^\s*\*+$/v).test(content)
|
|
57
57
|
)) {
|
|
58
|
+
const {
|
|
59
|
+
tokens: {
|
|
60
|
+
delimiter,
|
|
61
|
+
end,
|
|
62
|
+
postName,
|
|
63
|
+
start,
|
|
64
|
+
},
|
|
65
|
+
} = tag.source[0];
|
|
58
66
|
const fix = () => {
|
|
59
67
|
// By time of call in fixer, `tag` will have `line` added
|
|
60
68
|
utils.setTag(
|
|
@@ -63,6 +71,12 @@ export default iterateJsdoc(({
|
|
|
63
71
|
* line: import('../iterateJsdoc.js').Integer
|
|
64
72
|
* }}
|
|
65
73
|
*/ (tag),
|
|
74
|
+
{
|
|
75
|
+
delimiter,
|
|
76
|
+
end,
|
|
77
|
+
postName: end ? postName : '',
|
|
78
|
+
start,
|
|
79
|
+
},
|
|
66
80
|
);
|
|
67
81
|
};
|
|
68
82
|
|
|
@@ -46,7 +46,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
46
46
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
47
47
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
48
48
|
|
|
49
|
-
See the ["AST and Selectors"](
|
|
49
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
50
50
|
section of our Advanced docs for more on the expected format.`,
|
|
51
51
|
items: {
|
|
52
52
|
anyOf: [
|
|
@@ -183,7 +183,7 @@ Overrides the default contexts (\`ArrowFunctionExpression\`, \`FunctionDeclarati
|
|
|
183
183
|
\`FunctionExpression\`). Set to \`"any"\` if you want the rule to apply to any
|
|
184
184
|
JSDoc block throughout your files.
|
|
185
185
|
|
|
186
|
-
See the ["AST and Selectors"](
|
|
186
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
187
187
|
section of our Advanced docs for more on the expected format.`,
|
|
188
188
|
items: {
|
|
189
189
|
anyOf: [
|
package/src/rules/matchName.js
CHANGED
|
@@ -135,7 +135,7 @@ Accepts a string regular expression (optionally wrapped between two
|
|
|
135
135
|
context: {
|
|
136
136
|
description: `AST to confine the allowing or disallowing to JSDoc blocks
|
|
137
137
|
associated with a particular context. See the
|
|
138
|
-
["AST and Selectors"](
|
|
138
|
+
["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
139
139
|
section of our Advanced docs for more on the expected format.`,
|
|
140
140
|
type: 'string',
|
|
141
141
|
},
|
package/src/rules/noDefaults.js
CHANGED
|
@@ -64,7 +64,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
64
64
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
65
65
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
66
66
|
|
|
67
|
-
See the ["AST and Selectors"](
|
|
67
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
68
68
|
section of our Advanced docs for more on the expected format.`,
|
|
69
69
|
items: {
|
|
70
70
|
anyOf: [
|
|
@@ -177,7 +177,7 @@ your files (as is necessary for finding function blocks not attached to a
|
|
|
177
177
|
function declaration or expression, i.e., \`@callback\` or \`@function\` (or its
|
|
178
178
|
aliases \`@func\` or \`@method\`) (including those associated with an \`@interface\`).
|
|
179
179
|
|
|
180
|
-
See the ["AST and Selectors"](
|
|
180
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
181
181
|
section of our Advanced docs for more on the expected format.`,
|
|
182
182
|
items: {
|
|
183
183
|
anyOf: [
|
|
@@ -35,7 +35,7 @@ your files (as is necessary for finding function blocks not attached to a
|
|
|
35
35
|
function declaration or expression, i.e., \`@callback\` or \`@function\` (or its
|
|
36
36
|
aliases \`@func\` or \`@method\`) (including those associated with an \`@interface\`).
|
|
37
37
|
|
|
38
|
-
See the ["AST and Selectors"](
|
|
38
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
39
39
|
section of our Advanced docs for more on the expected format.`,
|
|
40
40
|
items: {
|
|
41
41
|
anyOf: [
|
package/src/rules/noTypes.js
CHANGED
|
@@ -76,7 +76,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
76
76
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
77
77
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
78
78
|
|
|
79
|
-
See the ["AST and Selectors"](
|
|
79
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
80
80
|
section of our Advanced docs for more on the expected format.`,
|
|
81
81
|
items: {
|
|
82
82
|
anyOf: [
|
|
@@ -138,7 +138,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
138
138
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
139
139
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
140
140
|
|
|
141
|
-
See the ["AST and Selectors"](
|
|
141
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
142
142
|
section of our Advanced docs for more on the expected format.`,
|
|
143
143
|
items: {
|
|
144
144
|
anyOf: [
|
|
@@ -88,7 +88,7 @@ Overrides the default contexts (\`ArrowFunctionExpression\`, \`FunctionDeclarati
|
|
|
88
88
|
\`FunctionExpression\`). Set to \`"any"\` if you want the rule to apply to any
|
|
89
89
|
JSDoc block throughout your files.
|
|
90
90
|
|
|
91
|
-
See the ["AST and Selectors"](
|
|
91
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
92
92
|
section of our Advanced docs for more on the expected format.`,
|
|
93
93
|
items: {
|
|
94
94
|
anyOf: [
|
|
@@ -102,7 +102,7 @@ for it to require documentation.
|
|
|
102
102
|
Note that you may need to disable \`require\` items (e.g., \`MethodDefinition\`)
|
|
103
103
|
if you are specifying a more precise form in \`contexts\` (e.g., \`MethodDefinition:not([accessibility="private"] > FunctionExpression\`).
|
|
104
104
|
|
|
105
|
-
See the ["AST and Selectors"](
|
|
105
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
106
106
|
section of our Advanced docs for more on the expected format.`,
|
|
107
107
|
items: {
|
|
108
108
|
anyOf: [
|
|
@@ -684,7 +684,7 @@ Overrides the default contexts (\`ArrowFunctionExpression\`, \`FunctionDeclarati
|
|
|
684
684
|
\`TSMethodSignature\` in TypeScript or restricting the contexts
|
|
685
685
|
which are checked.
|
|
686
686
|
|
|
687
|
-
See the ["AST and Selectors"](
|
|
687
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
688
688
|
section of our Advanced docs for more on the expected format.`,
|
|
689
689
|
items: {
|
|
690
690
|
anyOf: [
|
|
@@ -65,7 +65,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
65
65
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
66
66
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
67
67
|
|
|
68
|
-
See the ["AST and Selectors"](
|
|
68
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
69
69
|
section of our Advanced docs for more on the expected format.`,
|
|
70
70
|
items: {
|
|
71
71
|
anyOf: [
|
|
@@ -37,7 +37,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
37
37
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
38
38
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
39
39
|
|
|
40
|
-
See the ["AST and Selectors"](
|
|
40
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
41
41
|
section of our Advanced docs for more on the expected format.`,
|
|
42
42
|
items: {
|
|
43
43
|
anyOf: [
|
|
@@ -65,7 +65,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
65
65
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
66
66
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
67
67
|
|
|
68
|
-
See the ["AST and Selectors"](
|
|
68
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
69
69
|
section of our Advanced docs for more on the expected format.`,
|
|
70
70
|
items: {
|
|
71
71
|
anyOf: [
|
|
@@ -41,7 +41,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
41
41
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
42
42
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
43
43
|
|
|
44
|
-
See the ["AST and Selectors"](
|
|
44
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
45
45
|
section of our Advanced docs for more on the expected format.`,
|
|
46
46
|
items: {
|
|
47
47
|
anyOf: [
|
|
@@ -33,7 +33,7 @@ for finding function blocks not attached to a function declaration or
|
|
|
33
33
|
expression, i.e., \`@callback\` or \`@function\` (or its aliases \`@func\` or
|
|
34
34
|
\`@method\`) (including those associated with an \`@interface\`).
|
|
35
35
|
|
|
36
|
-
See the ["AST and Selectors"](
|
|
36
|
+
See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
37
37
|
section of our Advanced docs for more on the expected format.`,
|
|
38
38
|
items: {
|
|
39
39
|
anyOf: [
|
package/src/rules.d.ts
CHANGED
|
@@ -575,7 +575,7 @@ export interface Rules {
|
|
|
575
575
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
576
576
|
* `@method`) (including those associated with an `@interface`).
|
|
577
577
|
*
|
|
578
|
-
* See the ["AST and Selectors"](
|
|
578
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
579
579
|
* section of our Advanced docs for more on the expected format.
|
|
580
580
|
*/
|
|
581
581
|
contexts?: (
|
|
@@ -705,7 +705,7 @@ export interface Rules {
|
|
|
705
705
|
* `FunctionExpression`). Set to `"any"` if you want the rule to apply to any
|
|
706
706
|
* JSDoc block throughout your files.
|
|
707
707
|
*
|
|
708
|
-
* See the ["AST and Selectors"](
|
|
708
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
709
709
|
* section of our Advanced docs for more on the expected format.
|
|
710
710
|
*/
|
|
711
711
|
contexts?: (
|
|
@@ -900,7 +900,7 @@ export interface Rules {
|
|
|
900
900
|
/**
|
|
901
901
|
* AST to confine the allowing or disallowing to JSDoc blocks
|
|
902
902
|
* associated with a particular context. See the
|
|
903
|
-
* ["AST and Selectors"](
|
|
903
|
+
* ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
904
904
|
* section of our Advanced docs for more on the expected format.
|
|
905
905
|
*/
|
|
906
906
|
context?: string;
|
|
@@ -1087,7 +1087,7 @@ export interface Rules {
|
|
|
1087
1087
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
1088
1088
|
* `@method`) (including those associated with an `@interface`).
|
|
1089
1089
|
*
|
|
1090
|
-
* See the ["AST and Selectors"](
|
|
1090
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1091
1091
|
* section of our Advanced docs for more on the expected format.
|
|
1092
1092
|
*/
|
|
1093
1093
|
contexts?: (
|
|
@@ -1133,7 +1133,7 @@ export interface Rules {
|
|
|
1133
1133
|
* function declaration or expression, i.e., `@callback` or `@function` (or its
|
|
1134
1134
|
* aliases `@func` or `@method`) (including those associated with an `@interface`).
|
|
1135
1135
|
*
|
|
1136
|
-
* See the ["AST and Selectors"](
|
|
1136
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1137
1137
|
* section of our Advanced docs for more on the expected format.
|
|
1138
1138
|
*/
|
|
1139
1139
|
contexts?: (
|
|
@@ -1215,7 +1215,7 @@ export interface Rules {
|
|
|
1215
1215
|
* function declaration or expression, i.e., `@callback` or `@function` (or its
|
|
1216
1216
|
* aliases `@func` or `@method`) (including those associated with an `@interface`).
|
|
1217
1217
|
*
|
|
1218
|
-
* See the ["AST and Selectors"](
|
|
1218
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1219
1219
|
* section of our Advanced docs for more on the expected format.
|
|
1220
1220
|
*/
|
|
1221
1221
|
contexts: (
|
|
@@ -1248,7 +1248,7 @@ export interface Rules {
|
|
|
1248
1248
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
1249
1249
|
* `@method`) (including those associated with an `@interface`).
|
|
1250
1250
|
*
|
|
1251
|
-
* See the ["AST and Selectors"](
|
|
1251
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1252
1252
|
* section of our Advanced docs for more on the expected format.
|
|
1253
1253
|
*/
|
|
1254
1254
|
contexts?: (
|
|
@@ -1396,7 +1396,7 @@ export interface Rules {
|
|
|
1396
1396
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
1397
1397
|
* `@method`) (including those associated with an `@interface`).
|
|
1398
1398
|
*
|
|
1399
|
-
* See the ["AST and Selectors"](
|
|
1399
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1400
1400
|
* section of our Advanced docs for more on the expected format.
|
|
1401
1401
|
*/
|
|
1402
1402
|
contexts?: (
|
|
@@ -1495,7 +1495,7 @@ export interface Rules {
|
|
|
1495
1495
|
* `FunctionExpression`). Set to `"any"` if you want the rule to apply to any
|
|
1496
1496
|
* JSDoc block throughout your files.
|
|
1497
1497
|
*
|
|
1498
|
-
* See the ["AST and Selectors"](
|
|
1498
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1499
1499
|
* section of our Advanced docs for more on the expected format.
|
|
1500
1500
|
*/
|
|
1501
1501
|
contexts?: (
|
|
@@ -1681,7 +1681,7 @@ export interface Rules {
|
|
|
1681
1681
|
* Note that you may need to disable `require` items (e.g., `MethodDefinition`)
|
|
1682
1682
|
* if you are specifying a more precise form in `contexts` (e.g., `MethodDefinition:not([accessibility="private"] > FunctionExpression`).
|
|
1683
1683
|
*
|
|
1684
|
-
* See the ["AST and Selectors"](
|
|
1684
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1685
1685
|
* section of our Advanced docs for more on the expected format.
|
|
1686
1686
|
*/
|
|
1687
1687
|
contexts?: (
|
|
@@ -1938,7 +1938,7 @@ export interface Rules {
|
|
|
1938
1938
|
* `TSMethodSignature` in TypeScript or restricting the contexts
|
|
1939
1939
|
* which are checked.
|
|
1940
1940
|
*
|
|
1941
|
-
* See the ["AST and Selectors"](
|
|
1941
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
1942
1942
|
* section of our Advanced docs for more on the expected format.
|
|
1943
1943
|
*/
|
|
1944
1944
|
contexts?: (
|
|
@@ -2090,7 +2090,7 @@ export interface Rules {
|
|
|
2090
2090
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2091
2091
|
* `@method`) (including those associated with an `@interface`).
|
|
2092
2092
|
*
|
|
2093
|
-
* See the ["AST and Selectors"](
|
|
2093
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2094
2094
|
* section of our Advanced docs for more on the expected format.
|
|
2095
2095
|
*/
|
|
2096
2096
|
contexts?: (
|
|
@@ -2134,7 +2134,7 @@ export interface Rules {
|
|
|
2134
2134
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2135
2135
|
* `@method`) (including those associated with an `@interface`).
|
|
2136
2136
|
*
|
|
2137
|
-
* See the ["AST and Selectors"](
|
|
2137
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2138
2138
|
* section of our Advanced docs for more on the expected format.
|
|
2139
2139
|
*/
|
|
2140
2140
|
contexts?: (
|
|
@@ -2165,7 +2165,7 @@ export interface Rules {
|
|
|
2165
2165
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2166
2166
|
* `@method`) (including those associated with an `@interface`).
|
|
2167
2167
|
*
|
|
2168
|
-
* See the ["AST and Selectors"](
|
|
2168
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2169
2169
|
* section of our Advanced docs for more on the expected format.
|
|
2170
2170
|
*/
|
|
2171
2171
|
contexts?: (
|
|
@@ -2394,7 +2394,7 @@ export interface Rules {
|
|
|
2394
2394
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2395
2395
|
* `@method`) (including those associated with an `@interface`).
|
|
2396
2396
|
*
|
|
2397
|
-
* See the ["AST and Selectors"](
|
|
2397
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2398
2398
|
* section of our Advanced docs for more on the expected format.
|
|
2399
2399
|
*/
|
|
2400
2400
|
contexts?: (
|
|
@@ -2425,7 +2425,7 @@ export interface Rules {
|
|
|
2425
2425
|
* expression, i.e., `@callback` or `@function` (or its aliases `@func` or
|
|
2426
2426
|
* `@method`) (including those associated with an `@interface`).
|
|
2427
2427
|
*
|
|
2428
|
-
* See the ["AST and Selectors"](
|
|
2428
|
+
* See the ["AST and Selectors"](../advanced.md#ast-and-selectors)
|
|
2429
2429
|
* section of our Advanced docs for more on the expected format.
|
|
2430
2430
|
*/
|
|
2431
2431
|
contexts?: (
|