slint/cspell.json
Tobias Hunger b12575a4c4 janitor: Go over our spell checking setup
* Extend the cspell word list
* Remove those extensions from individual source files
* white-list licenses and such as we should not meddle with those
* Fix spelling
2023-10-16 09:01:51 +02:00

158 lines
3.8 KiB
JSON

{
"version": "0.2",
"language": "en",
"languageSettings": [
{
"languageId": "rust",
"words": [
"ARGB",
"bbox",
"bindgen",
"builtins",
"canonicalize", // std::path::Path::canonicalize
"codemap",
"concat",
"Consts",
"evenodd",
"FBOs", // plural of FBO (frame buffer object)
"femtovg",
"fontdb",
"fullscreen",
"glutin",
"glutin's",
"maxx",
"maxy",
"minx",
"miny",
"peekable",
"Realloc",
"refcell",
"Rgba",
"rtti",
"subspan",
"uninit",
"unmap",
"unsync",
"vsync"
],
"ignoreRegExpList": [
"/#\\[cfg\\b.+\\]/",
"/#\\[repr\\b.+\\]/",
// Exclude crate paths
"/(\\b|::)[a-z0-9_]+::/",
"/::[a-z0-9_]+(\\b|::)/",
// Qt things:
"/\\bQt_[a-zA-Z0-9_]+/"
]
},
{
"languageId": "restructuredtext",
"words": ["genindex", "modindex", "toctree"],
"ignoreRegExpList": ["/:.+:/"]
},
{
"languageId": "markdown",
"words": ["rustup", "SUBDIR", "Yocto"],
"ignoreRegExpList": [
// Ignore simple code blocks
"`[^`]+`"
]
}
],
"words": [
"aarch",
"accesskit",
"antialiasing",
"armv",
"Bezier",
"cbindgen",
"cmake",
"colspan",
"combobox",
"datastructures",
"dealloc",
"flickable",
"focusable", // common term in UI (css, dom, toolkits)
"fullscreen",
"gles",
"Goffart",
"gradians",
"grayscale",
"groupbox",
"Hausmann",
"Helvetica",
"inout",
"layouting", // This would be worth renaming in the ItemVTable to layout_info
"linebreak",
"lineedit",
"listview",
"lvalue",
"microcontroller",
"microcontrollers",
"MSVC",
"napi",
"ogoffart",
"opengl",
"opengles",
"pixmap",
"riscv",
"rowspan",
"rustc",
"rvalue",
"scrollview",
"SDK",
"sixtyfps",
"skia",
"slint",
"slintpad",
"spdx",
"spinbox",
"streetsidesoftware",
"struct",
"structs",
"tableview",
"tabwidget",
"testcase",
"textedit",
"tmpobj",
"toolchain",
"toolkit",
"touchpad",
"tronical",
"typeloader",
"uefi",
"uncompiled",
"unerase",
"unmapping", // present participle of unmap
"untracked",
"viewbox",
"vtable",
"vulkan",
"wasm",
"webassembly",
"windowrc", // use in slint_windowrc_foo FFI functions
"winit",
"xtask",
"xtensa"
],
"ignorePaths": [
"api/cpp/docs/conf.py",
"Cargo.toml",
"CHANGELOG.md",
"cspell.json",
"LICENSES",
"examples/*/lang/**",
"internal/backends/qt/QtThirdPartySoftware_Listing.txt",
".github/workflows/*.yaml"
],
"ignoreRegExpList": [
// Color encodings in all languages:
"/(\\b|0x|#|_)?[argbARGB][argbARGB][argbARGB]+(\\b|_|Color)/"
],
"overrides": [
{
"filename": "**/*.rst",
"languageId": "restructuredtext"
}
]
}