@wordpress/eslint-plugin 14.12.0 → 15.0.1

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/configs/jsdoc.js CHANGED
@@ -83,6 +83,7 @@ module.exports = {
83
83
  },
84
84
  },
85
85
  rules: {
86
+ 'jsdoc/no-defaults': 'off',
86
87
  'jsdoc/no-undefined-types': [
87
88
  'error',
88
89
  {
@@ -105,7 +106,15 @@ module.exports = {
105
106
  'jsdoc/require-param-description': 'off',
106
107
  'jsdoc/require-returns': 'off',
107
108
  'jsdoc/require-yields': 'off',
108
- 'jsdoc/tag-lines': 'off',
109
+ 'jsdoc/tag-lines': [
110
+ 1,
111
+ 'any',
112
+ {
113
+ startLines: null,
114
+ endLines: 0,
115
+ applyToEndTag: false,
116
+ },
117
+ ],
109
118
  'jsdoc/no-multi-asterisks': [
110
119
  'error',
111
120
  { preventAtMiddleLines: false },
@@ -127,7 +136,6 @@ module.exports = {
127
136
  'jsdoc/check-values': 'off',
128
137
  'jsdoc/empty-tags': 'error',
129
138
  'jsdoc/implements-on-classes': 'error',
130
- 'jsdoc/newline-after-description': 'error',
131
139
  'jsdoc/require-param': 'error',
132
140
  'jsdoc/require-param-name': 'error',
133
141
  'jsdoc/require-param-type': 'error',
@@ -16,6 +16,7 @@ const config = {
16
16
  globals: {
17
17
  window: true,
18
18
  document: true,
19
+ SCRIPT_DEBUG: 'readonly',
19
20
  wp: 'readonly',
20
21
  },
21
22
  settings: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/eslint-plugin",
3
- "version": "14.12.0",
3
+ "version": "15.0.1",
4
4
  "description": "ESLint plugin for WordPress development.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -32,15 +32,15 @@
32
32
  "main": "index.js",
33
33
  "dependencies": {
34
34
  "@babel/eslint-parser": "^7.16.0",
35
- "@typescript-eslint/eslint-plugin": "^5.3.0",
36
- "@typescript-eslint/parser": "^5.3.0",
37
- "@wordpress/babel-preset-default": "^7.23.0",
38
- "@wordpress/prettier-config": "^2.22.0",
35
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
36
+ "@typescript-eslint/parser": "^5.62.0",
37
+ "@wordpress/babel-preset-default": "^7.24.1",
38
+ "@wordpress/prettier-config": "^2.23.1",
39
39
  "cosmiconfig": "^7.0.0",
40
40
  "eslint-config-prettier": "^8.3.0",
41
41
  "eslint-plugin-import": "^2.25.2",
42
42
  "eslint-plugin-jest": "^27.2.1",
43
- "eslint-plugin-jsdoc": "^39.6.9",
43
+ "eslint-plugin-jsdoc": "^46.4.6",
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": "b898cf1dc8e70841d1647ea0994ac6278acc18a7"
68
+ "gitHead": "bb1fbf87bb0f451744530fc6a85de2dff1263bed"
69
69
  }