fix: Accidentally ran typos on typos

This commit is contained in:
Ed Page 2023-08-14 15:55:39 -05:00
parent 8f65f4802b
commit 0becfbf6cf
3 changed files with 32 additions and 32 deletions

View file

@ -20,8 +20,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixes ### Fixes
- Set bad exit code on disallowed words - Set bad exit code on disallowed words
- Allow `And` in man pages - Allow `Nd` in man pages
- Allow `and` in CSS - Allow `nd` in CSS
- Allow `ot` and `stap` in sh - Allow `ot` and `stap` in sh
## [1.16.2] - 2023-08-01 ## [1.16.2] - 2023-08-01
@ -221,13 +221,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixes ### Fixes
- Correct `existend` to `existent` in addition to `existed` - Correct `existend` to `existent` in addition to `existed`
- Correct `erroneous` to `erroneous` - Correct `erronerous` to `erroneous`
## [1.13.21] - 2023-03-13 ## [1.13.21] - 2023-03-13
### Fixes ### Fixes
- Correct `ephemeral` to `ephemeral` - Correct `empheral` to `ephemeral`
- Ignore `go.mod` by default - Ignore `go.mod` by default
- Ensure pre-commit isn't slow to install - Ensure pre-commit isn't slow to install
@ -273,7 +273,7 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Correct `grouped` to `grouped` - Correct `grouepd` to `grouped`
## [1.13.12] - 2023-02-23 ## [1.13.12] - 2023-02-23
@ -291,21 +291,21 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Correct `detectable` & `seasonal` & `wayfarer` - Correct `detctable` & `seaonal` & `wayferer`
## [1.13.9] - 2023-01-25 ## [1.13.9] - 2023-01-25
### Fixes ### Fixes
- Correct `regular` -> `regular` - Correct `regylar` -> `regular`
- Do not correct substituents - Do not correct substitutents
- Do not correct substituters - Do not correct substituters
## [1.13.8] - 2023-01-16 ## [1.13.8] - 2023-01-16
### Fixes ### Fixes
- Correct serialize -> serialize - Correct serialzie -> serialize
## [1.13.7] - 2023-01-14 ## [1.13.7] - 2023-01-14
@ -359,13 +359,13 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Correct decrypted -> decrypted - Correct decreypted -> decrypted
## [1.12.11] - 2022-10-20 ## [1.12.11] - 2022-10-20
### Fixes ### Fixes
- Correct `wrapping` - Correct `wrappning`
## [1.12.10] - 2022-10-11 ## [1.12.10] - 2022-10-11
@ -377,7 +377,7 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Correct `what` to `what` - Correct `whaat` to `what`
## [1.12.8] - 2022-09-28 ## [1.12.8] - 2022-09-28
@ -395,19 +395,19 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Correct `parameter` to `parameter` - Correct `pararmeter` to `parameter`
## [1.12.5] - 2022-09-15 ## [1.12.5] - 2022-09-15
### Fixes ### Fixes
- Correct `state` to `state` - Correct `stte` to `state`
## [1.12.4] - 2022-09-08 ## [1.12.4] - 2022-09-08
### Fixes ### Fixes
- Don't correct `ANDArray` in Python - Don't correct `NDArray` in Python
## [1.12.3] - 2022-09-06 ## [1.12.3] - 2022-09-06
@ -457,8 +457,8 @@ Publish to PyPI (first attempt)
- Correct "inappropriate[ly]" - Correct "inappropriate[ly]"
- Ignore `thead` tag only in HTML - Ignore `thead` tag only in HTML
- Ignore `window` in vim - Ignore `windo` in vim
- Narrow scope of ignoring `flat` to the `flat2` identifier - Narrow scope of ignoring `flate` to the `flate2` identifier
## [1.11.1] - 2022-08-16 ## [1.11.1] - 2022-08-16
@ -466,7 +466,7 @@ Publish to PyPI (first attempt)
- Don't correct `thead` tag - Don't correct `thead` tag
- Correct `deffer` to either `differ` or `defer` - Correct `deffer` to either `differ` or `defer`
- Correct `opaque` to `opaque` - Correct `opauqe` to `opaque`
## [1.11.0] - 2022-08-13 ## [1.11.0] - 2022-08-13
@ -478,7 +478,7 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Correct `anonymised`, `anonymized` - Correct `anonimised`, `anonimized`
## [1.10.2] - 2022-06-22 ## [1.10.2] - 2022-06-22
@ -525,7 +525,7 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Fix alignment in reports for numbers, broken in 1.7.2 - Fix alignment in reports for numbers, broken in 1.7.2
- Correct `identity` - Correct `identitiy`
## [1.7.2] - 2022-04-28 ## [1.7.2] - 2022-04-28
@ -539,8 +539,8 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Ignore uppercase UUID because Microsoft - Ignore uppercase UUID because Microsoft
- Correct `unencrypted` - Correct `unencyrpted`
- Correct `signing` - Correct `signign`
## [1.7.0] - 2022-04-18 ## [1.7.0] - 2022-04-18
@ -616,8 +616,8 @@ Publish to PyPI (first attempt)
#### Fixes #### Fixes
- Correct "requirement" to "requirement", not "requirements" - Correct "requierment" to "requirement", not "requirements"
- Correct "discrepancy" to "discrepancy" - Correct "descrepancy" to "discrepancy"
## [1.3.1] - 2021-11-16 ## [1.3.1] - 2021-11-16
@ -663,7 +663,7 @@ Note: MSRV is now 1.54
#### Bug Fixes #### Bug Fixes
- Add `instantiated` typo - Add `instantialed` typo
## [1.1.5] - 2021-08-04 ## [1.1.5] - 2021-08-04
@ -792,7 +792,7 @@ Note: MSRV is now 1.54
- Check for word variations when also correcting a word - Check for word variations when also correcting a word
- Correct `ther` as not just `there` but also `the` and `their` (based on misspelling in Linux) - Correct `ther` as not just `there` but also `the` and `their` (based on misspelling in Linux)
- Don't correct `hardlinked` - Don't correct `hardlinked`
- `reference` should correct to `reference` and not `references` - `refernce` should correct to `reference` and not `references`
#### Performance #### Performance

