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
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@ TSSLint is architecturally optimized for TypeScript by running directly as a `ts
24
24
## Key Features
25
25
26
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
-
***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
27
***High Performance**: Runs as a `tsserver` plugin, sharing the existing `TypeChecker` instance to avoid redundant parsing and type-checking.
29
-
***Low Noise**: Violations are reported as "Message" diagnostics, ensuring they don't interfere with actual compiler errors or warnings.
28
+
***Zero Assumptions**: Comes with no built-in rules. It does not enforce any specific coding style or patterns, leaving full control to the developer.
TSSLint's high performance is partly due to its intelligent caching strategy, which automatically distinguishes between **Syntax-Aware** and **Type-Aware** rules.
114
120
@@ -119,6 +125,8 @@ By default, all rule diagnostics are cached. However, the cache is automatically
119
125
120
126
This automatic differentiation allows TSSLint to maximize performance for simple syntax rules while maintaining correctness for complex type-aware rules.
121
127
128
+
---
129
+
122
130
## CLI Usage
123
131
124
132
The `@tsslint/cli` package provides a command-line tool for CI/CD and build processes.
> TSSLint focuses on diagnostic fixes and does not include a built-in formatter. It is recommended to run a dedicated formatter like **Prettier**, **dprint**, or **oxfmt** after running TSSLint with `--fix`.
0 commit comments