Cursor rule
.cursor/rules/typescript-rules.mdcTypeScript coding standards and best practices
Cursor rules
Quality
25/100
Scores the file, not the repository.Length
52 words
4 headings · 0 code blocksRepository
1
— · pushed 31 days agoLast changed
3 days ago
First indexed 3 days ago.123456---7name: typescript-rules8description: TypeScript coding standards and best practices9globs:10 - 'src/**/*.ts'11 - 'src/**/*.tsx'12 - '!src/**/*.test.ts'13priority: 114---1516# TypeScript Coding Standards1718## 基础规范1920- 使用 2 空格缩进21- 优先使用 const 声明变量22- 显式声明函数返回类型2324## 最佳实践2526- 避免 any 类型27- 合理使用泛型28- 接口优于类型别名2930## 参考文档3132Read more from @common-rules.mdc
Also in sl-wen/sl-wen.github.io
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| sl-wen/sl-wen.github.io.cursor/rules/app.mdc · 1 | Cursor rules | no sections | 25/100 | 3 days ago | |
| sl-wen/sl-wen.github.io.cursor/rules/base.mdc · 1 | Cursor rules | styledocs | 52/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
