eslint-plugin-xhlint

0.1.2 • Public • Published

eslint-plugin-xhlint

星航定制eslint rule 适用项目Vue+js 根据方法名及入参自动补充星航规范注释模板

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-xhlint:

npm install eslint-plugin-xhlint --save-dev

Usage

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"]
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-xhlint

Weekly Downloads

13

Version

0.1.2

License

ISC

Unpacked Size

9.59 kB

Total Files

10

Last publish

Collaborators

  • z-y