-
-
Notifications
You must be signed in to change notification settings - Fork 974
infra: lint all existing jsdocs #2408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #2408 +/- ##
=======================================
Coverage 99.60% 99.60%
=======================================
Files 2802 2802
Lines 252486 252492 +6
Branches 1103 1104 +1
=======================================
+ Hits 251499 251505 +6
Misses 960 960
Partials 27 27
|
Can you make this part of |
Theoretically yes. The problem is that I didnt fix the missing jsdoc lint issues. So we either had to fix them or disable the rule for scripts (and tests). I'm somewhat torn on this and would like to hear more opinions on this. |
JSDocs are checked in src because they are provided when consumers of Faker hover over the methods and stuff. |
Agree Jsdocs in the scripts are a nice to have but much much less important than in src. If they exist they should probably be linted correctly, but missing jsdocs in scripts is not important for self explanatory methods. |
I enabled the jsdoc checks for our entire code base, but only require jsdocs for |
This PR fixes all lint errors that aren't
Missing JSDoc comment
in scripts.Note, that currently the jsdocs lint rules don't apply to the scripts at all.