Skip to content

Docs: Blog post on the benefits of typed linting #10022

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

We refer to typed linting a lot in our docs, but most of the time it's either quick high-level references or deep technical dives. We never actually state "this is what typed linting is, and here's why you should enable it". I think that's a part of why many users don't use it, then eventually migrate to Biome/Oxlint/etc.

The main user flow users take for it is roughly:

  1. Start on the homepage / docs
  2. Go through the quickstart on https://typescript-eslint.io/getting-started/
  3. Maybe go to Next Steps > Typed Linting, which links to ...
  4. https://typescript-eslint.io/getting-started/typed-linting: which only mentions the following two sentences:

    Some typescript-eslint rules utilize the awesome power of TypeScript's type checking APIs to provide much deeper insights into your code. To tap into TypeScript's additional powers, there are two small changes you need to make to your config file:

I think we can do better than this by adding:

  • A blog post explaining what it is and why it's useful, including some of the most impactful rules (e.g. no-floating-promises)
  • A more impactful summary of that blog post in the typed linting page, with a link to the blog post

Affected URL(s)

https://typescript-eslint.io/getting-started/typed-linting
https://typescript-eslint.io/blog/typed-linting

Additional Info

This was in part inspired by @ElianCodes walking me through a docs audit (https://www.youtube.com/watch?v=Vyu8FU0VAqA&t=110s). Therefore:

Co-authored-by: @ElianCodes

Metadata

Metadata

Labels

documentationDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.team assignedA member of the typescript-eslint team should work on this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions