Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 387 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 387 Bytes

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 ."
  }
}