chore(deps): update dependency rome to v12 #245
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:
11.0.0
->12.0.0
Release Notes
rome/tools
v12.0.0
CLI
Breaking changes
While this change is a bug fix, this could affect how the
ignore
entries are defined inside a project. We suggest to review themand make sure they still work.
--apply-suggested
is now called--apply-unsafe
rome check --apply
androme check --apply-unsafe
exits with non-zero code (error code)if there are still diagnostics to be addressed.
Other changes
rome check
now checks import statements. This is an experimental feature that needs to beenabled via configuration. Import can be sorted using
rome check --apply-unsafe
working directory, it will try to find one in the parent directories.
--config-path
. It tells Rome to try and discover arome.json
filein the given path.
Configuration
Other changes
exit anymore if there are issues with the
rome.json
file, instead it will apply its defaultsto the sections that are incorrect.
javascript.organizeImports
. This is an experimental feature and users need to opt-in.linter.rules.all
andlinter.rules.[group].all
. These options allow to enable or disable allrules, or all rules for a given group.
all
andrecommended
can't be bothtrue
.The previous example will enable all rules and disable all rules that belong to the
style
group.Editors
Other changes
rome.json
file.Formatter
Linter
New rules are promoted, please check #4239 for more
details.
Parser
VSCode
Other changes
requireConfiguration
. Enabling this option will force Rome to requirea configuration file in your workspace/project. If Rome doesn't find a
rome.json
file, it won'temit diagnostics.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Mend Renovate. View repository job log here.