Toasty by default
Sensible rules right out of the bag. No config wrangling — just unzip, light the fire, and start linting.
🔥 A fast, friendly linter
Flint tidies up JavaScript, TypeScript, and more with inviting defaults, gentle reporting, and wonderful performance.
🏕️ Pitch your tent in 10 seconds
Pick your favorite fire-starter:
npx flintbunx flintdeno x flintpnpx flintyarn dlx flintFrustrated with slow linting that doesn't catch what you care about? Or maybe your linter is fast, but doesn't include powerful lint rules? Let Flint help you out. ☕
Get started linting with Flint →🌲 What's in the pack
Four little tools, packed thoughtfully. Pull them out when the path gets twisty.
Sensible rules right out of the bag. No config wrangling — just unzip, light the fire, and start linting.
Intelligent caching and CI coordination keep duplicate jobs from wandering off-trail. Your runs finish faster.
Lint rules powered by the full TypeScript type checker. They catch the kind of bugs that hide under tent flaps.
Configs you can actually read by lantern-light. Powerful when you need it, quiet when you don't.
📖 The trail map
Each rule comes with a friendly explanation, real-world examples, and an autofix when we can manage it. No cryptic codes. No lecture from the scout-master.
Reports assigning a value with type any to variables and properties.
Reports comparisons that are always true, always false, or can be simplified.
tslogicalDisallow using code marked as @deprecated.
tslogicalReports switch case clauses that fall through unexpectedly.
tslogicalReports using .indexOf() comparisons that can be replaced with .includes().
Reports ternary expressions that can be simplified to boolean expressions or logical operators
tsstylisticFlint is built in the open by a tiny crew who really, really like good code and warm drinks. Come hang out.
Flint can't happen without the generous support of these wonderful folks.
Financial sponsors allow us to keep development of Flint going, including maintaining and improving the project, providing support to users, and pushing web ecosystem tooling forward with advances in great typed static analysis and holistically designed linting.