cspell-cli 8.16.1 → 8.17.1

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.
Files changed (2) hide show
  1. package/README.md +18 -10
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -18,9 +18,19 @@ This repository enables using [cspell](https://github.com/streetsidesoftware/csp
18
18
  # .pre-commit-config.yaml
19
19
  repos:
20
20
  - repo: https://github.com/streetsidesoftware/cspell-cli
21
- rev: v8.16.1
21
+ rev: v8.17.1
22
22
  hooks:
23
- - id: cspell
23
+ - id: cspell # Spell check changed files
24
+ - id: cspell # Spell check the commit message
25
+ name: check commit message spelling
26
+ args:
27
+ - --no-must-find-files
28
+ - --no-progress
29
+ - --no-summary
30
+ - --files
31
+ - .git/COMMIT_EDITMSG
32
+ stages: [commit-msg]
33
+ always_run: true # This might not be necessary.
24
34
  ```
25
35
 
26
36
  <!-- x-release-please-end -->
@@ -149,8 +159,8 @@ Options:
149
159
  -u, --unique Only output the first instance of a word not
150
160
  found in the dictionaries.
151
161
  -e, --exclude <glob> Exclude files matching the glob pattern. This
152
- option can be used multiple times to add
153
- multiple globs.
162
+ option can be used multiple times to add multiple
163
+ globs.
154
164
  --file-list <path or stdin> Specify a list of files to be spell checked. The
155
165
  list is filtered against the glob file patterns.
156
166
  Note: the format is 1 file path per line.
@@ -183,8 +193,7 @@ Options:
183
193
  --gitignore Ignore files matching glob patterns found in
184
194
  .gitignore files.
185
195
  --no-gitignore Do NOT use .gitignore files.
186
- --gitignore-root <path> Prevent searching for .gitignore files past
187
- root.
196
+ --gitignore-root <path> Prevent searching for .gitignore files past root.
188
197
  --validate-directives Validate in-document CSpell directives.
189
198
  --color Force color.
190
199
  --no-color Turn off color.
@@ -238,8 +247,8 @@ Trace words -- Search for words in the configuration and dictionaries.
238
247
  Options:
239
248
  -c, --config <cspell.json> Configuration file to use. By default cspell
240
249
  looks for cspell.json in the current directory.
241
- --locale <locale> Set language locales. i.e. "en,fr" for English
242
- and French, or "en-GB" for British English.
250
+ --locale <locale> Set language locales. i.e. "en,fr" for English and
251
+ French, or "en-GB" for British English.
243
252
  --language-id <language> Use programming language. i.e. "php" or "scala".
244
253
  --allow-compound-words Turn on allowCompoundWords
245
254
  --no-allow-compound-words Turn off allowCompoundWords
@@ -270,8 +279,7 @@ Options:
270
279
  ```
271
280
  Usage: cspell check [options] <files...>
272
281
 
273
- Spell check file(s) and display the result. The full file is displayed in
274
- color.
282
+ Spell check file(s) and display the result. The full file is displayed in color.
275
283
 
276
284
  Options:
277
285
  -c, --config <cspell.json> Configuration file to use. By default cspell
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "8.16.1",
7
+ "version": "8.17.1",
8
8
  "description": "CLI for cspell; A Spelling Checker for Code!",
9
9
  "type": "module",
10
10
  "module": "index.js",
@@ -47,10 +47,10 @@
47
47
  "node": ">=18"
48
48
  },
49
49
  "dependencies": {
50
- "cspell": "^8.16.1"
50
+ "cspell": "^8.17.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "inject-markdown": "^3.1.4",
54
- "prettier": "^3.3.3"
54
+ "prettier": "^3.4.2"
55
55
  }
56
56
  }