@wordpress/eslint-plugin 13.9.0 → 13.10.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/eslint-plugin",
3
- "version": "13.9.0",
3
+ "version": "13.10.0",
4
4
  "description": "ESLint plugin for WordPress development.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -34,13 +34,13 @@
34
34
  "@babel/eslint-parser": "^7.16.0",
35
35
  "@typescript-eslint/eslint-plugin": "^5.3.0",
36
36
  "@typescript-eslint/parser": "^5.3.0",
37
- "@wordpress/babel-preset-default": "^7.9.0",
38
- "@wordpress/prettier-config": "^2.8.0",
37
+ "@wordpress/babel-preset-default": "^7.10.0",
38
+ "@wordpress/prettier-config": "^2.9.0",
39
39
  "cosmiconfig": "^7.0.0",
40
40
  "eslint-config-prettier": "^8.3.0",
41
41
  "eslint-plugin-import": "^2.25.2",
42
- "eslint-plugin-jest": "^25.2.3",
43
- "eslint-plugin-jsdoc": "^37.0.3",
42
+ "eslint-plugin-jest": "^27.2.1",
43
+ "eslint-plugin-jsdoc": "^39.6.9",
44
44
  "eslint-plugin-jsx-a11y": "^6.5.1",
45
45
  "eslint-plugin-prettier": "^3.3.0",
46
46
  "eslint-plugin-react": "^7.27.0",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "204c880ff65295768e9695dfee6c7a9fee1fdd05"
68
+ "gitHead": "cab6ebe2b4c5dbacfd753dcae4a2406559c4813c"
69
69
  }
@@ -120,7 +120,7 @@ module.exports = {
120
120
  * @param {Node} node Node to test.
121
121
  * @param {WPPackageLocality} locality Desired package locality.
122
122
  *
123
- * @return {WPDependencyBlockCorrection=} Correction, if applicable.
123
+ * @return {WPDependencyBlockCorrection | undefined} Correction, if applicable.
124
124
  */
125
125
  function getDependencyBlockCorrection( node, locality ) {
126
126
  const value = getCommentValue( locality );
@@ -5,7 +5,7 @@
5
5
  * @param {Object} sourceNode The AST node to search from.
6
6
  * @param {Function} predicate A predicate invoked for each parent.
7
7
  *
8
- * @return {?Object } The first encountered parent node where the predicate
8
+ * @return {Object | undefined} The first encountered parent node where the predicate
9
9
  * returns a truthy value.
10
10
  */
11
11
  function findParent( sourceNode, predicate ) {
@@ -5,7 +5,7 @@
5
5
  * @param {Object} sourceNode The AST node to search from.
6
6
  * @param {Function} predicate A predicate invoked for each parent.
7
7
  *
8
- * @return {?Object } The first encountered parent node where the predicate
8
+ * @return {Object | undefined} The first encountered parent node where the predicate
9
9
  * returns a truthy value.
10
10
  */
11
11
  function findParent( sourceNode, predicate ) {