Skip to content

voyc-ai/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@voyc-ai/eslint-config

standard-readme compliant make a pull request

ESLint config for Voyc

About

Shareable configs are designed to work with the extends feature of eslint files. You can learn more about shareable configs on the official ESLint website.

Install

This project uses node and npm.

Install the configuration as well as eslint and prettier

$ npm install --save-dev @voyc-ai/eslint-config eslint prettier

Usage

Add this to your .eslintrc file in the root of your project:

{
  "extends": "@voyc-ai"
}

Then add the scripts to your package.json:

"scripts": {
  "lint": "eslint .",
  "lint:fix": "eslint . --fix"
},

Add Badge voyc-eslint

[![voyc-eslint](https://img.shields.io/badge/ESLint-Voyc-%2343297B)](https://www.voyc.ai/)

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request