Skip to content

Commit 7221d1d

Browse files
committed
docs: rewrite motivation to highlight TSLint spirit and technical purity
1 parent 25bc776 commit 7221d1d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ TSSLint is a minimalist diagnostic extension interface built on the TypeScript L
1515

1616
## Motivation
1717

18-
TSSLint was created to solve a specific pain point: **editor lag during "Auto Fix on Save"**.
18+
TSSLint is the **spiritual successor to TSLint**, built on the belief that TSLint's original philosophy—**direct integration with native TypeScript APIs**—is technically superior for linting TypeScript code.
1919

20-
In large-scale TypeScript projects, traditional linters (like ESLint) often cause noticeable delays when performing auto-fixes on save, as they frequently need to re-initialize type-checking or run in separate processes. By running directly as a `tsserver` plugin and sharing the existing type-checking context, TSSLint provides near-instant diagnostics and fixes, ensuring a smooth and uninterrupted development experience.
20+
Traditional linters (like ESLint) must first convert TypeScript's AST into a compatible format (like ESTree) before running rules. This extra layer of abstraction and the need to re-initialize type-checking in a separate process create a significant pain point in large-scale projects: **editor lag during "Auto Fix on Save"**.
21+
22+
TSSLint eliminates this overhead by running directly as a `tsserver` plugin. It shares the existing `TypeChecker` instance and operates on the native TypeScript AST, providing **near-instant diagnostics and fixes** and ensuring a smooth, uninterrupted development experience.
2123

2224
## Key Features
2325

0 commit comments

Comments
 (0)