question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with using `cspell.js` config files.

See original GitHub issue

Is 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:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Jason3Scommented, Jan 27, 2021

@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 added cspell.config.js. I consider it a better alternative.

1reaction
Jason3Scommented, Jan 25, 2021

Thank you. I’ll see if I can reproduce it. I don’t have a Windows machine, which makes it a bit more challenging.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found