-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: standardized rule docs heading and option-less Options #4367
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
docs: standardized rule docs heading and option-less Options #4367
Conversation
Thanks for the PR, @JoshuaKGoldberg! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
✔️ Deploy Preview for typescript-eslint ready! 🔨 Explore the source changes: fc3404b 🔍 Inspect the deploy log: https://app.netlify.com/sites/typescript-eslint/deploys/61f570220b32b00008f89750 😎 Browse the preview: https://deploy-preview-4367--typescript-eslint.netlify.app |
Drafting pending resolution in #4365. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it'd be good to create a blank .md
file that people can use as a template when creating a new rule doc. That would make it super easy for people to adhere to the style/layout without going through a test to check.
otherwise people end up copy-pasting an old rule and then sometimes we have bad text in docs.
Codecov Report
@@ Coverage Diff @@
## main #4367 +/- ##
==========================================
+ Coverage 86.97% 94.38% +7.40%
==========================================
Files 5 164 +159
Lines 215 9235 +9020
Branches 60 2889 +2829
==========================================
+ Hits 187 8716 +8529
- Misses 22 300 +278
- Partials 6 219 +213
Flags with carried forward coverage won't be shown. Click here to find out more. |
PR Checklist
Overview
Applies two changes to all rules
.md
docs files:## Options
section with ajsonc
snippet for just the recommended, non-extension rules without optionsFun little script I used to rewrite all rule docs file headings: