eslint-plugin-jsdoc 38.0.2 → 38.0.3
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/README.md +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -7675,14 +7675,14 @@ function quux () {
|
|
|
7675
7675
|
* @property opt_a
|
|
7676
7676
|
* @param {Bar|Foo} opt_b
|
|
7677
7677
|
*/
|
|
7678
|
-
// "jsdoc/match-name": ["error"|"warn", {"match":[{"comment":"
|
|
7678
|
+
// "jsdoc/match-name": ["error"|"warn", {"match":[{"comment":"JsdocBlock:has(JsdocTag[tag=\"param\"][name=/opt_/] > JsdocTypeUnion:has(JsdocTypeName[value=\"Bar\"]:nth-child(1)))"}]}]
|
|
7679
7679
|
// Message: Prohibited context for "opt_a".
|
|
7680
7680
|
|
|
7681
7681
|
/**
|
|
7682
7682
|
* @property opt_a
|
|
7683
7683
|
* @param {Bar|Foo} opt_b
|
|
7684
7684
|
*/
|
|
7685
|
-
// "jsdoc/match-name": ["error"|"warn", {"match":[{"comment":"
|
|
7685
|
+
// "jsdoc/match-name": ["error"|"warn", {"match":[{"comment":"JsdocBlock:has(JsdocTag[tag=\"param\"][name=/opt_/] > JsdocTypeUnion:has(JsdocTypeName[value=\"Bar\"]:nth-child(1)))","message":"Don't use `opt_` prefixes with Bar|..."}]}]
|
|
7686
7686
|
// Message: Don't use `opt_` prefixes with Bar|...
|
|
7687
7687
|
|
|
7688
7688
|
/**
|
|
@@ -7754,7 +7754,7 @@ class A {
|
|
|
7754
7754
|
* @property opt_a
|
|
7755
7755
|
* @param {Foo|Bar} opt_b
|
|
7756
7756
|
*/
|
|
7757
|
-
// "jsdoc/match-name": ["error"|"warn", {"match":[{"comment":"
|
|
7757
|
+
// "jsdoc/match-name": ["error"|"warn", {"match":[{"comment":"JsdocBlock > JsdocTag[tag=\"param\"] > JsdocTypeUnion[left.name=\"Bar\"]","disallowName":"/^opt_/i"}]}]
|
|
7758
7758
|
````
|
|
7759
7759
|
|
|
7760
7760
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "http://gajus.com"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@es-joy/jsdoccomment": "~0.
|
|
8
|
+
"@es-joy/jsdoccomment": "~0.21.2",
|
|
9
9
|
"comment-parser": "1.3.0",
|
|
10
10
|
"debug": "^4.3.3",
|
|
11
11
|
"escape-string-regexp": "^4.0.0",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"chai": "^4.3.6",
|
|
33
33
|
"cross-env": "^7.0.3",
|
|
34
34
|
"decamelize": "^5.0.1",
|
|
35
|
-
"eslint": "^8.
|
|
35
|
+
"eslint": "^8.11.0",
|
|
36
36
|
"eslint-config-canonical": "^33.0.1",
|
|
37
37
|
"gitdown": "^3.1.5",
|
|
38
38
|
"glob": "^7.2.0",
|
|
39
39
|
"husky": "^7.0.4",
|
|
40
40
|
"lint-staged": "^12.3.5",
|
|
41
41
|
"lodash.defaultsdeep": "^4.6.1",
|
|
42
|
-
"mocha": "^9.2.
|
|
42
|
+
"mocha": "^9.2.2",
|
|
43
43
|
"nyc": "^15.1.0",
|
|
44
44
|
"open-editor": "^3.0.0",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"test-cov": "cross-env TIMING=1 nyc --reporter text npm run test-no-cov",
|
|
117
117
|
"test-index": "npm run test-no-cov -- test/rules/index.js"
|
|
118
118
|
},
|
|
119
|
-
"version": "38.0.
|
|
119
|
+
"version": "38.0.3"
|
|
120
120
|
}
|