Skip to content

Commit e41df35

Browse files
authored
fix(require-jsdoc): accessibility check for latest typescript-eslint/parser (#1136)
Also: - chore: update semver and devDeps. - test: avoid compile errors for interfaces
1 parent 59c6899 commit e41df35

File tree

5 files changed

+1866
-1785
lines changed

5 files changed

+1866
-1785
lines changed

docs/rules/require-param.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ interface TestInterface {
915915
/**
916916
* An interface property.
917917
*/
918-
public Test: (id: number) => string;
918+
Test: (id: number) => string;
919919
}
920920
// "jsdoc/require-param": ["error"|"warn", {"contexts":["TSFunctionType"]}]
921921
// Message: Missing JSDoc @param "id" declaration.
@@ -924,7 +924,7 @@ interface TestInterface {
924924
/**
925925
* An interface method.
926926
*/
927-
public TestMethod(): (id: number) => string;
927+
TestMethod(): (id: number) => string;
928928
}
929929
// "jsdoc/require-param": ["error"|"warn", {"contexts":["TSFunctionType"]}]
930930
// Message: Missing JSDoc @param "id" declaration.

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,57 +12,57 @@
1212
"escape-string-regexp": "^4.0.0",
1313
"esquery": "^1.5.0",
1414
"is-builtin-module": "^3.2.1",
15-
"semver": "^7.5.1",
15+
"semver": "^7.5.4",
1616
"spdx-expression-parse": "^3.0.1"
1717
},
1818
"description": "JSDoc linting rules for ESLint.",
1919
"devDependencies": {
20-
"@babel/cli": "^7.21.5",
21-
"@babel/core": "^7.21.8",
22-
"@babel/eslint-parser": "^7.21.8",
23-
"@babel/node": "^7.20.7",
20+
"@babel/cli": "^7.22.9",
21+
"@babel/core": "^7.22.9",
22+
"@babel/eslint-parser": "^7.22.9",
23+
"@babel/node": "^7.22.6",
2424
"@babel/plugin-syntax-class-properties": "^7.12.13",
25-
"@babel/plugin-transform-flow-strip-types": "^7.21.0",
26-
"@babel/preset-env": "^7.21.5",
27-
"@babel/register": "^7.21.0",
25+
"@babel/plugin-transform-flow-strip-types": "^7.22.5",
26+
"@babel/preset-env": "^7.22.9",
27+
"@babel/register": "^7.22.5",
2828
"@es-joy/escodegen": "^3.5.1",
2929
"@es-joy/jsdoc-eslint-parser": "^0.19.0",
3030
"@hkdobrev/run-if-changed": "^0.3.1",
31-
"@semantic-release/commit-analyzer": "^9.0.2",
32-
"@semantic-release/github": "^8.0.7",
33-
"@semantic-release/npm": "^10.0.3",
31+
"@semantic-release/commit-analyzer": "^10.0.1",
32+
"@semantic-release/github": "^9.0.4",
33+
"@semantic-release/npm": "^10.0.4",
3434
"@types/chai": "^4.3.5",
35-
"@types/debug": "^4.1.7",
36-
"@types/eslint": "^8.37.0",
35+
"@types/debug": "^4.1.8",
36+
"@types/eslint": "^8.44.1",
3737
"@types/esquery": "^1.5.0",
3838
"@types/estree": "^1.0.1",
3939
"@types/lodash.defaultsdeep": "^4.6.7",
4040
"@types/mocha": "^10.0.1",
41-
"@types/node": "^20.2.5",
41+
"@types/node": "^20.4.5",
4242
"@types/semver": "^7.5.0",
4343
"@types/spdx-expression-parse": "^3.0.2",
44-
"@typescript-eslint/parser": "^5.59.6",
44+
"@typescript-eslint/parser": "^6.2.0",
4545
"babel-plugin-add-module-exports": "^1.0.4",
4646
"babel-plugin-istanbul": "^6.1.1",
4747
"camelcase": "^6.3.0",
4848
"chai": "^4.3.7",
4949
"cross-env": "^7.0.3",
5050
"decamelize": "^5.0.1",
51-
"eslint": "8.41.0",
52-
"eslint-config-canonical": "~41.0.4",
53-
"espree": "^9.5.2",
51+
"eslint": "8.45.0",
52+
"eslint-config-canonical": "~41.1.5",
53+
"espree": "^9.6.1",
5454
"gitdown": "^3.1.5",
55-
"glob": "^10.2.6",
55+
"glob": "^10.3.3",
5656
"husky": "^8.0.3",
5757
"jsdoc-type-pratt-parser": "^4.0.0",
58-
"lint-staged": "^13.2.2",
58+
"lint-staged": "^13.2.3",
5959
"lodash.defaultsdeep": "^4.6.1",
6060
"mocha": "^10.2.0",
6161
"nyc": "^15.1.0",
6262
"open-editor": "^3.0.0",
6363
"rimraf": "^5.0.1",
64-
"semantic-release": "^21.0.2",
65-
"typescript": "^5.0.4"
64+
"semantic-release": "^21.0.7",
65+
"typescript": "^5.1.6"
6666
},
6767
"engines": {
6868
"node": ">=16"

0 commit comments

Comments
 (0)