eslint-plugin-sinsegye-rules

1.1.7 • Public • Published

eslint-plugin-sinsegyerules

自定义规则-中科时代

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-sinsegyerules:

npm install eslint-plugin-sinsegyerules --save-dev

Usage

Add sinsegyerules to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["sinsegyerules"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "sinsegyerules/rule-name": 2
  }
}

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

TODO: Run eslint-doc-generator to generate the rules list.

User

ide

'sinsegye-rules/function': 'error',
'sinsegye-rules/theiatype': 'error',
'sinsegye-rules/let': 'error',
'sinsegye-rules/classtype': 'error',
'sinsegye-rules/classname': 'error',

web 'sinsegye-rules/function': 'error', 'sinsegye-rules/constants': 'error', 'sinsegye-rules/let': 'error', 'sinsegye-rules/classtype': 'error', 'sinsegye-rules/classname': 'error',

Package Sidebar

Install

npm i eslint-plugin-sinsegye-rules

Weekly Downloads

1

Version

1.1.7

License

none

Unpacked Size

30.6 kB

Total Files

21

Last publish

Collaborators

  • sinsegye