Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-ai

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-ai

eslint-ai is an cli tools that help us to lint and view suggestion from ai if we had a code error with eslint support.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint: AI

build license npm release

eslint-ai is an cli tools that help us to lint and view suggestion from ai if we had a code error with eslint support.

Setup

Get your OPENAI_KEY from OpenAi

You'll have to create a account and get your api key

Set your configuration:

eslint-ai config set OPENAI_KEY=<your key> # for api key
eslint-ai config set OPENAI_MODEL=<your model> # for specifing your prefered model
eslint-ai config set OPENAI_API_ENDPOINT=<your api endpoint> # for specifing your api endpoint

eslint-ai config ui # to use ui prompt directly

Usage

Recommended

npx eslint-ai # basic usage

npx eslint-ai <file> # you can specify a list of file to lint

Using global installation

npm install -g eslint-ai # npm
yarn add global eslint-ai # yarn


eslint-ai # basic usage

eslint-ai <file> # you can specify a list of file to lint

Update

To update to the latest version, use:

eslint-ai update

Support

eslint-ai is an MIT-licensed open source project. It can grow thanks to the sponsors and support.

License

eslint-ai is MIT licensed.

Keywords

FAQs

Package last updated on 05 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc