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

Sublime​Linter-contrib-cloudformation

by fatbasstard ST3

SublimeLinter plugin for Cloudformation files

Details

Installs

  • Total 2K
  • Win 521
  • Mac 736
  • Linux 254
Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 1 0 0 0 1 3 2 1 0 3 1 0 0 0 1 1 1 2 0 0 0 1 0 0 0 1 0 0 0 2 0 0 0 0 0 0 1 1 0 1 1 2 4 5 0
Mac 0 0 1 0 1 0 5 2 2 1 1 0 0 1 1 1 1 0 1 3 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 3 0 1 0 0 3 0 0 2 0
Linux 1 0 1 0 0 0 1 0 1 1 0 0 1 7 0 0 0 0 0 1 0 0 1 0 0 0 3 0 0 0 0 0 0 0 0 0 3 1 0 0 1 1 0 1 0

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
  • include_checks: Array of rules that should be included when testing the file
    • This setting requires v0.8.0 or later.

Example:

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

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