Giter VIP home page Giter VIP logo

hadolint-language-server's Introduction

VS Code hadolint extension

Build Status Greenkeeper badge

Integrates hadolint, a Dockerfile linter, into VS Code. Please check their documentation.

The extension uses the hadolint binary installed in the system. If the binary is not existed in $PATH, the extension will not work as expected.

Preview

https://gyazo.com/a701460ccdda13a1a449b2c3e8da40bc

Get started

If you are on MacOS you can use Homebrew to install hadolint.

brew install hadolint

You can download prebuilt binaries for Linux and Windows from the latest release page.

Configuration

Below is a sample configuration of the extension.

{
  "hadolintPath": "hadolint",
  "cliOptions": ["--no-color", "--ignore", "DL3000"],
  "maxNumberOfProblems": 100,
  "outputLevel": "warning"
}

This extension is multi-root compatible. You may have many folders with different .hadolint.yaml opened in the same VSCode instance and they will not interfere each other.

You may also create a .hadolint.yaml in your project root. Learn more from hadolint documentation.

ignored:
  - DL3000

Development

  • Run yarn install to install dependencies.
  • Press F5 or run Launch Client from debugger.

hadolint-language-server's People

Contributors

michaellzc avatar remcohaszing avatar dependabot[bot] avatar lorenzo avatar greenkeeper[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.