You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,15 @@ TSSLint is a minimalist diagnostic extension interface built on the TypeScript L
15
15
16
16
## Motivation
17
17
18
-
TSSLint is the **spiritual successor to TSLint**, built on the belief that TSLint's original philosophy—**direct integration with native TypeScript APIs**—is fundamentally superior for linting TypeScript code.
18
+
TSSLint is the **spiritual successor to TSLint**, built on the philosophy that **direct integration with native TypeScript APIs**is the most efficient way to lint TypeScript code.
19
19
20
-
While modern linters like ESLint are powerful, they operate as separate processes and often need to re-initialize type-checking context. This architectural separation leads to a significant pain point in large-scale projects: **editor lag during "Auto Fix on Save"**.
20
+
While general-purpose linters like ESLint are powerful and versatile, their architecture—operating as separate processes and often needing to re-initialize type-checking context—can lead to a significant pain point in large-scale projects: **editor lag during "Auto Fix on Save"**.
21
21
22
-
TSSLint eliminates this overhead by running directly as a `tsserver` plugin. By sharing the existing `TypeChecker` instance and operating on the native TypeScript AST (without ESTree/ES parser conversion), TSSLint provides **near-instant diagnostics and fixes**, ensuring a smooth and uninterrupted development experience.
22
+
TSSLint is architecturally optimized for TypeScript by running directly as a `tsserver` plugin. By sharing the existing `TypeChecker` instance and operating on the native TypeScript AST (without ESTree/ES parser conversion), TSSLint provides **near-instant diagnostics and fixes**, ensuring a smooth and uninterrupted development experience.
23
23
24
24
## Key Features
25
25
26
-
***Project-Centric**: Treats the **Project (tsconfig)** as a first-class citizen rather than individual files. This aligns with TypeScript's internal architecture, enabling efficient cross-file type analysis and seamless support for complex monorepos.
26
+
***Project-Centric**: Treats the **Project (tsconfig)** as a first-class citizen. This aligns with TypeScript's internal architecture, enabling efficient cross-file type analysis and seamless support for complex monorepos.
27
27
***Zero Assumptions**: Comes with no built-in rules. It does not enforce any specific coding style or patterns, leaving full control to the developer.
28
28
***High Performance**: Runs as a `tsserver` plugin, sharing the existing `TypeChecker` instance to avoid redundant parsing and type-checking.
29
29
***Low Noise**: Violations are reported as "Message" diagnostics, ensuring they don't interfere with actual compiler errors or warnings.
0 commit comments