ci: Custom dictionary in cspell to manage more words easily (#2122)

This commit is contained in:
Aakash Pamnani
2022-10-25 20:04:54 +05:30
committed by GitHub
parent d1cd8517e4
commit 27a6eed74b
2 changed files with 46 additions and 40 deletions

38
.github/.cspell/flame_dictionary.txt vendored Normal file
View File

@ -0,0 +1,38 @@
ASDW
backtick
backticks
blockquote
broadphase
conformant
dartdoc
dartdocs
dashbook
discoverability
fireslime
flippable
hitbox
linkcheck
LTRBR
LTWH
markdownlint
platformer
positionable
prerendered
pressable
proxying
pubspec
raycast
raytracing
refactor
refactoring
refactorings
renderable
socio
Strikethrough
stylesheet
sublists
typedef
typedefs
toctree
toctrees
vsync

48
.github/cspell.json vendored
View File

@ -2,48 +2,9 @@
"version": "0.2",
"language": "en",
"flagWords": [],
"words": [
"ASDW",
"backtick",
"backticks",
"blockquote",
"broadphase",
"conformant",
"dartdoc",
"dartdocs",
"dashbook",
"discoverability",
"fireslime",
"flippable",
"hitbox",
"linkcheck",
"LTRBR",
"LTWH",
"markdownlint",
"platformer",
"positionable",
"prerendered",
"pressable",
"proxying",
"raycast",
"raytracing",
"refactor",
"refactoring",
"refactorings",
"renderable",
"socio",
"Strikethrough",
"stylesheet",
"sublists",
"typedef",
"typedefs",
"toctree",
"toctrees",
"vsync"
],
"ignorePaths": ["**/media/**", "**/assets/**", "**/test/**"],
"ignoreRegExpList": ["@\\w+", "\\$\\w+", "\\{\\w+", "\\`\\w+", "\\:\\w+", "\\/\\w+", "\\#\\w+"],
"dictionaries": ["en_US", "softwareTerms"],
"dictionaries": ["en_US", "softwareTerms","flame_dictionary"],
"languageSettings": [
{
"languageId": "markdown",
@ -51,5 +12,12 @@
"/^\\s*```[\\s\\S]*?^\\s*```/gm"
]
}
],
"dictionaryDefinitions": [
{
"name": "flame_dictionary",
"path": "./.cspell/flame_dictionary.txt",
"addWords": true
}
]
}