0.0.5 • Published 2 years ago
eslint-plugin-funcname v0.0.5
eslint-plugin-funcname
mark func name
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-funcname
:
npm install eslint-plugin-funcname --save-dev
Usage
Add funcname
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"funcname"
],
"rules": {
"funcname/callFuncName": ['warn',{funcName: ["add"], commentName: '$disable'}],
}
}