1.0.1 • Published 9 months ago

eslint-plugin-tj-rules v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

eslint-plugin-kebab

校验文件是否是短横线连接

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-kebab:

npm install eslint-plugin-kebab --save-dev

Usage

In your configuration file, import the plugin eslint-plugin-kebab and add kebab to the plugins key:

import kebab from "eslint-plugin-kebab";

export default [
    {
        plugins: {
            kebab
        }
    }
];

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

import kebab from "eslint-plugin-kebab";

export default [
    {
        plugins: {
            kebab
        },
        rules: {
            "kebab/rule-name": "warn"
        }
    }
];

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.

1.0.1

9 months ago

1.0.0

10 months ago

0.0.0

10 months ago