notslang / editorconfig-tools

Tools for verifying/fixing code style based on an EditorConfig file
https://npmjs.com/package/editorconfig-tools
GNU General Public License v3.0
54 stars 6 forks source link

Enhancement: Exit failure on lint warning #15

Open mcandre opened 9 years ago

mcandre commented 9 years ago

As a power user, I want editorconfig-tools to exit failure (1) if any editorconfig rules violations are found, so that editorconfig-tools makes my build fail.

notslang commented 9 years ago

we don't already do this? it should work: https://github.com/slang800/editorconfig-tools/blob/d2264a87aeac8598925f040ef6ac98afee1566bd/lib/cli.coffee#L108