mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #3019 from Toxaris/gitattributes
Allow comments in VS Code configuration
This commit is contained in:
commit
03b53a89c9
3 changed files with 23 additions and 7 deletions
2
.vscode/.gitattributes
vendored
Normal file
2
.vscode/.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Configure GitHub to not mark comments in configuration files as errors
|
||||||
|
*.json linguist-language=jsonc
|
26
.vscode/cSpell.json
vendored
26
.vscode/cSpell.json
vendored
|
@ -1,7 +1,12 @@
|
||||||
// `cspell` settings
|
// `cspell` settings
|
||||||
{
|
{
|
||||||
"version": "0.1", // Version of the setting file. Always 0.1
|
// version of the setting file (always 0.1)
|
||||||
"language": "en", // language - current active spelling language
|
"version": "0.1",
|
||||||
|
|
||||||
|
// spelling language
|
||||||
|
"language": "en",
|
||||||
|
|
||||||
|
// custom dictionaries
|
||||||
"dictionaries": ["acronyms+names", "jargon", "people", "shell", "workspace"],
|
"dictionaries": ["acronyms+names", "jargon", "people", "shell", "workspace"],
|
||||||
"dictionaryDefinitions": [
|
"dictionaryDefinitions": [
|
||||||
{ "name": "acronyms+names", "path": "./cspell.dictionaries/acronyms+names.wordlist.txt" },
|
{ "name": "acronyms+names", "path": "./cspell.dictionaries/acronyms+names.wordlist.txt" },
|
||||||
|
@ -10,10 +15,19 @@
|
||||||
{ "name": "shell", "path": "./cspell.dictionaries/shell.wordlist.txt" },
|
{ "name": "shell", "path": "./cspell.dictionaries/shell.wordlist.txt" },
|
||||||
{ "name": "workspace", "path": "./cspell.dictionaries/workspace.wordlist.txt" }
|
{ "name": "workspace", "path": "./cspell.dictionaries/workspace.wordlist.txt" }
|
||||||
],
|
],
|
||||||
// ignorePaths - a list of globs to specify which files are to be ignored
|
|
||||||
"ignorePaths": ["Cargo.lock", "target/**", "tests/**/fixtures/**", "src/uu/dd/test-resources/**", "vendor/**"],
|
// files to ignore (globs supported)
|
||||||
// ignoreWords - a list of words to be ignored (even if they are in the flagWords)
|
"ignorePaths": [
|
||||||
|
"Cargo.lock",
|
||||||
|
"target/**",
|
||||||
|
"tests/**/fixtures/**",
|
||||||
|
"src/uu/dd/test-resources/**",
|
||||||
|
"vendor/**"
|
||||||
|
],
|
||||||
|
|
||||||
|
// words to ignore (even if they are in the flagWords)
|
||||||
"ignoreWords": [],
|
"ignoreWords": [],
|
||||||
// words - list of words to be always considered correct
|
|
||||||
|
// words to always consider correct
|
||||||
"words": []
|
"words": []
|
||||||
}
|
}
|
||||||
|
|
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
|
@ -2,7 +2,7 @@
|
||||||
// see <http://go.microsoft.com/fwlink/?LinkId=827846> for the documentation about the extensions.json format
|
// see <http://go.microsoft.com/fwlink/?LinkId=827846> for the documentation about the extensions.json format
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
// Rust language support.
|
// Rust language support
|
||||||
"matklad.rust-analyzer",
|
"matklad.rust-analyzer",
|
||||||
// `cspell` spell-checker support
|
// `cspell` spell-checker support
|
||||||
"streetsidesoftware.code-spell-checker"
|
"streetsidesoftware.code-spell-checker"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue