Skip to content

Commit

Permalink
docs: Mention ast-grep/eslint repository in catalog of typescript exa…
Browse files Browse the repository at this point in the history
…mples
  • Loading branch information
StevenLove authored and HerringtonDarkholme committed Mar 9, 2024
1 parent 6399908 commit 50cf27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/catalog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Feel free to join our [Discord](https://discord.gg/4YZjf6htSQ) channel and ask @
* [Get number of digits in a `usize`](/catalog/rust/#get-number-of-digits-in-a-usize)
* [Beware of char offset when iterate over a string](/catalog/rust/#beware-of-char-offset-when-iterate-over-a-string)
* [TypeScript](/catalog/typescript/)
* [Repository of ESLint rules 🔗](https://github.com/ast-grep/eslint/)
* [Unnecessary `useState` Type](/catalog/typescript/#unnecessary-usestate-type)
* [No `await` in `Promise.all`](/catalog/typescript/#no-await-in-promise-all-array)
* [No `console` except in `catch` block](/catalog/typescript/#no-console-except-in-catch-block)
Expand Down
1 change: 1 addition & 0 deletions website/catalog/typescript/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# TypeScript

This page curates a list of example ast-grep rules to check and to rewrite TypeScript applications.
Check out the [Repository of ESLint rules](https://github.com/ast-grep/eslint/) recreated with ast-grep.

:::danger TypeScript and TSX are different.
TypeScript is a typed JavaScript extension and TSX is a further extension that allows JSX elements.
Expand Down

0 comments on commit 50cf27c

Please sign in to comment.