Releases: matype/stylefmt
Releases · matype/stylefmt
Supports glob to specify input files in CLI
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
- Fixed Same issue in stylelint #218 use
stylelint
to load configuration file. - Fixed:
--config
option to CLI. same as stylelint CLI - Added:
--config-basedir
option to CLI. same as stylelint CLI - Fixed:
config
option to Node.js API. same as stylelint API - Added:
configBasedir
option to Node.js API. same as stylelint API - Added:
configFile
option to Node.js API. same as stylelint API - Added: When
stylelint
configuration 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