Skip to content

Commit 6d4ae6e

Browse files
Merge #1510
1510: Remove the `jsdoc` eslint plugin r=bidoubiwa a=amit-ksh # Pull Request ## Related issue Fixes #1423 ## What does this PR do? - Uninstall the `eslint-plugin-jsdoc` dependency. - Remove all the jsdoc eslint rules from the `.eslintrc.js` file. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: amit-ksh <[email protected]>
2 parents b1136a3 + 62b900b commit 6d4ae6e

File tree

3 files changed

+5
-41
lines changed

3 files changed

+5
-41
lines changed

.eslintrc.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@ module.exports = {
1919
sourceType: 'module',
2020
projectFolderIgnoreList: ['dist'],
2121
},
22-
plugins: ['jsdoc', 'tsdoc', '@typescript-eslint', 'prettier', 'jest'],
22+
plugins: ['tsdoc', '@typescript-eslint', 'prettier', 'jest'],
2323
rules: {
2424
'no-dupe-class-members': 'off', // Off due to conflict with typescript overload functions
2525
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
2626
'@typescript-eslint/array-type': ['warn', { default: 'array-simple' }],
2727
'@typescript-eslint/return-await': 'off',
28-
'jsdoc/check-alignment': 'error',
29-
'jsdoc/check-indentation': 'off', // conflict with prettier-plugin-jsdoc
30-
'jsdoc/no-types': 'error',
3128
'tsdoc/syntax': 'error',
3229
'@typescript-eslint/space-before-function-paren': 0,
3330
'@typescript-eslint/no-explicit-any': 'off',

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
"eslint-config-standard-with-typescript": "^17.0.0",
9090
"eslint-plugin-import": "2",
9191
"eslint-plugin-jest": "^24.1.8",
92-
"eslint-plugin-jsdoc": "^39.6.4",
9392
"eslint-plugin-node": "11",
9493
"eslint-plugin-prettier": "^3.1.4",
9594
"eslint-plugin-promise": "4",

yarn.lock

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,15 +1336,6 @@
13361336
exec-sh "^0.3.2"
13371337
minimist "^1.2.0"
13381338

1339-
"@es-joy/jsdoccomment@~0.36.1":
1340-
version "0.36.1"
1341-
resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.36.1.tgz#c37db40da36e4b848da5fd427a74bae3b004a30f"
1342-
integrity sha512-922xqFsTpHs6D0BUiG4toiyPOMc8/jafnWKxz1KWgS4XzKPy2qXf1Pe6UFuNSCQqt6tOuhAWXBNuuyUhJmw9Vg==
1343-
dependencies:
1344-
comment-parser "1.3.1"
1345-
esquery "^1.4.0"
1346-
jsdoc-type-pratt-parser "~3.1.0"
1347-
13481339
"@eslint/eslintrc@^0.4.0":
13491340
version "0.4.0"
13501341
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547"
@@ -2651,7 +2642,7 @@ commander@^7.2.0:
26512642
resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
26522643
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
26532644

2654-
comment-parser@1.3.1, comment-parser@^1.3.1:
2645+
comment-parser@^1.3.1:
26552646
version "1.3.1"
26562647
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.3.1.tgz#3d7ea3adaf9345594aedee6563f422348f165c1b"
26572648
integrity sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==
@@ -2776,7 +2767,7 @@ data-urls@^2.0.0:
27762767
whatwg-mimetype "^2.3.0"
27772768
whatwg-url "^8.0.0"
27782769

2779-
debug@4, debug@^4.0.0, debug@^4.3.4:
2770+
debug@4, debug@^4.0.0:
27802771
version "4.3.4"
27812772
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
27822773
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
@@ -3050,11 +3041,6 @@ escape-string-regexp@^2.0.0:
30503041
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
30513042
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
30523043

3053-
escape-string-regexp@^4.0.0:
3054-
version "4.0.0"
3055-
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
3056-
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
3057-
30583044
escodegen@^2.0.0:
30593045
version "2.0.0"
30603046
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd"
@@ -3135,19 +3121,6 @@ eslint-plugin-jest@^24.1.8:
31353121
dependencies:
31363122
"@typescript-eslint/experimental-utils" "^4.0.1"
31373123

3138-
eslint-plugin-jsdoc@^39.6.4:
3139-
version "39.6.4"
3140-
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-39.6.4.tgz#b940aebd3eea26884a0d341785d2dc3aba6a38a7"
3141-
integrity sha512-fskvdLCfwmPjHb6e+xNGDtGgbF8X7cDwMtVLAP2WwSf9Htrx68OAx31BESBM1FAwsN2HTQyYQq7m4aW4Q4Nlag==
3142-
dependencies:
3143-
"@es-joy/jsdoccomment" "~0.36.1"
3144-
comment-parser "1.3.1"
3145-
debug "^4.3.4"
3146-
escape-string-regexp "^4.0.0"
3147-
esquery "^1.4.0"
3148-
semver "^7.3.8"
3149-
spdx-expression-parse "^3.0.1"
3150-
31513124
eslint-plugin-node@11:
31523125
version "11.1.0"
31533126
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d"
@@ -4699,11 +4672,6 @@ js-yaml@^3.13.1:
46994672
argparse "^1.0.7"
47004673
esprima "^4.0.0"
47014674

4702-
jsdoc-type-pratt-parser@~3.1.0:
4703-
version "3.1.0"
4704-
resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-3.1.0.tgz#a4a56bdc6e82e5865ffd9febc5b1a227ff28e67e"
4705-
integrity sha512-MgtD0ZiCDk9B+eI73BextfRrVQl0oyzRG8B2BjORts6jbunj4ScKPcyXGTbB6eXL4y9TzxCm6hyeLq/2ASzNdw==
4706-
47074675
jsdom@^16.4.0:
47084676
version "16.7.0"
47094677
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710"
@@ -6263,7 +6231,7 @@ semver-diff@^3.1.1:
62636231
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
62646232
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
62656233

6266-
[email protected], semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.7, semver@^7.3.8:
6234+
[email protected], semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.7:
62676235
version "7.3.8"
62686236
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
62696237
integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
@@ -6463,7 +6431,7 @@ spdx-exceptions@^2.1.0:
64636431
resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d"
64646432
integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==
64656433

6466-
spdx-expression-parse@^3.0.0, spdx-expression-parse@^3.0.1:
6434+
spdx-expression-parse@^3.0.0:
64676435
version "3.0.1"
64686436
resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679"
64696437
integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==

0 commit comments

Comments
 (0)