@wordpress/eslint-plugin 16.0.3 → 17.0.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.
Files changed (2) hide show
  1. package/configs/jsdoc.js +4 -2
  2. package/package.json +5 -5
package/configs/jsdoc.js CHANGED
@@ -21,9 +21,11 @@ const temporaryWordPressInternalTypes = [
21
21
  'WPBlockTypeIcon',
22
22
  'WPBlockTypeIconRender',
23
23
  'WPBlockTypeIconDescriptor',
24
- 'WPComponent',
25
- 'WPElement',
26
24
  'WPIcon',
25
+
26
+ // These two should be removed once we use the TS types from "react".
27
+ 'Component',
28
+ 'Element',
27
29
  ];
28
30
 
29
31
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/eslint-plugin",
3
- "version": "16.0.3",
3
+ "version": "17.0.0",
4
4
  "description": "ESLint plugin for WordPress development.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -34,8 +34,8 @@
34
34
  "@babel/eslint-parser": "^7.16.0",
35
35
  "@typescript-eslint/eslint-plugin": "^6.4.1",
36
36
  "@typescript-eslint/parser": "^6.4.1",
37
- "@wordpress/babel-preset-default": "^7.26.3",
38
- "@wordpress/prettier-config": "^2.25.3",
37
+ "@wordpress/babel-preset-default": "^7.27.0",
38
+ "@wordpress/prettier-config": "^3.0.0",
39
39
  "cosmiconfig": "^7.0.0",
40
40
  "eslint-config-prettier": "^8.3.0",
41
41
  "eslint-plugin-import": "^2.25.2",
@@ -52,7 +52,7 @@
52
52
  "peerDependencies": {
53
53
  "@babel/core": ">=7",
54
54
  "eslint": ">=8",
55
- "prettier": ">=2",
55
+ "prettier": ">=3",
56
56
  "typescript": ">=4"
57
57
  },
58
58
  "peerDependenciesMeta": {
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "6256f93c37705d142f75a99f1fc808540ca7dca8"
69
+ "gitHead": "9b8e598c5418d38fe72197c24ef1d3dd6c712151"
70
70
  }