0.0.0 • Published 10 months ago

eslint-plugin-sen v0.0.0

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

eslint-plugin-sen

personal eslint plugin

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-sen:

npm install eslint-plugin-sen --save-dev

Usage

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

import sen from "eslint-plugin-sen";

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

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

import sen from "eslint-plugin-sen";

export default [
    {
        plugins: {
            sen
        },
        rules: {
            "sen/template-literals": "error"
        }
    }
];
0.0.0

10 months ago