From 4225f5e2f51479db436b09a44cab10f12c361fe9 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Sat, 3 Sep 2022 10:53:25 +0530 Subject: [PATCH] Turn off jsdoc warnings that were polluting logs --- .eslintrc.json | 4 ++++ package.json | 10 +++++----- yarn.lock | 8 ++++---- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9c755a0e2..1dfdf65cd 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -30,6 +30,10 @@ "jsdoc/multiline-blocks": "off", "jsdoc/newline-after-description": "off", "jsdoc/tag-lines": "off", + "jsdoc/require-param-description": "off", + "jsdoc/require-param-type": "off", + "jsdoc/require-returns": "off", + "jsdoc/require-returns-description": "off", "cypress/no-async-tests": "off", "json/*": ["error", "allowComments"], "no-empty": ["error", { "allowEmptyCatch": true }] diff --git a/package.json b/package.json index 2448a0ce3..ae9b7fcc8 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "postbuild": "documentation build src/mermaidAPI.ts src/config.ts src/defaultConfig.ts --shallow -f md --markdown-toc false > src/docs/Setup.md; yarn docs:build", "build:watch": "yarn build:dev --watch", "release": "yarn build", - "lint": "eslint --cache ./ --ext .js,.json,.html,.md", + "lint": "eslint --cache ./", "lint:fix": "yarn lint --fix", "e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js", "cypress": "cypress run", @@ -93,15 +93,15 @@ "cypress": "9.7.0", "cypress-image-snapshot": "^4.0.1", "documentation": "13.2.0", - "eslint": "^8.4.1", - "eslint-config-prettier": "^8.3.0", + "eslint": "^8.23.0", + "eslint-config-prettier": "^8.5.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-html": "^7.1.0", "eslint-plugin-jest": "^27.0.1", - "eslint-plugin-jsdoc": "^39.1.0", + "eslint-plugin-jsdoc": "^39.3.6", "eslint-plugin-json": "^3.1.0", "eslint-plugin-markdown": "^3.0.0", - "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-prettier": "^4.2.1", "globby": "^13.1.2", "husky": "^8.0.0", "identity-obj-proxy": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 5eb431037..4e37c0dfd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5554,7 +5554,7 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@^8.3.0: +eslint-config-prettier@^8.5.0: version "8.5.0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== @@ -5580,7 +5580,7 @@ eslint-plugin-jest@^27.0.1: dependencies: "@typescript-eslint/utils" "^5.10.0" -eslint-plugin-jsdoc@^39.1.0: +eslint-plugin-jsdoc@^39.3.6: version "39.3.6" resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.3.6.tgz#6ba29f32368d72a51335a3dc9ccd22ad0437665d" integrity sha512-R6dZ4t83qPdMhIOGr7g2QII2pwCjYyKP+z0tPOfO1bbAbQyKC20Y2Rd6z1te86Lq3T7uM8bNo+VD9YFpE8HU/g== @@ -5608,7 +5608,7 @@ eslint-plugin-markdown@^3.0.0: dependencies: mdast-util-from-markdown "^0.8.5" -eslint-plugin-prettier@^4.0.0: +eslint-plugin-prettier@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== @@ -5648,7 +5648,7 @@ eslint-visitor-keys@^3.0.0, eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@^8.4.1: +eslint@^8.23.0: version "8.23.0" resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.0.tgz#a184918d288820179c6041bb3ddcc99ce6eea040" integrity sha512-pBG/XOn0MsJcKcTRLr27S5HpzQo4kLr+HjLQIyK4EiCsijDl/TB+h5uEuJU6bQ8Edvwz1XWOjpaP2qgnXGpTcA==