lexcast / linter-twig

Atom linter for Twig templates
MIT License
2 stars 1 forks source link

The "--only-print-errors" option does not exist. #5

Closed deelite closed 8 years ago

deelite commented 8 years ago

When I try do edit twig files I get this error:

Error:

[RuntimeException] The "--only-print-errors" option does not exist.

lint [--format [FORMAT]] [--] [] Error:

[RuntimeException]
The "--only-print-errors" option does not exist.

lint [--format [FORMAT]] [--] [] at parameters.exit (/Users/jan/.atom/packages/linter-twig/node_modules/atom-linter/lib/helpers.js:58:20) at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:215:47) at ChildProcess. (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:237:18) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

I use Atom 1.8 with the latest release of linter-twig.

At the moment I can't use Atom for twig files with linter.

lexcast commented 8 years ago

which version of twig-lint are you using?

deelite commented 8 years ago

linter-twig 0.1.1

lexcast commented 8 years ago

use the dev-master version

composer global require "asm89/twig-lint" "@dev"
deelite commented 8 years ago

that's cool. it works. thank you!