View file

@ -77,16 +77,16 @@ To mark a word or an identifier (grouping of words) as valid, add it your [`_typ
[default] [default]
extend-ignore-identifiers-re = [ extend-ignore-identifiers-re = [
# *sigh* this just isn't worth the cost of fixing # *sigh* this just isn't worth the cost of fixing
"AttributeID.*Suppress.*", "AttributeID.*Supress.*",
] ]
[default.extend-identifiers] [default.extend-identifiers]
# *sigh* this just isn't worth the cost of fixing # *sigh* this just isn't worth the cost of fixing
AttributeIDSuppressMenu = "AttributeIDSuppressMenu" AttributeIDSupressMenu = "AttributeIDSupressMenu"
[default.extend-words] [default.extend-words]
# Don't correct the surname "The" # Don't correct the surname "Teh"
the = "the" teh = "teh"
``` ```
For cases like localized content, you can disable spell checking of file contents while still checking the file name: For cases like localized content, you can disable spell checking of file contents while still checking the file name:

View file

@ -290,7 +290,7 @@ mod test {
fn test_dict_correct() { fn test_dict_correct() {
let dict = BuiltIn::new(crate::config::Locale::default()); let dict = BuiltIn::new(crate::config::Locale::default());
let correction = dict.correct_word(typos::tokens::Word::new_unchecked( let correction = dict.correct_word(typos::tokens::Word::new_unchecked(
"finalizes", "finallizes",
typos::tokens::Case::Lower, typos::tokens::Case::Lower,
0, 0,
)); ));
@ -344,7 +344,7 @@ mod test {
fn test_dict_to_varcon() { fn test_dict_to_varcon() {
let dict = BuiltIn::new(crate::config::Locale::EnGb); let dict = BuiltIn::new(crate::config::Locale::EnGb);
let correction = dict.correct_word(typos::tokens::Word::new_unchecked( let correction = dict.correct_word(typos::tokens::Word::new_unchecked(
"finalizes", "finallizes",
typos::tokens::Case::Lower, typos::tokens::Case::Lower,
0, 0,
)); ));