dschaaff / SublimeLinter-puppet-lint

SublimeLinter 3 plugin for Puppet, using puppet-lint.
MIT License
3 stars 2 forks source link

Sublime configuration #3

Closed richard-mck closed 3 years ago

richard-mck commented 6 years ago

Not an issue as such, just a minor documentation recommendation. In order to get this working with arguments in Sublime3 under Windows, I had to ensure my sublime-linter config referenced puppetlint rather than puppet-lint. e.g.

// SublimeLinter Settings - User
{ 
  "debug": true,
  "linters": {
    "puppetlint": {
      "disable": false,
      "args": [
        "--no-variable_is_lowercase-check",
        "--no-variable_scope-check"
      ],
      "excludes": []
    }
  },
  "paths": { 
    "linux": [],
    "osx": [],
    "windows": [
      "C:\\Users\\UserName\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\"
    ]
  }
}

I spent quite a long while unable to figure out why puppet-lint was working but none of my arguments were being accepted. Excellent plugin, thanks!