Lintbase is npm for linters.
Instead of searching disparate GitHub repositories and package READMEs for relevant linting to apply to your codebases, we aggregate thousands of linters in one place, exposing rich information about lint rules and configurations in a standard format.
This is currently a historical archive of the code behind lintbase.com with the UI viewable as screenshots.
This is built as a full-stack Next.js / T3 app.
- Clone the repository
- Run
npm installto install dependencies - Create
.envfrom.env.example
-
Create a database named
lintbasewith this Mac app: https://www.postgresql.org/ -
Fill in the database URL in
.env, something like this:DATABASE_URL="postgresql://postgres:password@localhost:5432/lintbase"
View and manage the contents of the database with either of these tools:
- https://www.pgadmin.org/
npm exec prisma studio
Run this command to push changes from schema.prisma to the database:
npm exec prisma db pushVisit http://localhost:3000/api/package-download to download lint packages locally.
Visit http://localhost:3000/api/package-load to load downloaded lint packages into the database.
TODO: these APIs are currently broken.
-
Start the local database with this Mac app: https://www.postgresql.org/
-
Run the development server:
npm run dev
-
Visit: http://localhost:3000/
Lint
- eslint
- prettier
- stylelint
- Markdownlint
- Markdown all in one
- Code spell checker
- npm intellisense
Git
- GitLens
- Git history
Testing
- jest
Utilities
- Sort lines
- Rainbow CSV
AI
- GitHub Copilot (and login to it)
T3 stack
- Tailwind CSS intellisense
- Prisma