eslint-plugin-docker
v0.1.0
Published
ESLint plugin for Docker
Downloads
7
Maintainers
Readme
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
}
}