Changelog
12.1.3
rome lsp-proxy
should accept the global CLI options #4505nursery
were enabled when the "nursery": {}
object
was defined #4479useHookAtTopLevel
caused to returning call expressions of a hook.Changelog
12.1.2
noInnerDeclarations
: allow function declarations in nested block inside an ES module #4492.noInvalidConstructorSuper
: recognize extends
clauses that use static member access such as extends mod.C
#4499Changelog
12.1.1
lsp-proxy
was renamed lsp_proxy
#4489noAssignInExpressions
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 an interface
had the same name #4468Changelog
12.1.0
rome check
can accept input from stdin
.--stdin-file-path
to use when running rome check
via stdin
.--formatter-enabled
to the command rome check
to control the formatter via CLI.--linter-enabled
to the command rome check
to control the linter via CLI.--organize-imports-enabled
to the command rome check
to control the import sorting via CLI.rome migrate
the transform the configuration file rome.json
when there are breaking changes.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;- import "module" assert {}
+ import "module" with {}
lineWidth
for arrays #4351noConfusingArrow
noRedundantRoles
noNoninteractiveTabindex
noAriaUnsupportedElements
noConsoleLog
noForEach
useLiteralKeys
noConstantCondition
useGroupedTypeImport
noUselessConstructor
useLiteralEnumMembers
useHeadingContent
noAccumulatingSpread
useSimpleNumberKeys
New rules are promoted, please check #4431 for more details.
Note that, noExtraSemicolons
and noExtraLabels
are renamed to noExtraSemicolon
and noUselessLabel
.
useShorthandArrayType
rule did not handle nested ReadonlyArray types correctly and erroneously reported TsObjectType #4354.noUndeclaredVariables
detects globals based on the file type.noUndeclaredVariables
incorrectly identifies AggregateError
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 to as
or satisfies
expression.noHeadeScope
caused to custom componentsnoNoninteractiveElementToInteractiveRole
and noNoninteractiveTabindex
caused to non-interactive elements.cts
files- import "module" assert {}
+ import "module" with {}
export
and export default
. #4252requireConfiguration
is set to true
by default