npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vscode-chatgpt-linter

v0.0.2

Published

Lints code via ChatGPT according to your custom rules, and shows inline squiggles in VS Code editor, like eslint does.

Readme

ChatGPT Linter

AI-powered code linter for VS Code, powered by ChatGPT and your own rules.

This extension allows you to define a custom rules (in plain text or Markdown), and have ChatGPT analyze your code for violations. Results are written to a JSON file and displayed as inline squiggles—just like ESLint.

✨ Features

✅ Analyze the active file using ChatGPT
✅ Custom rules support
✅ Inline squiggle diagnostics (warnings & errors)
✅ Uses OpenAI models (configurable)
✅ Fully customizable through VS Code settings

🚀 Getting Started

1. Install the Extension

Search for ChatGPT Linter in the VS Code Extensions Marketplace or install it manually from .vsix.

2. Set Your OpenAI API Key

In VS Code settings (Ctrl + ,):

ChatGPT Lint › Api Key For Open Ai

Set your OpenAI API key (get one here).

3. Create Your Style Guide

Create a file like chatgpt-linter-prompt.md in your workspace:

## Style Guide

- Use camelCase for variable names
- No `any` type
- Prefer `const` over `let` when not reassigned

You can use Markdown, plain text, or bullet lists.

How to Lint Your File

Run the command (Using VSC Cmd+Shift+P)

ChatGPT Lint: Generate Lint File

This will:

  • Send the open file + rules to ChatGPT
  • Generate a .chatgpt-lint.json file
  • Show squiggles for any issues found

⚙️ Configuration Options

In settings.json or the VS Code settings UI:

| Setting | Description | Default | |---------------------------------|--------------------------------------------------|----------------------------------| | chatgptLinter.apiKeyForOpenAi | Your OpenAI API key | "" | | chatgptLinter.model | Model to use (gpt-4, etc.) | "3o-mini" | | chatgptLinter.stylePath | Path to your rules file | "./chatgpt-linter-prompt.md" | | chatgptLinter.lintFileName | Output file for lint results | ".chatgpt-lint.json" |

🧠 How It Works

  1. The extension sends both your code and your custom rules to ChatGPT via OpenAI’s API
  2. ChatGPT reviews your code. The results are saved to .chatgpt-lint.json
  3. Squiggles appear automatically using VS Code’s Diagnostics API, like eslint does.

🔐 API Usage & Rate Limits

This extension uses your own OpenAI API key. Make sure your key is valid and you’re aware of your rate limits and token quotas.

💡 Tips

  • You can use different models for faster/cheaper responses
  • You can use other tools to generate .chatgpt-lint.json to make squiggles show up. The built-in command is just one option.

🛠 Contributing

Pull requests welcome! Feel free to open issues or feature requests.

📄 License

MIT

Made with 💬 by @yuliswe

Let me know if you'd like:

  • A badge section (e.g. marketplace, version, license)
  • GitHub Actions instructions for auto-publishing
  • Screenshots or demo GIF sections added

Happy to help with any branding or polish!