Skip to content

Commit ca078c6

Browse files
authored
feat: Drop support for CSpell 4. (streetsidesoftware#907)
BREAKING CHANGE: Drop Support for CSpell 4. * feat: Drop support for CSpell 4. * Mark the config files as READONLY
1 parent efc7964 commit ca078c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+190
-132
lines changed

dictionaries/ada/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/v5.3.1/cspell.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/v5.18.4/cspell.schema.json",
33
"version": "0.2",
44
"id": "ada",
55
"name": "Ada Language",
66
"description": "Ada Language Dictionary",
7+
"readonly": true,
78
"dictionaryDefinitions": [
89
{
910
"name": "ada",
10-
"file": "./ada.txt.gz",
11+
"path": "./ada.txt.gz",
1112
"description": "Ada Language Dictionary"
1213
}
1314
],
1415
"languageSettings": [
1516
{
1617
"languageId": "ada",
17-
"local": "*",
18+
"locale": "*",
1819
"dictionaries": ["ada"],
1920
"patterns": [
2021
{

dictionaries/aws/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "aws",
44
"name": "AWS",
55
"description": "AWS dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "aws",
10-
"file": "./aws.txt.gz",
11+
"path": "./aws.txt.gz",
1112
"description": "AWS dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "*",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "*",
27+
"locale": "*",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["aws"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/bash/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "bash",
44
"name": "bash",
55
"description": "Bash dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "bash",
10-
"file": "./bash-words.txt.gz",
11+
"path": "./bash-words.txt.gz",
1112
"description": "Bash dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "shellscript",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "*",
27+
"locale": "*",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["bash"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/bg_BG/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "bg-bg",
44
"name": "Bulgarian",
55
"description": "Bulgarian dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "bg-bg",
10-
"file": "./bg_BG.trie.gz",
11+
"path": "./bg_BG.trie.gz",
1112
"description": "Bulgarian dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "*",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "bg,bg-BG",
27+
"locale": "bg,bg-BG",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["bg-bg"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/ca/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "ca",
44
"name": "Catalan",
55
"description": "Catalan dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "ca",
10-
"file": "./ca.trie.gz",
11+
"path": "./ca.trie.gz",
1112
"description": "Catalan dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "*",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "ca",
27+
"locale": "ca",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["ca"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/city-names-finland/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "city-names-finland",
44
"name": "Cities of Finland",
55
"description": "List of cities in Finland.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "city-names-finland",
10-
"file": "./city-names-finland.txt.gz",
11+
"path": "./city-names-finland.txt.gz",
1112
"description": "List of cities in Finland."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "*",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "*",
27+
"locale": "*",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["city-names-finland"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/cpp/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "cpp-dict",
44
"name": "C/C++ Dictionary",
55
"description": "C/C++ Keywords and common library functions.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "cpp",
10-
"file": "./cpp.txt.gz",
11+
"path": "./cpp.txt.gz",
1112
"description": "C/C++ Keywords and common library functions."
1213
}
1314
],
@@ -24,7 +25,7 @@
2425
"allowCompoundWords": true,
2526
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2627
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
27-
"local": "*",
28+
"locale": "*",
2829
// This can be removed once cspell-tools are upgraded to @cspell/cspell-tools.
2930
"words": [
3031
"aaaabbbb",
@@ -53,7 +54,7 @@
5354
],
5455
// List of dictionaries to enable by name in `dictionaryDefinitions`
5556
"dictionaries": ["cpp"],
56-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
57+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
5758
"dictionaryDefinitions": []
5859
}
5960
]

dictionaries/cryptocurrencies/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "cryptocurrencies",
44
"name": "Cryptocurrencies",
55
"description": "Cryptocurrencies dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "cryptocurrencies",
10-
"file": "./cryptocurrencies.txt.gz",
11+
"path": "./cryptocurrencies.txt.gz",
1112
"description": "Cryptocurrencies dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "*",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "*",
27+
"locale": "*",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["cryptocurrencies"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/cs_CZ/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "cs-cz",
44
"name": "Czech",
55
"description": "Czech dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "cs-cz",
10-
"file": "./Czech.trie.gz",
11+
"path": "./Czech.trie.gz",
1112
"description": "Czech dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "*",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "cs",
27+
"locale": "cs",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["cs-cz"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

dictionaries/css/cspell-ext.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"id": "css",
44
"name": "css",
55
"description": "Css dictionary for cspell.",
6+
"readonly": true,
67
// List of dictionary files to add to the global list of dictionaries
78
"dictionaryDefinitions": [
89
{
910
"name": "css",
10-
"file": "./css.txt.gz",
11+
"path": "./css.txt.gz",
1112
"description": "Css dictionary for cspell."
1213
}
1314
],
@@ -23,7 +24,7 @@
2324
"languageId": "css",
2425
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
2526
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
26-
"local": "*",
27+
"locale": "*",
2728
// By default the whole text of a file is included for spell checking
2829
// Adding patterns to the "includeRegExpList" to only include matching patterns
2930
"includeRegExpList": [],
@@ -35,7 +36,7 @@
3536
"patterns": [],
3637
// List of dictionaries to enable by name in `dictionaryDefinitions`
3738
"dictionaries": ["css"],
38-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
39+
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
3940
"dictionaryDefinitions": []
4041
}
4142
]

0 commit comments

Comments
 (0)