@wordpress/eslint-plugin 13.6.0 → 13.7.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.6.0",
3
+ "version": "13.7.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": "^5.3.0",
36
36
  "@typescript-eslint/parser": "^5.3.0",
37
- "@wordpress/babel-preset-default": "^7.6.0",
38
- "@wordpress/prettier-config": "^2.5.0",
37
+ "@wordpress/babel-preset-default": "^7.7.0",
38
+ "@wordpress/prettier-config": "^2.6.0",
39
39
  "cosmiconfig": "^7.0.0",
40
40
  "eslint-config-prettier": "^8.3.0",
41
41
  "eslint-plugin-import": "^2.25.2",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "7ac04f446242452d3cb24372f9ca58f0cae97715"
68
+ "gitHead": "1eb65aabe6738097f4c062e78f69ae8f05879848"
69
69
  }
@@ -112,11 +112,6 @@ const invalid = [
112
112
  `import { select } from '@wordpress/data'; select( 'core/notices' );`,
113
113
  `import { select } from '@wordpress/data';\nimport { store as noticesStore } from '@wordpress/notices'; select( noticesStore );`
114
114
  ),
115
- // Replace edit-post with editPostStore.
116
- createSuggestionTestCase(
117
- `import { select } from '@wordpress/data'; select( 'core/edit-post' );`,
118
- `import { select } from '@wordpress/data';\nimport { store as editPostStore } from '@wordpress/edit-post'; select( editPostStore );`
119
- ),
120
115
  ];
121
116
  const errors = [
122
117
  {