mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-28 20:11:05 -05:00
docs(contrib): Fix list indentation
This commit is contained in:
parent
967d6d751e
commit
2f6b2d065e
1 changed files with 15 additions and 15 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue