Skip to content

Releases: masaakim/stylefmt

Supports glob to specify input files in CLI

24 Nov 08:23
Compare
Choose a tag to compare

v5.0.0

  • Added: globs support for --recursive option in CLI. #223
  • Fixed: --recursive option in CLI, to specify files by glob e.g. stylefmt --list /readdir/**/*.css instead.
  • Fixed: options --diff and --recursive in CLI can be used together.
  • Added: --stdin-filename option to CLI. same as stylelint CLI
  • Added: --ignore-path option to CLI. same as stylelint CLI
  • Added: ignorePath option to Node.js API. same as stylelint API
  • Added: ignoreFiles option to configuration file. same as stylelint configuration

Supports all stylelint options

10 Nov 05:53
Compare
Choose a tag to compare

Thanks a lot for @gucong3000 :D

Add support for some stylelint rules

14 Sep 03:11
Compare
Choose a tag to compare
  • Drop to support Node.js v0.12
  • Support the following stylelint rules:
    • number-leading-zero
    • shorthand-property-no-redundant-values
    • number-no-trailing-zeros
    • number-leading-zero
    • length-zero-no-unit
    • color-hex-length
    • at-rule-empty-line-before
  • Fixed some bugs

Thank you for all contributors :)

Add support for string-quotes rule of stylelint

20 Jul 08:12
Compare
Choose a tag to compare
  • Add support for string-quotes rule of stylelint. #164
  • Add support for groups in declaration-block-properties and fixed #165. #167

Add support for "declaration-block-properties-order" rule

01 Jul 16:21
Compare
Choose a tag to compare

Add support for "declaration-block-properties-order" rule of stylelint using postcss-sorting. #161

Thanks @nkt :)

Remove the default formatting rules for comments

23 Jun 09:55
Compare
Choose a tag to compare

[Destructive changed] Don't format lines and spaces before and after comments. #159

Add `--config` option

16 Jun 08:56
Compare
Choose a tag to compare
  • Add --config option to specify the path of stylelint configuration file
  • Support color-hex-case rule of stylelint

and fixed the following bugs.

Support new stylelint rules to format code between property and value

03 Jun 08:54
Compare
Choose a tag to compare

v3.4.0

Support the following stylelint rules

  • declaration-colon-space-after, #106
  • declaration-colon-space-before, #107

Support for stylelint extends

23 May 01:46
Compare
Choose a tag to compare

stylelint can read stylelint rules recursively in extends property of its config file. #129 #133

stylefmt is an asynchronouse PostCSS plugin

07 Apr 10:45
Compare
Choose a tag to compare

Implement as an asynchronouse plugin. #85

  • Introduce cosmiconfig instead of rc-loader
  • Fixed #81