Commit graph

1560 commits

Author SHA1 Message Date
Ed Page
75ba4ac535 perf(config): Get small-string optimization 2021-03-01 12:25:51 -06:00
Ed Page
b5827004a2 refactor(config): Simplify 2021-03-01 12:19:56 -06:00
Ed Page
60dbf0a254
Merge pull request #217 from epage/refactor
Lay groundwork for new policy engine
2021-03-01 12:15:14 -06:00
Ed Page
e9ff977be5 chore: Upgrade dependencies 2021-03-01 11:50:23 -06:00
Ed Page
0ea6de6019 refactor(cli): Clarify role of checks 2021-03-01 11:50:23 -06:00
Ed Page
b5f606f201 refactor(typos): Simplify the top-level API 2021-03-01 11:50:23 -06:00
Ed Page
e1e4ce8b61 refactor: Clarify roles 2021-03-01 11:50:23 -06:00
Ed Page
1010d2ffe5 refactor(tokenizer): Remove stale function 2021-03-01 11:50:23 -06:00
Ed Page
ddeee94cf8 refactor(checks): Make all state dynamic 2021-03-01 11:50:23 -06:00
Ed Page
1c3acd747a fix(config)!: Move binary to file
Seems like it would make sense to allow varying this by directory (when
supporting layering) and by file type.
2021-03-01 11:50:12 -06:00
Ed Page
c6a5cc0a7c
Merge pull request #207 from epage/update
chore: Pass along improvements
2021-02-06 14:17:48 -06:00
Ed Page
df15d5e982 style: Resolve clippy 2021-02-06 11:19:08 -06:00
Ed Page
364e9f1dc8 refactor(bench): Switch to criterion 2021-02-05 21:38:44 -06:00
Ed Page
f64f9b7fde docs: Switch to keepachangelog 2021-02-04 21:46:50 -06:00
Ed Page
c0b942abde chore: Pass along improvements 2021-02-04 21:46:38 -06:00
Ed Page
d6fa23b4a9 chore: Update dependencies 2021-02-04 21:40:07 -06:00
Ed Page
73f8b25da7
Merge pull request #199 from epage/hack
fix: Force a specific 'syn' version
2021-01-11 07:46:12 -06:00
Ed Page
15147afbbe
Merge pull request #198 from JohnMaguire/fix-scorrect-references
Replace instances of scorrect with typos
2021-01-11 07:18:34 -06:00
Ed Page
d32099e457 fix: Force a specific 'syn' version 2021-01-11 07:10:48 -06:00
John Maguire
21df3ed539 fix(docs): Replace mentions of scorrect with typos
At some point early on, this project was renamed from "scorrect" to
"typos". Some references to old URLs still exist. This commit corrects
those references.
2021-01-10 23:13:38 -05:00
Ed Page
1798081344
Merge pull request #197 from epage/args
Improve feature discoverability
2021-01-04 19:58:54 -06:00
Ed Page
dbac2eff4a feat(config): Use '-' to dump config to stdout 2021-01-04 19:29:43 -06:00
Ed Page
13a93ee8d1 fix(config): Provide all field defaults 2021-01-04 19:16:02 -06:00
Ed Page
ecb32a674a fix(config): Merge custom config over repo config
Custom config, like args, is more mutable, so it should be respected
more.
2021-01-04 19:16:02 -06:00
Ed Page
5db9a8e1c9 docs(config): Make config more discoverable 2021-01-04 19:16:02 -06:00
Ed Page
f27282fbc0 docs(args): Clarify what args are esclusive 2021-01-04 19:15:45 -06:00
Ed Page
70163fae61 docs(args): Clarify command line arguments 2021-01-04 14:54:50 -06:00
Ed Page
0f437fd3d1
Merge pull request #191 from crate-ci/dependabot/cargo/itertools-0.10.0
chore(deps): bump itertools from 0.9.0 to 0.10.0
2021-01-03 10:03:58 -06:00
Ed Page
02e8792e94
Merge pull request #196 from epage/stdin
feat: Support '-' for stdin
2021-01-02 22:32:03 -06:00
Ed Page
1c4d2ac32b feat: Support '-' for stdin
This helps with tool integration.

Fixes #195
2021-01-02 22:17:08 -06:00
dependabot-preview[bot]
b8d3190ce9
chore(deps): bump itertools from 0.9.0 to 0.10.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bluss/rust-itertools/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-03 03:40:45 +00:00
Ed Page
ed58935d02
Merge pull request #156 from epage/utf16
feat: Check and replace UTF-16 files
2021-01-02 21:39:10 -06:00
Ed Page
998fad4390 feat: Check and replace UTF-16 files
We don't have good detection for non-UTF encodings and don't have
encoding support for UTF-32, so limiting it to just UTF-16.

Fixes #17
2021-01-02 19:25:00 -06:00
Ed Page
1c392c2606
Merge pull request #194 from epage/arch2
fix(fix): Update as we go
2021-01-02 18:22:43 -06:00
Ed Page
67222e9338 style: Address clippy 2021-01-02 13:49:28 -06:00
Ed Page
e6a4f49eb5 refactor: Clarify names 2021-01-02 13:10:40 -06:00
Ed Page
692f0ac095 refactor(typos): Focus API on primary use case 2021-01-02 13:10:40 -06:00
Ed Page
aba85df435 docs(typos): Clarify intent 2021-01-02 13:10:40 -06:00
Ed Page
5f82dd6017 fix: Arg diff reports immediately 2021-01-02 13:10:36 -06:00
Ed Page
c900e48593 fix: Arg write-changes reports immediately 2021-01-02 13:10:30 -06:00
Ed Page
48112a47e9 refactor(parser): Abstract over lifetimes 2021-01-02 13:10:30 -06:00
Ed Page
663eb94d32 refactor: Switch Typos to check_file 2021-01-02 13:10:30 -06:00
Ed Page
6e53d7e719 refactor: Switch Words/Identifiers to check_file 2021-01-02 13:10:30 -06:00
Ed Page
d28174439b refactor: Switch FoundFiles to check_file 2021-01-02 13:10:30 -06:00
Ed Page
6c28376e50 refactor: Give checks full control 2021-01-02 13:10:30 -06:00
Ed Page
220a79ff30 refactor: Make room for parent function 2021-01-02 13:10:30 -06:00
Ed Page
bc90bacff2 refactor(typos): Pull out file logic 2021-01-02 13:10:30 -06:00
Ed Page
e741f96de3 refactor(typos): Decouple parsing from checks 2021-01-02 13:10:22 -06:00
Ed Page
1e64080c05 refactor(typos): Open up the name Parser 2021-01-02 12:58:33 -06:00
Ed Page
7fdd0dee16 style(typos): Make parser ordering clearer 2021-01-02 12:58:33 -06:00