Skip to content

Releases: jo-sm/stylelint_d

Add exit codes and allow language passing

17 Dec 08:57
Compare
Choose a tag to compare

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

19 May 21:24
Compare
Choose a tag to compare

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

19 May 21:12
Compare
Choose a tag to compare
  • Fixes bug when configuration file is missing
  • Makes formatting selection between server and client more consistent internally

Support for large files

13 Apr 11:03
Compare
Choose a tag to compare

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.