0.1.0 • Published 8 years ago

eslint-plugin-docker v0.1.0

Weekly downloads
36
License
-
Repository
-
Last release
8 years ago

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