Cursor rule
.cursor/rules/linting.mdcLinting workflow for api and webapp (Oxlint)
Cursor rules
Quality
68/100
Scores the file, not the repository.Length
135 words
2 headings · 1 code blocksRepository
0
— · pushed 112 days agoLast changed
3 days ago
First indexed 3 days ago.1234567# Linting Workflow89This repo uses **Oxlint** (`oxlint` + `oxlint-plugin-eslint`) in **`api/`** and **`webapp/`**.1011After any substantive edit under `api/` or `webapp/`:12131. Run `npm run lint` in the package you changed (`cd api` or `cd webapp`).142. Optionally run `npm run lint:fix` for safe auto-fixes.153. Use editor diagnostics / `ReadLints` on edited files for anything Oxlint does not auto-fix.164. Never leave a task marked complete with outstanding lint **errors** (warnings are acceptable unless the runbook phase requires zero warnings).1718# No Conditional Spread1920Never use `...(condition && { key: value })` to build objects conditionally. Prefer explicit branches or building an object in steps.2122```javascript23// ❌ BAD24const payload = { ...(flag && { extra: 1 }) };2526// ✅ GOOD27const payload = {};28if (flag) payload.extra = 1;29```30
Also in VictorGoic0/Math-Tutoring-App
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 |
|---|---|---|---|---|---|
| VictorGoic0/Math-Tutoring-App.cursor/rules/api-patterns.mdc · 0 | Cursor rules | setupstylearchsecurity+2 | 73/100 | 3 days ago | |
| VictorGoic0/Math-Tutoring-App.cursor/rules/one-pr-at-a-time.mdc · 0 | Cursor rules | git | 16/100 | 3 days ago | |
| VictorGoic0/Math-Tutoring-App.cursor/rules/react-patterns.mdc · 0 | Cursor rules | stylearchdo-not | 69/100 | 3 days ago | |
| VictorGoic0/Math-Tutoring-App.cursor/rules/react-readability.mdc · 0 | Cursor rules | styleuido-not | 57/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 |
