eslint-plugin-razzle
v1.1.0
Published
用于razzle创建的react项目
Downloads
2
Maintainers
Readme
eslint-plugin-razzle
用于razzle创建的react项目
安装
首次使用需要去安装 ESLint:
npm i eslint prettier-eslint eslint-config-prettier -D --save-dev
Next, install eslint-plugin-razzle
:
npm install eslint-plugin-razzle --save-dev
Usage
Then configure the rules you want to use under the rules section.
{
"plugins": ["razzle"],
"extends": ["plugin:prettier/recommended", "plugin:razzle/recommended"],
"rules": {
// "no-console": "off"
}
}
Supported Rules
- Fill in provided rules here
- 编写插件教程
- https://www.jianshu.com/p/e6ee3f64e2ce