ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-haml-lint

by SublimeLinter ST3

SublimeLinter 3 plugin for Haml, using haml-lint.

Details

Installs

  • Total 2K
  • Win 765
  • OS X 1K
  • Linux 456
Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10
Windows 0 2 0 1 0 0 0 0 0 0 0 1 0 0 0 2 0 0 0 0 1 0 1 0 2 0 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1
OS X 0 0 1 2 1 3 0 0 0 2 1 1 0 2 0 1 3 0 3 1 2 1 0 0 2 2 8 0 1 0 3 2 3 3 1 1 0 2 0 2 0 3 0 0 1 2
Linux 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-haml-lint

Build Status

This linter plugin for SublimeLinter provides an interface to haml-lint. It will be used with files that have the “Ruby Haml” syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please install via Package Control.

Before using this plugin, ensure that haml-lint is installed on your system. To install haml-lint, do the following:

  1. Install Ruby.

  2. Install haml-lint by typing the following in a terminal:

[sudo] gem install haml_lint

Note: Make sure you type haml_lint with an underscore (_). gem install haml-lint will get you an outdated executable.

  1. If you are using rbenv or rvm, ensure that they are loaded in your shell’s correct startup file. See here for more information.

Please make sure that the path to haml-lint is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Linter configuration

The default configuration is as follows:

defaults = {
        '--config': '${folder}/.haml-lint.yml',
        'env': {
            'HAML_LINT_RUBOCOP_CONF': '${folder}/.rubocop.yml'
        }
    }

If you have your configuration files somewhere else or with a different name, set this using the Linter settings.

Settings