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

Sublime​Linter-contrib-cloudformation

by fatbasstard ST3

SublimeLinter plugin for Cloudformation files

Details

  • 1.0.1
  • github.​com
  • github.​com
  • 12 months ago
  • 4 minutes ago
  • 12 months ago

Installs

  • Total 1K
  • Win 347
  • OS X 571
  • Linux 169
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 May 9 May 8 May 7 May 6 May 5
Windows 0 0 0 1 1 0 2 1 0 0 1 0 2 0 4 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 2 0 0 1 0 1 0 1 3 1 0 1
OS X 0 0 1 0 2 0 0 0 1 0 4 0 3 3 4 1 0 0 4 1 2 1 1 0 2 1 5 3 0 1 1 1 1 2 1 2 0 0 0 2 6 1 1 0 0
Linux 0 0 0 0 1 1 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 0 0 1 2 0 0 0 0 0 0 1 0 1 0 2 0 0 1 0 1 0 1

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-contrib-cloudformation

Build Status

This linter plugin for SublimeLinter provides an interface to cfn-lint. This plugin lints yaml and json CloudFormation templates.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that cfn-lint is installed on your system.

pip install cfn-lint

Note: This plugin requires cfn-lint 0.2.2 or later.

Settings

For general information on how SublimeLinter works with settings, please see [Settings]. For information on generic linter settings, please see [Linter Settings][linter-settings].

You can configure cfn-lint by adding the following options to the Sublime Linter User Settings:

  • ignore_rules: Array of rules that should be ignored when testing the file
  • append_rules: Array of paths containing additional rules to be applied
  • override_spec: Path the a Specification Override file

Example:

{
  "linters": {
      "cfnlint": {
        "ignore_rules": ["W2507", "W2508"],
        "append_rules": ["/path/to/custom/rules"],
        "override_spec": "/path/to/override.json"
      }
    }
}

For details about these settings, check the cfn-lint documentation