From d4757c2c58f8b80318efd99a85fe4e89bd216032 Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Thu, 19 May 2022 06:45:20 +0800 Subject: [PATCH] docs: update configuration setting doc --- README.md | 8 ++++---- package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3d735ed..723102d 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,10 @@ plugin manually - `vitest.nodeEnv`: The env passed to runner process in addition to `process.env` -- `vitest.commandLine`: The command line to start vitest tests. It should be the - same command line users run vitest tests from a terminal/shell, with ability - to append extra arguments (by the extension at runtime). For example - `npx vitest` or `yarn test -- --run` +- `vitest.commandLine`: The command line to start vitest tests. **It should have with the ability + to append extra arguments**. For example + `npx vitest` or `yarn test --`.(This is a workspace setting. Do not change it in + the user setting directly, which will affect all the projects you open) - `vitest.include`: Include glob for test files. Default: `[\"**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}\"]` - `vitest.exclude`: Exclude globs for test files. Default: diff --git a/package.json b/package.json index 09d554d..00f0d0b 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "default": false }, "vitest.commandLine": { - "markdownDescription": "The command line to start vitest tests. It should be the same command line users run vitest tests from a terminal/shell, with ability to append extra arguments (by the extension at runtime). For example `npx vitest` or `yarn test -- --run`", + "markdownDescription": "The command line to start vitest tests. **It should have with the ability to append extra arguments**. For example `npx vitest` or `yarn test --`\n\nThis is a workspace setting. Do not change it in the user setting directly, which will affect all the projects you open", "type": "string", "scope": "resource", "default": "" @@ -118,7 +118,7 @@ "null" ], "default": null, - "scope": "resource" + "scope": "machine" } } } -- 2.54.0