This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Releases: matype/stylefmt
Releases · matype/stylefmt
Supports glob to specify input files in CLI
v5.0.0
- Added: globs support for
--recursiveoption in CLI. #223 - Fixed:
--recursiveoption in CLI, to specify files by glob e.g.stylefmt --list /readdir/**/*.cssinstead. - Fixed: options
--diffand--recursivein CLI can be used together. - Added:
--stdin-filenameoption to CLI. same as stylelint CLI - Added:
--ignore-pathoption to CLI. same as stylelint CLI - Added:
ignorePathoption to Node.js API. same as stylelint API - Added:
ignoreFilesoption to configuration file. same as stylelint configuration
Supports all stylelint options
- Fixed Same issue in stylelint #218 use
stylelintto load configuration file. - Fixed:
--configoption to CLI. same as stylelint CLI - Added:
--config-basediroption to CLI. same as stylelint CLI - Fixed:
configoption to Node.js API. same as stylelint API - Added:
configBasediroption to Node.js API. same as stylelint API - Added:
configFileoption to Node.js API. same as stylelint API - Added: When
stylelintconfiguration file not found, it will extends fromeditorconfig: - Fixed: rules that value is an array, can work properly:
- at-rule-semicolon-newline-after
- block-closing-brace-newline-after
- block-opening-brace-newline-before
- block-opening-brace-space-before
- declaration-colon-space-after
- declaration-colon-space-before
- length-zero-no-unit
- number-leading-zero
- number-no-trailing-zeros
- selector-combinator-space-after
- selector-combinator-space-before
- selector-list-comma-newline-after
- selector-list-comma-newline-before
- selector-list-comma-space-after
- selector-list-comma-space-before
- shorthand-property-no-redundant-values
Thanks a lot for @gucong3000 :D
Add support for some stylelint rules
- 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
Add support for "declaration-block-properties-order" rule
Remove the default formatting rules for comments
[Destructive changed] Don't format lines and spaces before and after comments. #159