remorses

remorses / lintcn

Public

The shadcn for TypeScript lint rules. Browse, pick, and copy rules into your project. Let agents write custom rules that follow your preferences. Based on tsgolint & go

14
0
100% credibility
Found Mar 21, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

lintcn is a tool for easily adding, managing, and running type-aware TypeScript linting rules sourced from URLs, compiling them into a custom checker.

How It Works

1
🔍 Discover lintcn

You hear about a handy tool that lets you grab smart checks for your code writing, just like copying ready-made pieces for building apps.

2
📦 Add to your project

You bring the tool into your coding workspace with a quick and simple setup.

3
Grab a smart check

Paste a web link to a useful check rule, and it automatically downloads and places it right in your project folder.

4
🔍 Check your work

Run the checker on your files, and it spots clever issues that basic tools miss by understanding your code deeply.

5
Build your collection

Add more checks from links, tweak them if needed, and list or remove ones you don't want.

6
🧹 Clean up cache

Clear out stored files anytime to keep things tidy and save space.

Smarter, safer code

Your project now runs powerful custom checks, catching bugs early and making everything more reliable.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is lintcn?

lintcn brings the shadcn/ui copy-paste model to TypeScript lint rules: grab type-aware rules by GitHub URL via `npx lintcn add`, drop them as editable Go files in `.lintcn/`, and run `npx lintcn lint` for deep analysis ESLint skips. It compiles a custom binary using tsgolint and TypeScript-Go, catching issues like floating promises, array deletes, or await-thenables via the real type checker. Think shadcn github components but for shadcn command typescript errors—no plugins, full source ownership.

Why is it gaining traction?

Unlike ESLint's shallow checks, lintcn taps 50+ tsgolint rules for precise type insights, with auto-fetching tests/options and caching for fast rebuilds. Customize freely or let AI agents (via `npx skills add remorses/lintcn`) write rules matching your shadcn github table or vue setups. CLI handles add/list/remove/clean; runs from subdirs, pins versions to avoid breaks.

Who should use this?

TypeScript devs on shadcn github svelte/vue projects enforcing no-floating-promises or await-thenable in CI. Teams lintcnc reviewing large codebases for array-delete pitfalls or promise arrays, beyond basic ESLint. Suits frontend squads customizing rules for shadcn github copilot outputs.

Verdict

Promising for type-strict TS linting, with clear docs and full tests, but immature at 14 stars and 1.0% credibility—test in non-prod first. Pin versions; pair with ESLint for broad coverage. Worth a spin if ESLint feels shallow.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.