Ed Page
e9b3378913
fix: Be friendlier with panics
2020-11-23 12:40:55 -06:00
Ed Page
b03df3aeae
fix: Return more precise errors
2020-11-23 10:08:38 -06:00
Ed Page
869b916ca6
fix: Handle broken pipe
2020-11-21 21:57:12 -06:00
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
b7700fa214
refactor: Don't special case --files
2020-11-10 06:30:27 -06:00
Ed Page
e12cd8ed55
refactor: Layer files/filenames on buffer processing
2020-11-10 06:30:27 -06:00
Ed Page
2ef1d02164
Revert "feat(ignore): Typos-specific ignores"
...
This reverts commit 0052617fcd
.
The fix for #134 was backwards. It turns out `overrides` is for
including rather than ignoring. Will need to look at this further.
2020-11-03 19:55:45 -06:00
Ed Page
78d76bcbc6
fix: Be friendlier about error messages
2020-10-28 20:47:16 -05:00
Ed Page
527b9837b4
feat: Custom dictionary support
...
Switching `valid-*` to just `*` where you map typo to correction, with
support for always-valid and never-valid.
Fixes #9
2020-10-27 21:15:25 -05:00
Ed Page
043692afe0
feat(dict): Override builtin dictionary
...
Sometimes you just have to live with a typo or its done intentionally
(like weird company names). With this commit, a user can now identifier
blessed identifiers and words.
This is ostly what is needed for #9 but sometimes people will have
common typos that they'll want to provide corrections for.
2020-09-02 20:24:54 -05:00
Ed Page
0052617fcd
feat(ignore): Typos-specific ignores
...
THis is to help with cases like a monorepo with vendored dependencies.
A user might want to search (`.ignore`) them but not hold the code to
the same standards as first-party code.
Fixes #134
2020-08-25 21:09:42 -05: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
d1be9c1944
feat: Replacement support
...
Now can fix typos!
Fixes #4
2020-07-04 20:52:46 -05:00
Ed Page
94ee49b068
refactor: Re-order main
2020-07-04 20:52:46 -05:00
Ed Page
5cfe913d03
refactor: Split out checks
2020-07-04 20:52:46 -05:00
Ed Page
79d9a4d801
refactor: Split out args
2020-07-04 20:52:46 -05:00
Ed Page
b7d412c20e
refactor: Calculate threading where it is needed
2020-07-04 20:52:46 -05:00
Ed Page
2e1b95fec1
refactor: Collpase cases
2020-07-04 20:52:46 -05:00
Ed Page
8732d24f53
refactor: Use a single reporter instance
2020-07-04 20:52:46 -05:00
Ed Page
575971a5c5
refactor: Turn reports into a trait
2020-07-04 20:52:46 -05:00
Ed Page
8af7c47fe5
refactor: SImplify init
2020-03-21 14:33:51 -05:00
Ed Page
6b8047ee44
perf: Multi-threaded spell checking
...
Fixes #7
2020-03-21 14:22:53 -05:00
Ed Page
333762f55c
refactor: Prepare for threads
2020-03-21 13:28:38 -05:00
Ed Page
b21db206d2
chore: Update env_logger
2019-12-02 09:50:06 -07:00
Ed Page
b74258a43c
refactor: Consolidate paths
2019-11-15 07:48:07 -07:00
Ed Page
59baa36327
refactor!: Delay populating of Checks
2019-11-14 20:20:29 -07:00
Ed Page
107308a655
perf: Use standard identifier rules to avoid doing umber checks
2019-11-02 19:40:06 -06:00
Ed Page
cc4b53a1b4
Merge pull request #64 from epage/debug
...
feat: Dump files, identifiers, and words
2019-10-31 11:40:43 -06:00
Ed Page
ce365ae12e
feat: Dump files, identifiers, and words
...
This will help people debug their configurations.
Fixes #41
2019-10-31 10:44:23 -06:00
Ed Page
a48a457cc3
fix: Improve the organization of --help
2019-10-30 11:02:02 -06:00
Ed Page
06db6fc693
refactor!: Move off of failure
2019-10-29 11:36:50 -06:00
Ed Page
ce1ef2ca30
refactor!: Move dict implementation into CLI
2019-10-28 11:00:47 -06:00
Ed Page
0a2f865d0f
refactor: Change error strategy for future thread use
2019-10-26 20:31:10 -06:00
Ed Page
5e6e4b9ad7
chore: Upgrade structopt
2019-10-17 20:49:26 -06:00
Ed Page
1bdd1c928a
refactor: Split out typos-dict
2019-08-08 10:24:50 -05:00
Ed Page
6fc61966cc
feat(parser): Give control over identifier detection
2019-08-08 08:58:37 -05:00
Ed Page
709446821b
refactor(cli): Remove dead code
2019-08-08 08:58:36 -05:00
Ed Page
8ea31b5e1d
refactor(cli): Re-order code to make diffing easier
2019-08-08 08:58:36 -05:00
Ed Page
a2cf3b7cc9
feat(config): Configure checking logic
...
Later we can add the per-filetype checks
Fixes #37
2019-08-08 08:58:36 -05:00
Ed Page
29ff040fd1
feat(config): Expose binary in config file
2019-08-08 08:58:35 -05:00
Ed Page
77603daab5
refactor(cli): Rename Options struct
2019-08-08 08:58:35 -05:00
Ed Page
a923f93ec5
fix(config): Move file-based config into a table
2019-08-08 08:58:35 -05:00
Ed Page
f9a1600513
refactor( Push out options
2019-08-08 08:58:34 -05:00
Ed Page
87015d3522
feat(config): Find config for each path passed in
2019-08-08 08:58:34 -05:00
Ed Page
ad4c6dcd77
refactor(config): Centralize loading logic
2019-08-08 08:58:34 -05:00
Ed Page
3d4da686ad
feat: Accept config on command-line
2019-08-08 08:58:34 -05:00
Ed Page
8d96a2ad1d
refactor(cli): Prepare for merging im config file
2019-08-08 08:58:33 -05:00
Ed Page
750005e971
fix(parse): Don't skip binary files when explicitly requested
...
Fixes #35
2019-07-31 21:01:58 -06:00
Ed Page
adcbe68621
refactor(dict): Split out a trait
2019-07-27 19:50:36 -06:00