Code Monkey home page Code Monkey logo

atom-linter-haproxy's Introduction

linter-haproxy package

This package will lint your opened HAProxy configs in Atom, using haproxy-lint.

Installation

Configuration

  • Executable Path to your haproxy-lint executable. This is useful if haproxy-lint is not in $PATH.
  • Args Arguments to run haproxy-lint, default is --json. Useful to enable or disable linter options.

atom-linter-haproxy's People

Contributors

abulimov avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

atom-linter-haproxy's Issues

Can't get linter-haproxy to work within Atom

OS: OSX 10.14.
Atom: 1.45.0
haproxy-lint version 0.6.2
HA-Proxy version 2.1.4

haproxy-lint, go language, and haproxy are installed and working outside of Atom; haproxy-lint is executable from any directory as it is symlinked to /user/local/bin; path defined within package config explicitly to the executable haproxy-lint file, just in case.

haproxy-lint -json /Users/my-user-id/Desktop/haproxy.cfg [ { "col": 0, "line": 106, "severity": "critical", "message": "'bind *:443' : 'transparent' option is not implemented in this version (check build options)." } ]

The general linter appears at the bottom of screen indicating an error, but when I reveal, no data. I don't believe this is the linter-haproxy package though because it goes away when I disable that package for testing.

I can't manage to find a way to actually run/execute this package within Atom, basically it doesn't work. Either Atom is too high a version and no longer works or maybe I am missing something as the directions are very vague.

Also to note, I am using the haproxy grammar syntax.

Any guidance would be greatly appreciated!

pic

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.