1.0.0 • Published 4 years ago
eslint-plugin-function-check v1.0.0
eslint-plugin-function-check
一个用于强制方法或函数名遵守约定的 eslint 插件
An eslint plugin to enforce method or function name stick to the conventions
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-function-check:
npm install eslint-plugin-function-check --save-devUsage
Add function-check to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["function-check"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"function-check/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
1.0.0
4 years ago