Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 2.68 KB

README.md

File metadata and controls

64 lines (37 loc) · 2.68 KB

ESLint GPT 🤖

ESLint GPT is an innovative project that combines the power of OpenAI's GPT model and Vercel's Edge Functions to generate custom ESLint rules. This project aims to simplify the process of creating and maintaining ESLint rules for developers.

About ESLint GPT

ESLint GPT is a project that uses OpenAI's GPT model to generate custom ESLint rules. With the help of Vercel Edge Functions, the generated rules can be easily integrated into any project. This project is perfect for developers who want to customize their ESLint rules based on their specific needs.

Key Features

  • Automatic ESLint Rule Generation: Automatically generate corresponding ESLint rules by inputting example code.
  • Multi-language Support: Currently supports both English and Chinese, making it accessible for developers of different languages.
  • User-friendly Interface: A clean and intuitive user interface that is easy to navigate.
  • Save and Share Functionality: Save generated rules and share them with others.

Quick Start

To get started with ESLint GPT, follow these steps:

  1. Clone the repository: git clone https://github.com/ycjcl868/eslint-gpt.git
  2. Install dependencies: npm install
  3. Start the service: npm run dev
  4. Open your browser and navigate to: http://localhost:3000

Login

Custom OpenAI Config

Save Rule

Sharing Rule

Delete Rule

TODO

Getting Started

To get started with ESLint GPT, you will need to have an OpenAI API key and a Vercel account. Once you have these, you can simply clone the project and follow the instructions in the README file.

Benefits of ESLint GPT

  • Simplifies the process of creating custom ESLint rules
  • Saves time by automating the rule generation process
  • Provides developers with more flexibility in creating their own rules
  • Makes it easier to maintain and update ESLint rules

Contributing

If you are interested in contributing to ESLint GPT, please feel free to submit a pull request. We welcome all contributions and appreciate your help in making this project even better.

License

ESLint GPT is licensed under the MIT License. See the LICENSE file for more information.