Linter plugin for Dockerfile's, using dockerlint
This package provides the following services:
linter-docker
This plugin for Linter provides an interface to dockerlint.
Installation
Linter package must be installed in order to use this plugin. If Linter is not installed, please follow the instructions here.
Plugin installation
$ apm install linter-docker
Development
If you are developing this plugin, it's easy to load using apm link
First make sure you don't have linter-docker installed.
apm uninstall linter-docker
Clone this repository and then from the linter-docker directory:
npm install
apm link
You can reload Atom with ctrl+opt+cmd+l
and to open the inspector opt+cmd+i
.
To put it all back:
apm unlink
apm install linter-docker
Testing and Linting
Use npm run test
to execute the tests.
Use npm run lint
to lint the project.
Contributing
If you would like to contribute enhancements or fixes, please do the following:
- Fork the plugin repository.
- Hack on a separate topic branch created from the latest
master
. - Commit and push the topic branch.
- Make a pull request.
- Welcome to the club
Please note that modifications should follow these coding guidelines:
- Indent is 2 spaces.
- Code should pass ESLint linter.
- Vertical whitespace helps readability, don’t be afraid to use it.
Thank you for helping out!