@cspell/cspell-bundled-dicts 6.8.2 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cspell-default.config.js +14 -4
- package/package.json +6 -6
package/cspell-default.config.js
CHANGED
|
@@ -22,13 +22,23 @@ const settings = {
|
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
name: 'MARKDOWN-link-reference',
|
|
25
|
-
description: 'Markdown reference link: `[This is a link][reference]`',
|
|
25
|
+
description: 'Markdown reference link: `[This is a link][reference]`, matches `[reference]`',
|
|
26
26
|
pattern: /(?<=\])\[[-\w.`'"*&;#@ ]+\]/g,
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
name: 'MARKDOWN-link-footer',
|
|
30
|
-
description: 'Markdown referenced link: `[reference]: https://www.google.com
|
|
31
|
-
pattern: /\[[-\w.`'"*&;#@ ]+\]
|
|
30
|
+
description: 'Markdown referenced link: `[reference]: https://www.google.com`, matches the entire reference.',
|
|
31
|
+
pattern: /\[[-\w.`'"*&;#@ ]+\]:( [^\s]*)?/g,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'MARKDOWN-link',
|
|
35
|
+
description: 'Markdown link: `[link text](link)`, matches `link`',
|
|
36
|
+
pattern: /(?<=\]\()[^)\s]+/g,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'MARKDOWN-anchor',
|
|
40
|
+
description: 'Markdown Anchors: `<a id="my_link"></a>`, matches `my_link`',
|
|
41
|
+
pattern: /(?<=<a\s+id=")[^"\s]+/g,
|
|
32
42
|
},
|
|
33
43
|
],
|
|
34
44
|
languageSettings: [
|
|
@@ -86,7 +96,7 @@ const settings = {
|
|
|
86
96
|
},
|
|
87
97
|
{
|
|
88
98
|
languageId: 'markdown',
|
|
89
|
-
ignoreRegExpList: ['MARKDOWN-link-reference', 'MARKDOWN-link-footer'],
|
|
99
|
+
ignoreRegExpList: ['MARKDOWN-link-reference', 'MARKDOWN-link-footer', 'MARKDOWN-link', 'MARKDOWN-anchor'],
|
|
90
100
|
},
|
|
91
101
|
],
|
|
92
102
|
import: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/cspell-bundled-dicts",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.0",
|
|
4
4
|
"description": "Dictionaries bundled with cspell",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"build-dict": "cspell-tools-cli compile compatibility-words.txt",
|
|
24
24
|
"clean": "echo clean",
|
|
25
25
|
"clean-build": "pnpm run clean && pnpm run build",
|
|
26
|
-
"watch": "pnpm run build --
|
|
27
|
-
"test": "node ../../bin.js \"
|
|
26
|
+
"watch": "pnpm run build --watch",
|
|
27
|
+
"test": "node ../../bin.js \"**/*.{txt,md,ts}\""
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"node": ">=14"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@cspell/cspell-tools": "^6.
|
|
94
|
-
"@cspell/cspell-types": "^6.
|
|
93
|
+
"@cspell/cspell-tools": "^6.9.0",
|
|
94
|
+
"@cspell/cspell-types": "^6.9.0"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d"
|
|
97
97
|
}
|