eslint-plugin-function-check
v1.0.0
Published
An eslint plugin to enforce method or function name stick to the conventions
Downloads
6
Maintainers
Readme
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-dev
Next, install eslint-plugin-function-check
:
npm install eslint-plugin-function-check --save-dev
Usage
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