csscomb / csscomb.js

CSS coding style formatter
http://csscomb.com/
MIT License
3.29k stars 457 forks source link

Fixed parser options. tty-mode now parsed as boolean. #547

Closed vladik7244 closed 5 years ago

vladik7244 commented 7 years ago

Run: csscomb --tty-mode somefile.js

Before fix: options['tty-mode'] == 'somefile.js' files = []

After fix: options['tty-mode'] == true files = ['somefile.js']

It broke the ability to use csscomb with lint-staged. See related issue

tonyganch commented 5 years ago

Merged into dev