What's Changed
- feat(rome_service): recycle the node cache across parsing sessions by @leops in #4138
- feat(rome_js_analyze):
noInferrableTypes
by @Conaclos in #4083 - docs(rome_linter): fix the linter cli options by @GiveMe-A-Name in #4204
- feat(rome_cli): Add a new option --config-path to set the path to rome.json by @realtimetodie in #4158
- chore(rome_js_analyze):
noSwitchDeclarations
by @Conaclos in #3917 - feat(rome_js_analyze):
noParameterProperties
by @Conaclos in #3874 - feat(rome_js_analyzer):
noSelfAssignment
rule by @ematipico in #4091 - ci: run test on windows by @ematipico in #4207
- feat(rome_js_analyze):
noDuplicatePrivateClassMembers
by @nissy-dev in #4144 - fix(js_semantic):handle exported modules and their members by @Conaclos in #4205
- fix(syntax): add missing assignment operator
/=
by @Conaclos in #4213 - fix: identify any declaration of type parameter by @Conaclos in #4211
- fix(noVar): suggest fixes for re-assigned
var
by @Conaclos in #4212 - chore: Update dependencies by @MichaReiser in #4121
- fix(rome_js_analyze): handle default clause in
useSingleCaseStetement
by @Conaclos in #4069 - fix(noUnusedVariables): ignore TypeScript property parameters by @Conaclos in #4214
- ci: fix redact snapshot by @ematipico in #4209
- feat(rome_js_analyze): noUnsafeOptionalChain, no-unsafe-optional-chaining #3985 by @denbezrukov in #4081
- fix(useOptionalChain): ignore expr ending with a bin expr by @Conaclos in #4217
- feat(rome_cli): enable organize imports via CLI/configuration by @ematipico in #4191
- fix(rome_js_formatter): mapped type formatting by @Conaclos in #4226
- feat(rome_js_parser): support property init in ambient context (node) by @Conaclos in #4225
- feat(rome_service): traverse upwards the fs to discover the config file by @ematipico in #4224
- chore: Update fs_extra to fix future incompatibility warning by @andersk in #4232
- fix(website): Associate labels with the right controls by @andersk in #4233
- feat(rome_js_parser): TS 5.0
export type *
by @Conaclos in #4228 - Remove unsafe from rome_diagnostics::display::frame by @andersk in #4235
- chore: toolchain upgrade by @ematipico in #4237
- feat(rome_js_analyze): noSvgWithoutTitle by @unvalley in #4220
- Fix more nightly Clippy lints by @andersk in #4238
- feat(rome_js_analyze): noUselessCatch by @GiveMe-A-Name in #4236
- Replace unsafe rome_diagnostics::Error implementation with double-Box by @andersk in #4240
- fix(rome_formatter): format range has incorrect source map #4149 by @denbezrukov in #4241
- fix(rome_js_formatter): abstract must precede accessor by @Conaclos in #4242
- feat(rome_js_analyzer): implement rule noRedeclaration, no-redeclare by @edvardchen in #4053
- fix(rome_js_formatter): comments in closing JSX elements by @Conaclos in #4244
- feat(rome_js_analyzer): promote nursery rules by @ematipico in #4239
- fix(rome_js_formatter): Incorrect formatting of interfaces declared inside functions #4253 by @denbezrukov in #4256
- fix(rome_js_semantic): add
TsTypeParameterName
to bindings by @ematipico in #4259 - fix(rome_js_formatter): Parity with prettier for many function arguments #4229 by @denbezrukov in #4260
- feat(rome_service): add
all
configuration to linter by @ematipico in #4258 - docs(rome_js_analyze): improve
noDuplicateParameters
docs by @Conaclos in #4257 - docs(rome_js_analyze): improve
noCatchAssign
docs by @Conaclos in #4262 - Fix Linux executable's path in the standalone docs by @davidbgk in #4251
- fix(rome_fs): Allow to ignore patterns to symbolic links (symlinks) by @realtimetodie in #4166
- fix(rome_cli): don't add newline when formatting from stdin by @ematipico in #4263
- feat(rome_js_analyzer): read globals from analyzer options by @ematipico in #4261
- feat(rome_js_analyze):
noParameterAssign
by @Conaclos in #4264 - docs(rome_js_analyze):
noParameterAssign
in release 12.0.0 by @Conaclos in #4271 - feat(rome_js_parser): Support optional variance annotation by @nissy-dev in #4250
- feat(rome_js_analyze):
useNamespaceKeyword
by @Conaclos in #4266 - chore: update dependencies by @ematipico in #4277
- docs(rome_js_analyze): improve CONTRIBUTING and code gen by @Conaclos in #4278
- refactor(rome_js_analyze): rename
noSelfAssignment
tonoSelfAssign
by @Conaclos in #4279 - docs(rome_js_analyze): improve CONTRIBUTING by @Conaclos in #4280
- fix(rome_cli): prevent exploration of ignored directories by @ematipico in #4276
- docs: Changing the yarn command by @JunkMeal in #4273
- refactor(rome_js_analyze): improve
noDelete
by @Conaclos in #4272
New Contributors
- @GiveMe-A-Name made their first contribution in #4204
- @andersk made their first contribution in #4232
- @edvardchen made their first contribution in #4053
- @davidbgk made their first contribution in #4251
- @JunkMeal made their first contribution in #4273
Full Changelog: cli/v11.0.0-nightly.97e48b4...lsp/v0.21.20230310