ckaznocha / SublimeLinter-contrib-CFLint

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

More fixes, replace deprecated features #27

Closed kaste closed 5 years ago

kaste commented 5 years ago

The current version actually does not work with recent versions of CFLint. Simply bc just by setting -text the output will be written to a file and not to stdout.

We thus must use -stdout flag. But then we can also use -stdin and get background linting.

Switch to stdin/-out processing

Use selector instead of syntax
syntax has been deprecated in favor of selector. Note that the latter is also configurable by the user now.

kaste commented 5 years ago

Bug report was in core SublimeLinter repo: https://github.com/SublimeLinter/SublimeLinter/issues/1491

ckaznocha commented 5 years ago

thanks @kaste!