This repository was archived by the owner on Sep 20, 2021. It is now read-only.
Update dependency @snowcoders/sortier to v3.2.0 #568
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.1.3
->3.2.0
Release Notes
snowcoders/sortier
v3.2.0
Compare Source
sortier-ignore-next-line
support which disables sorting on all AST nodes that start and end on the next linesortier-ignore-nodes
support which disables sorting on all AST nodes that start on the next line3.1.3
.cjs
and.mjs
file types3.1.2
3.1.1
3.1.0
Fixed property moving when changing from object to type or adding utility type
Note: This required the default sort order to change from
"undefined", "null", "*", "object" then "function"
to"undefined", "null", "*" then "function"
which meansobject
s are treated in the same sort order as primative properties and anything that doesn't match.If you preferred the original functionality modify the
.sortierrc.js
like so:Added support for TSCallSignatureDeclaration
Fixed TSParenthesizedType's contents not being sorted
3.0.2
3.0.1
3.0.0
Bug fixes
New support
Breaking
Error handling changes
From the root exports removed
format
in favor offormatFile
Updated globby@10.0.0 which only allows forward slashes in paths
sortier ".\**\*.ts"
you'll need to update tosortier "./**/*.ts"
Configuration file updates
Removed
isHelpMode: true
in favor oflogLevel: diagnostic
Removed javascript options from the root
Fix: In the root of your configuration file, if you had any of the javascript specific options you should move them into a js object. For example, migrating from:
To
2.6.2
sortImportDeclarationSpecifiers
to the public options (Thanks @abrougher for the bug)2.6.1
.sortierignore
file support for monorepos by using the closest .sortierignore file2.6.0
.sortierignore
file support (Thanks @TikiTDO)2.5.4
typescript-estree
to@typescript-eslint/typescript-estree
as the former has been deprecated2.5.3
localeCompare
to comparison operator to sort by Unicode value instead of locale (Thanks @trevorr for the suggestion)2.5.2
bin/index.js
2.5.1
script
andstyle
tags in html files are now sorted2.5.0
2.4.0
css
,scss
andless
file support2.3.2
2.3.1
2.3.0
sortClassContents
property via the settingsjs
property for configs so that all javascript related options are grouped.2.2.0
logLevel
option to the config to allow for a quiet mode. Setting this todiagnostic
is the same as settingisHelpMode
to true.2.1.14
npm audit
2.1.13
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.