Skip to content

yuguaa/yuguaa-eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yuguaa-eslint-config

Usage

Install Dependencies

pnpm add -D @yugu/eslint-config-basic
// .eslintrc
{
  "extends": "@yugu/eslint-config-basic"
}

Create a new file called .eslintignore

dist
node_modules
public

Add Script

// package.json
{
  "scripts": {
    "lint": "npx eslint --ext .js,.ts,.json,.vue --fix ."
  }
}