Nerds Produce Money

    eslint-plugin-function-check

    1.0.0 • Public • Published

    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

    Install

    npm i eslint-plugin-function-check

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    4.46 kB

    Total Files

    5

    Last publish

    Collaborators

    • pangnate