Last active
January 2, 2023 12:34
-
-
Save bsmth/dbac540fafb85b61a50ae381e9dd29c0 to your computer and use it in GitHub Desktop.
Testing .vscode/cspell.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | |
"version": "0.2", | |
"language": "en", | |
"languageId": "*", | |
"dictionaries": [ | |
"bash", | |
"css", | |
"cpp", | |
"django", | |
"filetypes", | |
"fonts", | |
"fullstack", | |
"html", | |
"latex", | |
"lorem-ipsum", | |
"markdown", | |
"node", | |
"npm", | |
"python", | |
"softwareTerms", | |
"svelte", | |
"typescript" | |
], | |
"ignorePaths": [".vscode/cspell.json"], | |
"words": [ | |
"Bézier", | |
"Brotli", | |
"browserslistrc", | |
"caniuse", | |
"Codecademy", | |
"Coursera", | |
"devs", | |
"Disqus", | |
"duckduckgo", | |
"expressjs", | |
"Filezilla", | |
"FLAC", | |
"gzipped", | |
"htmlattrxref", | |
"ICANN", | |
"jsfiddle", | |
"jsxref", | |
"mathml", | |
"Modernizr", | |
"mozillians", | |
"nolint", | |
"npmjs", | |
"psycopg", | |
"Quora", | |
"Snyk", | |
"sveltejs", | |
"threejs", | |
"tinypng", | |
"Todos", | |
"Unopinionated", | |
"Vorbis", | |
"WCAG", | |
"webm", | |
"webp", | |
"WEBVTT", | |
"WHATWG", | |
"whois" | |
], | |
"allowCompoundWords": true, | |
"overrides": [ | |
{ | |
"filename": "./files/en-us/learn/html/**/*.md", | |
"words": ["Howto"] | |
}, | |
{ | |
"filename": "files/en-us/learn/css/**/*.md", | |
"words": ["Howto"] | |
}, | |
{ | |
"filename": "files/en-us/learn/server-side/django/deployment/**/*.md", | |
"words": ["Gunicorn"] | |
}, | |
{ | |
"filename": "files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/**/*.md", | |
"words": ["Componentizing", "componentization", "componentize"] | |
}, | |
{ | |
"filename": "files/en-us/learn/server-side/express_nodejs/**/*.md", | |
"words": ["Luxon"] | |
}, | |
{ | |
"filename": "files/en-us/learn/javascript/**/*.md", | |
"words": ["OOJS"] | |
} | |
] | |
} |
We could use a separate file with all the allowed words to keep the config file size small:
"dictionaryDefinitions": [
{
"name": "project-words",
"path": "./project-words.txt",
"addWords": true
}
],
"dictionaries": [
"bash",
"css",
...
"project-words"],
"ignorePaths": ["node_modules/**"],
"addWords": true
Good idea 👍 -> https://cspell.org/docs/dictionaries-custom/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Testing on content using: