Skip to content

Commit

Permalink
fix(require-jsdoc): accessibility check for latest typescript-eslin…
Browse files Browse the repository at this point in the history
…t/parser (#1136)

Also:
- chore: update semver and devDeps.
- test: avoid compile errors for interfaces
  • Loading branch information
brettz9 committed Jul 27, 2023
1 parent 59c6899 commit e41df35
Show file tree
Hide file tree
Showing 5 changed files with 1,866 additions and 1,785 deletions.
4 changes: 2 additions & 2 deletions docs/rules/require-param.md
Expand Up @@ -915,7 +915,7 @@ interface TestInterface {
/**
* An interface property.
*/
public Test: (id: number) => string;
Test: (id: number) => string;
}
// "jsdoc/require-param": ["error"|"warn", {"contexts":["TSFunctionType"]}]
// Message: Missing JSDoc @param "id" declaration.
Expand All @@ -924,7 +924,7 @@ interface TestInterface {
/**
* An interface method.
*/
public TestMethod(): (id: number) => string;
TestMethod(): (id: number) => string;
}
// "jsdoc/require-param": ["error"|"warn", {"contexts":["TSFunctionType"]}]
// Message: Missing JSDoc @param "id" declaration.
Expand Down
44 changes: 22 additions & 22 deletions package.json
Expand Up @@ -12,57 +12,57 @@
"escape-string-regexp": "^4.0.0",
"esquery": "^1.5.0",
"is-builtin-module": "^3.2.1",
"semver": "^7.5.1",
"semver": "^7.5.4",
"spdx-expression-parse": "^3.0.1"
},
"description": "JSDoc linting rules for ESLint.",
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.21.8",
"@babel/node": "^7.20.7",
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@babel/node": "^7.22.6",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@babel/plugin-transform-flow-strip-types": "^7.21.0",
"@babel/preset-env": "^7.21.5",
"@babel/register": "^7.21.0",
"@babel/plugin-transform-flow-strip-types": "^7.22.5",
"@babel/preset-env": "^7.22.9",
"@babel/register": "^7.22.5",
"@es-joy/escodegen": "^3.5.1",
"@es-joy/jsdoc-eslint-parser": "^0.19.0",
"@hkdobrev/run-if-changed": "^0.3.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^10.0.3",
"@semantic-release/commit-analyzer": "^10.0.1",
"@semantic-release/github": "^9.0.4",
"@semantic-release/npm": "^10.0.4",
"@types/chai": "^4.3.5",
"@types/debug": "^4.1.7",
"@types/eslint": "^8.37.0",
"@types/debug": "^4.1.8",
"@types/eslint": "^8.44.1",
"@types/esquery": "^1.5.0",
"@types/estree": "^1.0.1",
"@types/lodash.defaultsdeep": "^4.6.7",
"@types/mocha": "^10.0.1",
"@types/node": "^20.2.5",
"@types/node": "^20.4.5",
"@types/semver": "^7.5.0",
"@types/spdx-expression-parse": "^3.0.2",
"@typescript-eslint/parser": "^5.59.6",
"@typescript-eslint/parser": "^6.2.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^6.1.1",
"camelcase": "^6.3.0",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"decamelize": "^5.0.1",
"eslint": "8.41.0",
"eslint-config-canonical": "~41.0.4",
"espree": "^9.5.2",
"eslint": "8.45.0",
"eslint-config-canonical": "~41.1.5",
"espree": "^9.6.1",
"gitdown": "^3.1.5",
"glob": "^10.2.6",
"glob": "^10.3.3",
"husky": "^8.0.3",
"jsdoc-type-pratt-parser": "^4.0.0",
"lint-staged": "^13.2.2",
"lint-staged": "^13.2.3",
"lodash.defaultsdeep": "^4.6.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"open-editor": "^3.0.0",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.2",
"typescript": "^5.0.4"
"semantic-release": "^21.0.7",
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16"
Expand Down

0 comments on commit e41df35

Please sign in to comment.