ckaznocha / SublimeLinter-contrib-CFLint

SublimeLinter plugin for Adobe ColdFusion, using CFLint.
MIT License
16 stars 9 forks source link

Update cmd to allow args #9

Closed morgdenn closed 8 years ago

morgdenn commented 8 years ago

Change the cmd string so that the "args" argument can be used in linter settings. The way it was any args would be inserted between the '-file' and the filename which broke the '-file' argument.

For this config, "cflint": { "@disable": false, "args": ['-configfile c:\cflintrc.xml'], "excludes": [] }

The results are: old: cflint -q -text -file -configfile c:\cflintrc.xml index.cfm new: cflint -file index.cfm -q -text -configfile c:\cflintrc.xml

ckaznocha commented 8 years ago

Awesome, thanks for the PR @morgdenn!