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
This commit is contained in:
Tobias Hunger 2023-10-13 19:23:09 +02:00 committed by Tobias Hunger
parent ef39adce30
commit b12575a4c4
84 changed files with 236 additions and 219 deletions

View file

@ -221,8 +221,8 @@ impl<Sink: Write> Write for CodeFormatter<Sink> {
fn formatter_test() {
fn format_code(code: &str) -> String {
let mut res = Vec::new();
let mut formater = CodeFormatter::new(&mut res);
formater.write_all(code.as_bytes()).unwrap();
let mut formatter = CodeFormatter::new(&mut res);
formatter.write_all(code.as_bytes()).unwrap();
String::from_utf8(res).unwrap()
}