Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom dictionaries? #19

Open
donniean opened this issue Apr 24, 2023 · 2 comments
Open

Support custom dictionaries? #19

donniean opened this issue Apr 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@donniean
Copy link

donniean commented Apr 24, 2023

Could custom dictionaries be supported?

https://cspell.org/docs/dictionaries-custom/

My cspell config is like this:

cspell.config.cjs

module.exports = {
  version: '0.2',
  language: 'en',
  dictionaries: [
    'user-apps',
    'user-brands',
    'user-custom',
    'user-files',
    'user-npm',
  ],
  dictionaryDefinitions: [
    {
      name: 'user-apps',
      path: './dictionaries/apps.dic',
      addWords: true,
    },
    {
      name: 'user-brands',
      path: './dictionaries/brands.dic',
      addWords: true,
    },
    {
      name: 'user-custom',
      path: './dictionaries/custom.dic',
      addWords: true,
    },
    {
      name: 'user-files',
      path: './dictionaries/files.dic',
      addWords: true,
    },
    {
      name: 'user-npm',
      path: './dictionaries/npm.dic',
      addWords: true,
    },
  ],
};

npm.dic

commitlint
corepack
cssnano
depcheck
htmlhint
immer
markdownlint
sonarjs
stylelint
svgr

@BlackHole1 BlackHole1 added the enhancement New feature or request label Apr 24, 2023
@BlackHole1
Copy link
Owner

BlackHole1 commented Apr 24, 2023

This is feasible in terms of technical implementation, but due to my recent busy schedule, I may not be able to support it immediately (the time frame that I can guarantee is within two month). It would be great if you could submit a PR for this!

@Cry0nicS
Copy link

@donniean great suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants