-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: autogenerate rules table on website #5116
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
Merged
JoshuaKGoldberg
merged 20 commits into
typescript-eslint:main
from
Josh-Cena:filterable-table
Jun 25, 2022
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d9c310e
docs: autogenerate rules table on website
Josh-Cena 5bb667c
migrate rule attributes to global data
Josh-Cena 47bbca7
add mdlint ignore
Josh-Cena ea763f9
add filter
Josh-Cena 0694aee
avoid redirecting to main site
Josh-Cena 4e81555
merge two columns
Josh-Cena 6749355
this is hard
Josh-Cena b85e154
refactor
Josh-Cena c6ef6b9
tweak colors
Josh-Cena 29bea86
ok - memoize this
Josh-Cena a27757e
refactors more
Josh-Cena cc3075f
Apply suggestions from code review
Josh-Cena d9900fb
ok, use classes
Josh-Cena 5839647
vertially arrange icons
Josh-Cena b4446ae
Merge branch 'master' into filterable-table
Josh-Cena 10d5ea0
Remove rules table from README
Josh-Cena 1363c4e
minor refactors
Josh-Cena 004f3e9
Merge branch 'main' into filterable-table
Josh-Cena 01017fe
Merge branch 'main' into filterable-table
JoshuaKGoldberg fc3eadf
Accessibility labels
JoshuaKGoldberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import * as eslintPlugin from '@typescript-eslint/eslint-plugin'; | ||
|
||
export const rulesMeta = Object.entries(eslintPlugin.rules).map( | ||
([name, content]) => ({ | ||
name, | ||
type: content.meta.type, | ||
docs: content.meta.docs, | ||
fixable: content.meta.fixable, | ||
hasSuggestions: content.meta.hasSuggestions, | ||
JoshuaKGoldberg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
deprecated: content.meta.deprecated, | ||
replacedBy: content.meta.replacedBy, | ||
}), | ||
); | ||
|
||
export type RulesMeta = typeof rulesMeta; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.