Releases: jo-sm/stylelint_d
Add exit codes and allow language passing
This release is the addition of two pull requests: #11 and #12.
#11 adds a --language
flag, allowing you to explicitly pass the language of the file you're linting, useful in cases where you have to pass in the file via stdin, but cannot give it context clues.
#12 adds explicit exit codes, similar to those in stylelint
, but making them more consistent.
Make string output more consistent with stylelint
This is a minor change only affecting the output from stylelint_d
when using the string
formatter. Its output now shows paths relative to the current directory. Example output:
Previously
$ stylelint_d assets/css/test.css
test.css
2:10 ✖ Expected "#DCE321" to be "#dce321" color-hex-case
Current (version 1.1.2)
$ stylelint_d assets/css/test.css
assets/css/test.css
2:10 ✖ Expected "#DCE321" to be "#dce321" color-hex-case
Bug fix
Support for large files
Previous versions of stylelint_d
had issues with large files, especially those that had a high number of errors. This release fixes an outstanding bug that would happen if you submitted a large file using stdin, and rewrites the logic handling sending data from the internal linter server to the stylelint_d
client.
This update is recommended for all users.