Skip to content

zheqi02/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

开发

pnpm i
pnpm dev
pnpm lint

使用

# bash
npm install -D eslint @zheqi/eslint-config
// .eslintrc
{
  "extends": "@zheqi"
}
{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}
// .vscode/setting.json
{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

参考 antfu 和 chris-zhu 的 eslint-config, 整合了两套一起 vue、ts 配置, 添加了 vue 语法糖 学会了 unbuild 和 monorepo,实现了百分百 ts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published