diff --git a/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_dereferenced_symlink.snap b/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_dereferenced_symlink.snap index 1da9cdaf434f..7e89facb2c62 100644 --- a/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_dereferenced_symlink.snap +++ b/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_dereferenced_symlink.snap @@ -15,6 +15,51 @@ internalError/io ━━━━━━━━━━━━━━━━━━━━━ # Emitted Messages +```block +Found errors in the configuration file, Rome will use its defaults for the sections that are incorrect. +``` + +```block +/Users/ema/www/tools/rome.json:20:5 configuration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + ! Found an unknown key `noNonNullAssertion` + + 18 │ "recommended": true, + 19 │ "suspicious": { + > 20 │ "noNonNullAssertion": "off" + │ ^^^^^^^^^^^^^^^^^^^^ + 21 │ } + 22 │ } + + i Accepted keys + + - recommended + - noArrayIndexKey + - noAsyncPromiseExecutor + - noCatchAssign + - noCommentText + - noCompareNegZero + - noConstEnum + - noDebugger + - noDoubleEquals + - noDuplicateObjectKeys + - noDuplicateParameters + - noEmptyInterface + - noExplicitAny + - noExtraNonNullAssertion + - noFunctionAssign + - noImportAssign + - noLabelVar + - noRedundantUseStrict + - noShadowRestrictedNames + - noSparseArray + - noUnsafeNegation + - useDefaultSwitchClauseLast + - useValidTypeof + + +``` + ```block /rome_test_broken_symlink/broken_symlink internalError/fs ━━━━━━━━━━━━━━━━━━━━ diff --git a/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_infinite_symlink_expansion.snap b/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_infinite_symlink_expansion.snap index 4f93f54b559e..b224e300928b 100644 --- a/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_infinite_symlink_expansion.snap +++ b/crates/rome_cli/tests/snapshots/main_commands_check/fs_error_infinite_symlink_expansion.snap @@ -15,6 +15,51 @@ internalError/io ━━━━━━━━━━━━━━━━━━━━━ # Emitted Messages +```block +Found errors in the configuration file, Rome will use its defaults for the sections that are incorrect. +``` + +```block +/Users/ema/www/tools/rome.json:20:5 configuration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + ! Found an unknown key `noNonNullAssertion` + + 18 │ "recommended": true, + 19 │ "suspicious": { + > 20 │ "noNonNullAssertion": "off" + │ ^^^^^^^^^^^^^^^^^^^^ + 21 │ } + 22 │ } + + i Accepted keys + + - recommended + - noArrayIndexKey + - noAsyncPromiseExecutor + - noCatchAssign + - noCommentText + - noCompareNegZero + - noConstEnum + - noDebugger + - noDoubleEquals + - noDuplicateObjectKeys + - noDuplicateParameters + - noEmptyInterface + - noExplicitAny + - noExtraNonNullAssertion + - noFunctionAssign + - noImportAssign + - noLabelVar + - noRedundantUseStrict + - noShadowRestrictedNames + - noSparseArray + - noUnsafeNegation + - useDefaultSwitchClauseLast + - useValidTypeof + + +``` + ```block /rome_test_infinite_symlink_exapansion/prefix internalError/fs ━━━━━━━━━━━━━━━━━━━━ diff --git a/crates/rome_cli/tests/snapshots/main_commands_check/should_disable_a_rule_group.snap b/crates/rome_cli/tests/snapshots/main_commands_check/should_disable_a_rule_group.snap index 474e56e30d21..5b9317fe7b15 100644 --- a/crates/rome_cli/tests/snapshots/main_commands_check/should_disable_a_rule_group.snap +++ b/crates/rome_cli/tests/snapshots/main_commands_check/should_disable_a_rule_group.snap @@ -30,12 +30,6 @@ try { # Emitted Messages -```block -Skipped 1 suggested fixes. -If you wish to apply the suggested (unsafe) fixes, use the command rome check --apply-unsafe - -``` - ```block Fixed 1 file(s) in