diff --git a/packages/cli/snap-tests-todo/test-panicked-fix/snap.txt b/packages/cli/snap-tests-todo/test-panicked-fix/snap.txt deleted file mode 100644 index 8ea62f190a..0000000000 --- a/packages/cli/snap-tests-todo/test-panicked-fix/snap.txt +++ /dev/null @@ -1,27 +0,0 @@ -> vp lint --help | head -n 20 # print help message and no panicked -Usage: [-c=<./.oxlintrc.json>] [PATH]... - -Basic Configuration - -c, --config=<./.oxlintrc.json> Oxlint configuration file (experimental) - * only `.json` extension is supported - * you can use comments in configuration files. - * tries to be compatible with the ESLint v8's format - --tsconfig=<./tsconfig.json> TypeScript `tsconfig.json` path for reading path alias and - project references for import plugin - --init Initialize oxlint configuration with default values - -Allowing / Denying Multiple Lints - Accumulate rules and categories from left to right on the command-line. - For example `-D correctness -A no-debugger` or `-A all -D no-debugger`. - The categories are: - * `correctness` - code that is outright wrong or useless (default). - * `suspicious` - code that is most likely wrong or useless. - * `pedantic` - lints which are rather strict or have occasional false positives. - * `style` - code that should be written in a more idiomatic way. - * `nursery` - new lints that are still under development. - - -thread 'tokio-runtime-worker' panicked at library/std/src/io/stdio.rs:1165:9: -failed printing to stdout: Broken pipe (os error 32) -note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace -[Vite+] run error: [Error: Panic in async function] { code: 'GenericFailure' } diff --git a/packages/cli/snap-tests-todo/test-panicked-fix/package.json b/packages/cli/snap-tests/test-panicked-fix/package.json similarity index 100% rename from packages/cli/snap-tests-todo/test-panicked-fix/package.json rename to packages/cli/snap-tests/test-panicked-fix/package.json diff --git a/packages/cli/snap-tests/test-panicked-fix/snap.txt b/packages/cli/snap-tests/test-panicked-fix/snap.txt new file mode 100644 index 0000000000..a512fc9601 --- /dev/null +++ b/packages/cli/snap-tests/test-panicked-fix/snap.txt @@ -0,0 +1,21 @@ +> vp lint --help | head -n 20 # print help message and no panicked +Usage: [-c=<./.oxlintrc.json>] [PATH]... + +Basic Configuration + -c, --config=<./.oxlintrc.json> Oxlint configuration file + * `.json` and `.jsonc` config files are supported in all runtimes + * JavaScript/TypeScript config files are experimental and require + running via Node.js + * you can use comments in configuration files. + * tries to be compatible with ESLint v8's format + --tsconfig=<./tsconfig.json> Override the TypeScript config used for import resolution. + Oxlint automatically discovers the relevant `tsconfig.json` for each + file. Use this only when your project uses a non-standard tsconfig + name or location. + --init Initialize oxlint configuration with default values + +Allowing / Denying Multiple Lints + Accumulate rules and categories from left to right on the command-line. + For example `-D correctness -A no-debugger` or `-A all -D no-debugger`. + The categories are: + * `correctness` - Code that is outright wrong or useless (default) diff --git a/packages/cli/snap-tests-todo/test-panicked-fix/steps.json b/packages/cli/snap-tests/test-panicked-fix/steps.json similarity index 72% rename from packages/cli/snap-tests-todo/test-panicked-fix/steps.json rename to packages/cli/snap-tests/test-panicked-fix/steps.json index abb7d18dee..388c09694f 100644 --- a/packages/cli/snap-tests-todo/test-panicked-fix/steps.json +++ b/packages/cli/snap-tests/test-panicked-fix/steps.json @@ -1,4 +1,3 @@ { - "ignoredPlatforms": ["win32"], "commands": ["vp lint --help | head -n 20 # print help message and no panicked"] }