chore(deps): update dependency rome to v12.1.3 #15
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:
12.0.0
->12.1.3
Release Notes
rome/tools (rome)
v12.1.3
CLI
Other changes
rome lsp-proxy
should accept the global CLI options #4505Configuration
Other changes
nursery
were enabled when the"nursery": {}
objectwas defined #4479
Formatter
Linter
Other changes
useHookAtTopLevel
caused to returning call expressions of a hook.Parser
Other changes
v12.1.2
Configuration
Other changes
the correct rules to apply #4502
Linter
New rules
noUselessTypeConstraint
Other changes
noInnerDeclarations
: allow function declarations in nested block inside an ES module #4492.noInvalidConstructorSuper
: recognizeextends
clauses that use static member access such asextends mod.C
#4499v12.1.1
CLI
Other changes
lsp-proxy
was renamedlsp_proxy
#4489Configuration
Other changes
Linter
Other changes
noAssignInExpressions
rule replaced the operator with an invalid token, which caused other lint rules to crash. #4464noUnusedVariables
rule did not correctly detect exports when a variable and aninterface
had the same name #4468v12.1.0
CLI
Other changes
output. #4405.
rome check
can accept input fromstdin
.--stdin-file-path
to use when runningrome check
viastdin
.--formatter-enabled
to the commandrome check
to control the formatter via CLI.--linter-enabled
to the commandrome check
to control the linter via CLI.--organize-imports-enabled
to the commandrome check
to control the import sorting via CLI.rome migrate
the transform the configuration filerome.json
when there are breaking changes.
Configuration
vcs
property, to opt in the VCS integration:vcs.enabled
, to enable or not the integration;vcs.clientKind
, the supported clients;vcs.useIgnoreFile
, to ignore the files/paths inside the file;vcs.root
, an optional path to the root of the VCS;Editors
Other changes
Formatter
Other changes
lineWidth
for arrays #4351Linter
New rules
noConfusingArrow
noRedundantRoles
noNoninteractiveTabindex
noAriaUnsupportedElements
noConsoleLog
noForEach
useLiteralKeys
noConstantCondition
useGroupedTypeImport
noUselessConstructor
useLiteralEnumMembers
useHeadingContent
noAccumulatingSpread
useSimpleNumberKeys
Promoted rules
New rules are promoted, please check #4431 for more details.
Note that,
noExtraSemicolons
andnoExtraLabels
are renamed tonoExtraSemicolon
andnoUselessLabel
.Other changes
the code action is not formatted.
useShorthandArrayType
rule did not handle nested ReadonlyArray types correctly and erroneously reported TsObjectType #4354.noUndeclaredVariables
detects globals based on the file type.noUndeclaredVariables
incorrectly identifiesAggregateError
as an undeclared variable. #4365useLiteralKeys
rule doesn't ignore valid uses of square bracket notation. #4370noNonNullAssertion
to emit incorrect code actionuseButtonType
to miss some casesuseCamelCase
caused to default exported componentsuseCamelCase
caused to private class membersuseHookAtTopLevel
caused to arrow functions, export default functions and function expressions.useHookAtTopLevel
caused toas
orsatisfies
expression.noHeadeScope
caused to custom componentsnoNoninteractiveElementToInteractiveRole
andnoNoninteractiveTabindex
caused to non-interactive elements.Parser
Other changes
cts
filesexport
andexport default
. #4252VSCode
requireConfiguration
is set totrue
by defaultConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.