Issues with using `cspell.js` config files.
See original GitHub issueIs this correct?
cspell.js
:
"use strict";
module.exports = {
version: "0.1",
language: "en-GB",
dictionaries: ["typescript"],
ignorePaths: ["dist", "package-lock.json"],
ignoreWords: ["..."]
};
It doesn’t seem to work. When I run npx cspell --version
, for example, there is no output while that file exists.
_Originally posted by @glen-84 in https://github.com/streetsidesoftware/cspell/issues/875#issuecomment-766354931_
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Getting Started with CSpell
1. Create a configuration file. CSpell can use JSON, Yaml, and JavaScript files for configuration. It automatically searches for one of the following: ......
Read more >cspell - npm
This is to help with file specific issues that may not be applicable to the entire project. All settings are prefixed with cSpell:...
Read more >Configuration Settings | Spell Checker - Street Side Software
A Spell Checker for Code! ... If a cspell configuration file is updated, format the configuration file using ... Warning, Report Spelling Issues...
Read more >Add .cspell.json to automate spellchecking in Drupal core
Proposed resolution Use cspell The config file locates at. ... Issues like #2829185: Fix spelling errors in Drupal core comments are great, ...
Read more >VSCode Code Spell Checker extension - Include TXT files
But the issue is, that I want to detect it on TXT files that are being ignored for search by the VSCode. Here...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@glen-84, Thank you for pointing me to their discussion. Considering the issues you faced with
cspell.js
as a config file. I have removed it from the set of possible config files. I have also addedcspell.config.js
. I consider it a better alternative.Thank you. I’ll see if I can reproduce it. I don’t have a Windows machine, which makes it a bit more challenging.