cspell 7.2.0 → 7.3.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/README.md CHANGED
@@ -153,7 +153,8 @@ Options:
153
153
  --quiet Only show spelling issues or errors.
154
154
  --fail-fast Exit after first file with an issue or error.
155
155
  -r, --root <root folder> Root directory, defaults to current directory.
156
- --relative Issues are displayed relative to root.
156
+ --no-relative Issues are displayed with absolute path instead
157
+ of relative to the root.
157
158
  --show-context Show the surrounding text around an issue.
158
159
  --show-suggestions Show spelling suggestions.
159
160
  --no-show-suggestions Do not show spelling suggestions or fixes.
@@ -74,7 +74,8 @@ export function commandLint(prog) {
74
74
  .option('--fail-fast', 'Exit after first file with an issue or error.')
75
75
  .addOption(new CommanderOption('--no-fail-fast', 'Process all files even if there is an error.').hideHelp())
76
76
  .option('-r, --root <root folder>', 'Root directory, defaults to current directory.')
77
- .option('--relative', 'Issues are displayed relative to root.')
77
+ .addOption(new CommanderOption('--relative', 'Issues are displayed relative to the root.').default(true).hideHelp())
78
+ .option('--no-relative', 'Issues are displayed with absolute path instead of relative to the root.')
78
79
  .option('--show-context', 'Show the surrounding text around an issue.')
79
80
  .option('--show-suggestions', 'Show spelling suggestions.')
80
81
  .addOption(new CommanderOption('--no-show-suggestions', 'Do not show spelling suggestions or fixes.').default(undefined))
@@ -74,7 +74,8 @@ export function commandLint(prog) {
74
74
  .option('--fail-fast', 'Exit after first file with an issue or error.')
75
75
  .addOption(new CommanderOption('--no-fail-fast', 'Process all files even if there is an error.').hideHelp())
76
76
  .option('-r, --root <root folder>', 'Root directory, defaults to current directory.')
77
- .option('--relative', 'Issues are displayed relative to root.')
77
+ .addOption(new CommanderOption('--relative', 'Issues are displayed relative to the root.').default(true).hideHelp())
78
+ .option('--no-relative', 'Issues are displayed with absolute path instead of relative to the root.')
78
79
  .option('--show-context', 'Show the surrounding text around an issue.')
79
80
  .option('--show-suggestions', 'Show spelling suggestions.')
80
81
  .addOption(new CommanderOption('--no-show-suggestions', 'Do not show spelling suggestions or fixes.').default(undefined))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cspell",
3
- "version": "7.2.0",
3
+ "version": "7.3.0",
4
4
  "description": "A Spelling Checker for Code!",
5
5
  "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1",
6
6
  "bin": {
@@ -80,17 +80,17 @@
80
80
  },
81
81
  "homepage": "https://streetsidesoftware.github.io/cspell/",
82
82
  "dependencies": {
83
- "@cspell/cspell-json-reporter": "7.2.0",
84
- "@cspell/cspell-pipe": "7.2.0",
85
- "@cspell/cspell-types": "7.2.0",
86
- "@cspell/dynamic-import": "7.2.0",
83
+ "@cspell/cspell-json-reporter": "7.3.0",
84
+ "@cspell/cspell-pipe": "7.3.0",
85
+ "@cspell/cspell-types": "7.3.0",
86
+ "@cspell/dynamic-import": "7.3.0",
87
87
  "chalk": "^5.3.0",
88
88
  "chalk-template": "^1.1.0",
89
89
  "commander": "^11.0.0",
90
- "cspell-gitignore": "7.2.0",
91
- "cspell-glob": "7.2.0",
92
- "cspell-io": "7.2.0",
93
- "cspell-lib": "7.2.0",
90
+ "cspell-gitignore": "7.3.0",
91
+ "cspell-glob": "7.3.0",
92
+ "cspell-io": "7.3.0",
93
+ "cspell-lib": "7.3.0",
94
94
  "fast-glob": "^3.3.1",
95
95
  "fast-json-stable-stringify": "^2.1.0",
96
96
  "file-entry-cache": "^6.0.1",
@@ -110,5 +110,5 @@
110
110
  "micromatch": "^4.0.5",
111
111
  "minimatch": "^9.0.3"
112
112
  },
113
- "gitHead": "b08f7ddc3a4aa22cc80c69ca6638b2a943659a31"
113
+ "gitHead": "4a16b099b64c5b55645529a4ae79bc32aaf0fc8e"
114
114
  }