Commit graph

98 commits

Author SHA1 Message Date
Ed Page
4ddbdcf5dd fix(cli): Define an error code policy
The main goal is to make spelling errors differentiated from other
errors.

Fixes #170
2020-11-14 21:17:29 -06:00
Ed Page
d258e62f43 feat(report): Diff output mode 2020-11-11 18:52:23 -06:00
Ed Page
150c5bfdc1 perf: Hash faster for custom dicts
If we have to hash for the custom dict, we might as well be fast about
it.  We do not need a cryptographically secure algorithm since the
content is fixed for the user.

Master:
```
real    0m26.675s
user    0m33.683s
sys     0m4.535s
```

With ahash:
```
real    0m23.993s
user    0m30.800s
sys     0m4.440s
```
2020-11-10 20:56:49 -06:00
Ed Page
e4edbc5f7e chore: Update dependencies 2020-11-10 19:47:13 -06:00
Ed Page
ab4a5bbdaf feat: Support english dialects
The goal is to be as accepting and unobtrusive to new code bases as
possible.  To this end, we correct typos into the closest english
dialect.

If someone wants to opt-in, they can have typos correct to a specific
english dialect.

Fixes #52
Fixes #22
2020-08-20 19:37:37 -05:00
Ed Page
f4400c2280 refactor(varcon): Pull out core types 2020-07-04 20:52:47 -05:00
Ed Page
7f983992bd feat(dict): varcon dict 2020-07-04 20:52:47 -05:00
Ed Page
814ff82aff refactor: Follow monorepo pattern elsewhere 2020-07-04 20:52:47 -05:00
Ed Page
d1be9c1944 feat: Replacement support
Now can fix typos!

Fixes #4
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
c187243300 chore(deps): bump assert_fs from 0.13.1 to 1.0.0
Bumps [assert_fs](https://github.com/assert-rs/assert_fs) from 0.13.1 to 1.0.0.
- [Release notes](https://github.com/assert-rs/assert_fs/releases)
- [Changelog](https://github.com/assert-rs/assert_fs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_fs/commits/v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
252420215d
chore(deps): bump toml from 0.4.10 to 0.5.5
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.4.10 to 0.5.5.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.4.10...0.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 22:14:42 +00:00
Ed Page
b21db206d2 chore: Update env_logger 2019-12-02 09:50:06 -07:00
dependabot-preview[bot]
b45157e955
chore(deps): bump assert_fs from 0.11.3 to 0.13.1
Bumps [assert_fs](https://github.com/assert-rs/assert_fs) from 0.11.3 to 0.13.1.
- [Release notes](https://github.com/assert-rs/assert_fs/releases)
- [Changelog](https://github.com/assert-rs/assert_fs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_fs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 14:07:04 +00:00
Ed Page
f9d1999740 chore(typos-cli): Release 0.1.4 2019-11-02 20:10:00 -06:00
Ed Page
0d9fd9a34e chore(typos): Release 0.3.0 2019-11-02 19:59:59 -06:00
Ed Page
06db6fc693 refactor!: Move off of failure 2019-10-29 11:36:50 -06:00
Ed Page
ea93373b37 chore(typos-cli): Release 0.1.3 2019-10-29 09:09:53 -06:00
Ed Page
ac90322c37 chore(typos-cli): Release 0.1.2 2019-10-29 08:36:00 -06:00
Ed Page
b10b7756f6 chore(typos): Release 0.2.0 2019-10-29 08:33:35 -06:00
Ed Page
0208dfadba chore(typos-dict): Release 0.2.0 2019-10-29 08:31:56 -06:00
Ed Page
0f06e602cb feat: Expose wikipedia's dict to Rust 2019-10-28 13:41:00 -06:00
Ed Page
3daafd1ea7 feat: Expose client9/misspell's dict to Rust 2019-10-28 13:41:00 -06:00
Ed Page
ce1ef2ca30 refactor!: Move dict implementation into CLI 2019-10-28 11:00:47 -06:00
Ed Page
1cbdb3a77a feat: Expose codespell's dict to Rust 2019-10-28 11:00:47 -06:00
Ed Page
8f428b8fec refactor(dict): Prepare for more dicts 2019-10-28 11:00:47 -06:00
Ed Page
a60ab52c56 test: Add benchmarks for real-word processing 2019-10-25 15:48:39 -06:00
Ed Page
12e6cadbe7 chore: Update dependencies 2019-10-25 10:25:59 -06:00
Ed Page
04775f6679 chore(typos-cli): Release 0.1.1 2019-10-25 10:10:55 -06:00
Ed Page
38b51bec05 docs: Fix links 2019-10-25 09:58:24 -06:00
Ed Page
0396c5942a chore: Reove dead feature 2019-10-25 09:47:02 -06:00
Ed Page
9005b93dd3 docs: Link to new CI 2019-10-25 07:49:41 -06:00
Ed Page
1d13f5d3e6 fix(cli): Name of bin back to typos 2019-10-24 20:11:19 -06:00
Ed Page
5e6e4b9ad7 chore: Upgrade structopt 2019-10-17 20:49:26 -06:00
Ed Page
23faf30f24 refactor(dict): Speed up build times by caching codegen 2019-10-05 22:04:50 -04:00
Ed Page
1bdd1c928a refactor: Split out typos-dict 2019-08-08 10:24:50 -05:00
Ed Page
164ee9cb84 refactor: Split bin/lib into separate crates 2019-08-08 10:04:51 -05:00
Ed Page
3d4da686ad feat: Accept config on command-line 2019-08-08 08:58:34 -05:00
Ed Page
e90a89ef93 refactor(report): Leverage derive_more 2019-08-07 08:20:18 -05:00
Ed Page
a129fb3d65 refactor(report): Switch to swrde derive feature 2019-08-07 08:16:22 -05:00
Ed Page
3419a8df85 feat(parse): Make identifier symbols configurable 2019-08-07 07:36:49 -05:00
Ed Page
469ae14181 feat: Log debug information
Fixes #39
2019-07-19 21:45:51 -06:00
Ed Page
4ce7303fc2 refactor(parser): Switch to bstr for line splitting 2019-07-13 22:41:31 -06:00
Ed Page
377c911328 fix: Rename to typos 2019-07-03 19:22:36 -06:00
Ed Page
c7ca904401 fix(dict): Balance dev speed with risk of introducing breaks
I've been cutting down the dict size to speed up my testing but I keep
submitting it.  Instead, it is a feature.
2019-06-14 15:19:17 -06:00
Ed Page
af66072272 feat(dict): Perform case-insensitive comparisons 2019-06-13 19:55:21 -06:00
Ed Page
af196a9561 fix: Settle on a name? 2019-04-16 17:27:55 -06:00
Ed Page
2ddd7d93df feat: Control over output format 2019-01-23 16:48:58 -07:00
Ed Page
0cdd64c038 Initial commit 2019-01-22 15:01:33 -07:00