@wordpress/eslint-plugin 13.3.0 → 13.5.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.3.0",
3
+ "version": "13.5.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.3.0",
38
- "@wordpress/prettier-config": "^2.2.0",
37
+ "@wordpress/babel-preset-default": "^7.5.0",
38
+ "@wordpress/prettier-config": "^2.4.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": "8d42d2febb7d0ba8372a33e560a62f5a5f6a9112"
68
+ "gitHead": "511f4cc1f0138641bc4394bc1cf36e833109c791"
69
69
  }
@@ -44,7 +44,7 @@ const createSuggestionTestCase = ( code, output ) => ( {
44
44
  {
45
45
  suggestions: [
46
46
  {
47
- desc: 'Replace literal with store definition. Import store if neccessary.',
47
+ desc: 'Replace literal with store definition. Import store if necessary.',
48
48
  output,
49
49
  },
50
50
  ],
@@ -122,7 +122,7 @@ function collectAllNodesFromObjectPropertyFunctionCalls( context, node ) {
122
122
  function getSuggest( context, callNode ) {
123
123
  return [
124
124
  {
125
- desc: 'Replace literal with store definition. Import store if neccessary.',
125
+ desc: 'Replace literal with store definition. Import store if necessary.',
126
126
  fix: ( fixer ) => getFixes( fixer, context, callNode ),
127
127
  },
128
128
  ];