Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Switch back setting internal id to vale.valeCLI.path #91

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ The extension offers a number of settings and configuration options (_Preference
}
```

- `vale.path` (default: `null`): Absolute path to the Vale binary. Use the predefined [`${workspaceFolder}`](https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables) variable to reference a non-global binary. (**NOTE**: On Windows you can use '/' and can omit `.cmd` in the path value.)
- `vale.valeCLI.path` (default: `null`): Absolute path to the Vale binary. Use the predefined [`${workspaceFolder}`](https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables) variable to reference a non-global binary. (**NOTE**: On Windows you can use '/' and can omit `.cmd` in the path value.)

**Example**

```jsonc
{
// You can use ${workspaceFolder} it will be replaced by workspace folder path
"vale.path": "${workspaceFolder}/node_modules/.bin/vale"
"vale.valeCLI.path": "${workspaceFolder}/node_modules/.bin/vale"

// or use some absolute path
"vale.path": "/some/path/to/vale"
"vale.valeCLI.path": "/some/path/to/vale"
}
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": null,
"description": "Absolute path to a Vale config file. If not specified, the default search process will be used (relative to the current file)."
},
"vale.path": {
"vale.valeCLI.path": {
"scope": "resource",
"type": "string",
"default": null,
Expand Down