eslint-plugin-docker

0.1.0 • Public • Published

eslint-plugin-docker

ESLint plugin for Docker

Installation

You'll first need to install ESLint:

$ yarn add --dev

Next, install eslint-plugin-docker:

$ yarn add --dev eslint-plugin-docker

Usage

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

{
    "plugins": [
        "docker"
    ]
}

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

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

Supported Rules

Package Sidebar

Install

npm i eslint-plugin-docker

Weekly Downloads

11

Version

0.1.0

License

none

Last publish

Collaborators

  • rogeliog