@sdv/eslint-plugin-blocks-margin

blocks-margin

Usage no npm install needed!

<script type="module">
  import sdvEslintPluginBlocksMargin from 'https://cdn.skypack.dev/@sdv/eslint-plugin-blocks-margin';
</script>

README

eslint-plugin-blocks-margin

blocks-margin

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-blocks-margin:

$ npm install git+http://stash.local:7990/scm/ut/eslint-plugin-blocks-margin.git --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-blocks-margin globally.

Usage

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

{
    "plugins": [
        "blocks-margin"
    ]
}

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

{
    "rules": {
        "blocks-margin/blocks-margin": 2
    }
}

Supported Rules

  • Fill in provided rules here