docs(contrib): Fix list indentation

This commit is contained in:
Martin Fischer 2023-08-11 13:25:56 +02:00
parent 967d6d751e
commit 2f6b2d065e

View file

@ -39,27 +39,27 @@ Otherwise, to add to the dictionary:
1. Add your typo to our data file `crates/typos-dict/assets/words.csv` 1. Add your typo to our data file `crates/typos-dict/assets/words.csv`
Format: `typo,correction[,correction...]` Format: `typo,correction[,correction...]`
2. Code-gen the dictionary 2. Code-gen the dictionary
With `cargo` and `rustfmt` installed, run With `cargo` and `rustfmt` installed, run
```console ```console
$ SNAPSHOTS=overwrite cargo test --workspace $ SNAPSHOTS=overwrite cargo test --workspace
``` ```
(we do development-time code-gen to speed up builds) (we do development-time code-gen to speed up builds)
Auto-cleans up your change according to some rules we have like: Auto-cleans up your change according to some rules we have like:
- Don't prefer specific dialects in the dictionary, leaving those to [`varcon`](http://wordlist.aspell.net/varcon-readme/). - Don't prefer specific dialects in the dictionary, leaving those to [`varcon`](http://wordlist.aspell.net/varcon-readme/).
- Mixing up corrections and typos - Mixing up corrections and typos
- etc - etc
3. Verify your change 3. Verify your change
Run Run
```console ```console
$ cargo test --workspace $ cargo test --workspace
``` ```
### Process ### Process