1.0.0 • Published 6 years ago

eslint-config-miwa v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-config-miwa 配置

安装

$ npm install eslint-config-miwa --save-dev

使用

配置文件

在项目根目录下新建文件.eslintrc

{
  "extends": "eslint-config-miwa"
}

配置 package.json

  "scripts": {
    "lint": "eslint 需要检测的目录名",
    "lint:fix": "npm run lint -- --fix"
  },

建议

  1. 在VSCode中使用eslint需安装 ESLint 插件
1.0.0

6 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago