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.

dict-en-gb has become GPL preventing cspell updates

See original GitHub issue

Info

Kind of Issue

  • runtime - command-line tools
  • building / compiling
  • security
  • change in behavior
  • crash / error

Which Tool or library

  • cspell – the command-line spelling tool
  • cspell-tools – used for building dictionary files
  • cspell-lib – library that does the actual spell checking.
  • cspell-trie – tool for working with trie files.

Which Version

Version: @cspell/dict-en-gb 2.0.1, cspell 5.9.1

Issue with supporting library?

  • No
  • cspell-glob – library for matching glob patterns
  • cspell-io – thin file i/o library
  • cspell-trie-lib - trie lib
  • cspell-trie2-lib - trie lib alternate format

OS:

  • Macos
  • Linux
  • Windows
  • Other

version:

N/A

Bug Description

Describe the bug

@cspell/dict-en-gb has become GPL and is not a modular part of cspell. Therefore if an organization cannot use GPL libraries, this effectively makes all of cspell impossible to use as one dictionary has a less permissive license.

I understand that the cspell-dicts is a separate repo, but the change there directly affects the legality of using cspell as a whole since it is not modular.

To Reproduce

  1. Organization prohibits GPL licenses
  2. Cannot install cspell as it is missing a required dependency @cspell/dict-en-gb

Expected behavior

I see a few possibilities to fix this:

  • Find another dictionary for en_GB which is MIT licensed so all of cspell can stay MIT
  • Make cspell dictionaries optional peer dependencies so an end user can choose to install only the dictionaries that they want/need. This will make it more cumbersome to use but will give a way to avoid certain dictionaries that have less permissive licenses.

Screenshots

N/A

Additional context

This was introduced via this commit in an effort to change the underlying dictionary dependency

cspell.json

N/A

Example Repository (Optional)

N/A

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Jason3Scommented, Sep 17, 2021

Would you please try cspell@5.10.0-alpha.6

0reactions
github-actions[bot]commented, Nov 2, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSpell | A Spell Checker for Code!
Welcome to CSpell. A Spell Checker for Code! cspell is a command line tool and library for spell checking code. Support Future Development....
Read more >
streetsidesoftware/cspell: A Spell Checker for Code! - GitHub
Example install: npm install -g git+https://github.com/streetsidesoftware/cspell-cli . This will add the cspell-cli command, which is an alias of the cspell ...
Read more >
VS Code: enable inline spell checker, but disable spell check ...
I've just unchecked C Spell: Enabled in Settings and all the Spelling related warnings has been disappeared ...
Read more >
Configuration Settings | Spell Checker - Street Side Software
cSpell.​​ Block spell checking if lines are longer than the value given. This is used to prevent spell checking generated files. Error Message:...
Read more >
cspell - npm
disable -- turn off the spell checker for a section of code. enable -- turn the spell checker back on after it has...
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