AtomLinter / linter-docker

Linter plugin for Dockerfile, using dockerlint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. 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!

Donation

Share the love!

About

Linter plugin for Dockerfile, using dockerlint


Languages

Language:JavaScript 100.0%