星航定制eslint rule 适用项目Vue+js 根据方法名及入参自动补充星航规范注释模板
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-xhlint
:
npm install eslint-plugin-xhlint --save-dev
Add plugin:xhlint/recommended
to the plugins section of your .eslintrc
configuration file.
{
"extends": ["standard", "plugin:vue/recommended", "plugin:xhlint/recommended"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"multiline-comment-style": ["error", "starred-block"]
}
}
- Fill in provided rules here