Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>TSX Text LintNew to Visual Studio Code? Get it now.
TSX Text Lint

TSX Text Lint

xiaoshuiz

|
24 installs
| (1) | Free
TSX 文本检查工具
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

tsx-text-lint

TS document jax text/attr lint plugin.

如果需要忽略检查

JsxText中请在文案上添加 `/* @text-lint ignore */` 注释。
```tsx
<Text>
    {/* @text-lint ignore */}
    campaign messages per client within
</Text>
```
attribute中请在文案上添加 `// @text-lint ignore` 注释。
```tsx
<div 
    // @text-lint ignore
    title="campaign messages per client within">
</div>
```
代码块忽略检查请分别在首和尾添加 `/* @text-lint ignore start */` 和 `/* @text-lint ignore end */` 注释。
```tsx
/* @text-lint ignore start */
...your code...
/* @text-lint ignore end */
```
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft