Commit Graph
62 Commits
Author SHA1 Message Date
Ed Page 2fffb1bb2b chore: Release 2023-06-26 09:05:53 -05:00
Ed Page d9e1ae0a39 chore: Release 2023-06-22 12:33:50 -05:00
Ed Page 5f1d3c23bc fix(config): Force-skip config files
This doesn't use `extend-exclude` which means that `typos typos.toml`
will stil be skipped

This doesn't just skip the currently loaded config but any file name
that looks like a config, which might be a big aggressive but allows us
to do layered config in the future....  We've been saying that for a
while.

Fixes #711
2023-06-22 12:20:07 -05:00
Ed Page 8074cc6029 chore: Release 2023-06-22 10:13:38 -05:00
Ed Page 9e293916d2 fix(config): Always apply type defaults
Fixes #760
2023-06-22 09:57:15 -05:00
Ed Page 72c773aade test(config): Verify bad merge 2023-06-22 09:16:23 -05:00
Ed Page 84c8b30e06 chore: Release 2023-06-21 14:51:20 -05:00
Ed Page fce92e4e5f fix(config): User file types override default file types
This also ensures `typos --type-list` will report the glob in only one
place.

Fixes #754
2023-06-21 14:31:04 -05:00
Ed Page 77f0389a9e test(config): Reproduce types bug 2023-06-21 14:17:19 -05:00
Ed Page 1a4e9428d6 chore: Release 2023-06-20 09:25:04 -05:00
Ed Page 427d127e8a fix: Ensure stdout is locked
In 3a29410c1b, we switched to anstream
which doesn't seem to be locking properly (rust-lang/cargo#12289).  For
now, we are working around it.

Fixes #749
2023-06-20 09:04:31 -05:00
Ed Page 59888680cc chore: Release 2023-06-19 10:28:02 -05:00
Ed Page f37d3f8e3c chore: Release 2023-06-08 10:29:00 -05:00
Ed Page 172ff0bb5a chore: Release 2023-06-08 10:27:43 -05:00
Ed Page 20b36ca07f chore: Release 2023-06-01 19:49:16 -05:00
Ed Page 27c9fe7c79 chore: Release 2023-06-01 06:22:12 -05:00
Ed Page a78f83bab3 Merge pull request #731 from crate-ci/renovate/criterion-0.x
chore(deps): update rust crate criterion to 0.5
2023-06-01 09:45:34 -05:00
renovate[bot] e06f63c31d chore(deps): update compatible 2023-06-01 02:54:09 +00:00
renovate[bot] 9aa8d04d94 chore(deps): update rust crate criterion to 0.5 2023-06-01 00:53:02 +00:00
Ed Page 38a1b19481 chore: Release 2023-05-22 13:44:05 -05:00
Ed Page 5c98b91f18 chore: Release 2023-05-19 08:51:04 -05:00
Ed Page adfd866ed9 test(cli): Check more former false positives 2023-05-19 08:18:25 -05:00
Ed Page 641e734fe7 fix(dict): Dont correct add-ons
Fixes #721
2023-05-19 08:13:01 -05:00
Ed Page 9e01ccbd3e test(cli): Prevent false-positive regressions 2023-05-19 08:11:14 -05:00
Ed Page 78a3c66d00 chore: Release 2023-05-03 08:57:26 -05:00
Ed Page b5b09d7129 chore: Release 2023-05-03 08:56:01 -05:00
renovate[bot] 5131fb8167 chore(deps): update compatible 2023-05-01 15:30:51 +00:00
Ed Page 9433f016bb style: Fix formatting 2023-04-24 00:11:34 -05:00
Ed Page 64e40cffee chore: Release 2023-04-19 09:47:11 -05:00
Ed Page 78058ce3e3 chore: Release 2023-04-19 08:35:04 -05:00
Ed Page 7f65ff4f24 chore: Release 2023-04-12 22:24:06 -05:00
Ed Page 5145767575 chore: Update anstyle 2023-04-12 21:52:15 -05:00
Ed Page 217e403326 docs(cli): Show SSL cipher suites
See #438
2023-04-11 01:17:33 -05:00
Ed Page 66d82e5e51 chore: Release 2023-03-30 07:50:08 -05:00
Ed Page 8db59330b7 test(cli): Add UTF16 test 2023-03-30 07:45:24 -05:00
Ed Page ae7f313230 fix(cli): Actually decode UTF-16
Two problems
- I thought we had a UTF-16 test but apparently we didn't
- I didn't read enough fine print in the `encoding_rs` API

These combined meant the last release completely broke UTF-16 support.
2023-03-30 07:27:55 -05:00
Ed Page 144ee4d018 chore: Release 2023-03-29 21:55:35 -05:00
Ed Page 98be58dbc9 refactor: Switch out the UTF-16 encoding impl
Fixes #702
2023-03-29 20:42:48 -05:00
renovate[bot] e1a138b637 chore(deps): update compatible 2023-04-01 07:05:05 +00:00
Ed Page 6cf303d421 chore: Release 2023-03-18 04:20:06 -05:00
Ed Page 08f154e45b test: Try to fix CI 2023-03-18 02:15:16 -05:00
Ed Page e15de8b72e chore: Release 2023-03-18 02:09:49 -05:00
Ed Page ac46a6ba54 feat(config): Custom ignores
Typos primarily works off of identifiers and words.  We have built-in
support to detect constructs that span identifiers that should not be
spell checked, like UUIDs, emails, domains, etc.  This opens it up for
for user-defined identifier-spanning constructs using regexes via
`extend-ignore-re`.

This works differently than any of the previous ways of ignoring thing
because the regexes require extra parse passes.  Under the assumption
that (1) actual typos are rare and (2) number of files relying on
`extend-ignore-re` are rare, we only do these extra parse passes when a
typo is found, causing almost no performance hit in the expected case.

While this could be used for more generic types of ignores, it isn't the
most maintainable because it is separate from the source files in
question.  Ideally, we'd implement document settings / directives for
these cases (#316).
2023-03-18 01:25:39 -05:00
Ed Page 9d376417a0 test: Baseline for generic ignore 2023-03-18 01:20:01 -05:00
Ed Page a1a601195e chore: Release 2023-03-17 23:59:36 -05:00
Ed Page e4d2d0e54d fix: Actuall ignore ignored identifiers 2023-03-17 23:47:25 -05:00
Ed Page 2ee6ef4654 test(cli): Show extend-ignore-identifiers-re bug 2023-03-17 23:45:54 -05:00
Ed Page 0eae00fee2 test(cli): Consolidate files 2023-03-17 23:30:24 -05:00
Ed Page 797574c10a chore: Release 2023-03-17 23:09:02 -05:00
Ed Page af90817e50 feat(dict): extend-ignore-identifiers-re support
This opens the door for users to provide patterns for identifiers that
are always valid.  The key limitation is "identifiers".  Run `typos
--identifiers` to verify what you are trying to write the regex for.

Fixes #651
2023-03-17 22:40:55 -05:00