Commit graph

1128 commits

Author SHA1 Message Date
Jonas Platte
e7be2d3983
feat(dict): Add 'anonymized' typos 2022-07-22 16:31:59 +02:00
Ed Page
e8119a5da9
Merge pull request #512 from epage/update
chore: Update dependencies
2022-07-01 20:40:22 -05:00
Ed Page
766b63dfae chore: Update dependencies 2022-07-01 20:24:49 -05:00
Ed Page
f68619dfda
Merge pull request #511 from crate-ci/dependabot/cargo/clap-3.2.8
chore(deps): Bump clap from 3.1.18 to 3.2.8
2022-07-01 10:33:53 -05:00
Ed Page
4abce1c5a6
Merge pull request #509 from crate-ci/dependabot/cargo/anyhow-1.0.58
chore(deps): Bump anyhow from 1.0.57 to 1.0.58
2022-07-01 10:33:40 -05:00
Ed Page
b427299cac
Merge pull request #508 from crate-ci/dependabot/cargo/serde_json-1.0.82
chore(deps): Bump serde_json from 1.0.81 to 1.0.82
2022-07-01 10:33:31 -05:00
dependabot[bot]
7106dff9b1
chore(deps): Bump clap from 3.1.18 to 3.2.8
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 3.2.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.18...v3.2.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 07:04:47 +00:00
dependabot[bot]
7bf98ef5ae
chore(deps): Bump anyhow from 1.0.57 to 1.0.58
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 07:04:32 +00:00
dependabot[bot]
f39277094f
chore(deps): Bump serde_json from 1.0.81 to 1.0.82
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 07:04:26 +00:00
Ed Page
9be36f97fd chore: Release 2022-06-22 12:28:18 -05:00
Ed Page
713ab8c563 docs: Update changelog 2022-06-22 12:28:02 -05:00
Ed Page
5491b61803
Merge pull request #505 from epage/binary
fix(gh): Don't report bad annotations for binary files
2022-06-22 12:24:02 -05:00
Ed Page
a950dd27ff refactor(gh): Pull out formatter
This makes for easier local testing.
2022-06-22 12:16:12 -05:00
Ed Page
a3c8693b45 refactor(gh): Separate command from args 2022-06-22 11:30:58 -05:00
Ed Page
87effb2664 fix(gh): Don't report bad annotations for binary files
Fixes #504
2022-06-22 11:29:30 -05:00
Ed Page
05ad2bde04 chore: Release 2022-06-16 14:11:38 -05:00
Ed Page
f2b761c87a docs: Update changelog 2022-06-16 14:11:31 -05:00
Ed Page
da0b5fe45b
Merge pull request #503 from epage/stdout
fix(cli): Skip files that stdout is writing to
2022-06-16 14:10:36 -05:00
Ed Page
f0ba78db1a fix(cli): Skip files that stdout is writing to
Fixes #502
2022-06-16 13:56:48 -05:00
Ed Page
8dc6da2da0 chore: Release 2022-06-16 13:51:51 -05:00
Ed Page
ce00a67535 docs: Update changelog 2022-06-16 13:51:40 -05:00
Ed Page
e1c19af197
Merge pull request #501 from epage/action
feat(action): Report typos as annotations
2022-06-16 13:50:27 -05:00
Ed Page
4df83719b2 fix(action): Don't check all when no checked files are changed 2022-06-16 13:40:37 -05:00
Ed Page
a295aeb9ac fix(action): Filter files in more cases 2022-06-16 13:08:37 -05:00
Ed Page
02fb35d0eb fix(action): Log program versions 2022-06-16 11:12:28 -05:00
Ed Page
2ae4d92451 feat(action): Report typos to github 2022-06-16 11:09:52 -05:00
Ed Page
fc7f517466 perf(action): Limit checked files to those changed 2022-06-16 11:09:52 -05:00
Ed Page
bed511b57a test(action): Verify with and without history 2022-06-16 11:09:52 -05:00
Ed Page
d37c3ff782 test: Cactch YAML mistakes 2022-06-16 11:06:20 -05:00
Ed Page
f8073dcfa0 chore: Release 2022-06-15 16:13:13 -05:00
Ed Page
aff7161142 chore: Release 2022-06-15 16:11:53 -05:00
Ed Page
586ddc63b7 docs: Update changelog 2022-06-15 16:11:10 -05:00
Ed Page
f4c06282ad
Merge pull request #500 from epage/types
fix(config): Resolve ambiguous file types
2022-06-15 16:10:14 -05:00
Ed Page
0bb32cc473 fix(config): Resolve ambiguous file types
Before, when two file types matched the same glob, the file type that
one was non-deterministic.

Now, "the more specific" file type wins.  What this means is that we
break up the file by its extensions and prioritize the more literal glob
- If its just `*`, then its lowest priority
- If it contains `*` and other logic, then its next
- If it doesn't contain a `*`, then its the highest priority

This leaves out other glob syntax like `{one,two}` as those are
closed-ended and so considered specific still.

Fixes #487
2022-06-15 15:53:04 -05:00
Ed Page
4cf566d25f
Merge pull request #498 from epage/update
chore: Upgrade dependencies
2022-06-01 07:07:43 -05:00
Ed Page
7c953a71ec chore: Upgrade to 2021 edition 2022-06-01 06:53:10 -05:00
Ed Page
b15558f0f3 chore: Set rust-version 2022-06-01 06:51:59 -05:00
Ed Page
7968dc07de chore: Upgrade dependencies 2022-06-01 06:49:18 -05:00
Ed Page
927308c726 chore: Release 2022-05-16 09:33:53 -05:00
Ed Page
0e014d5b17 docs: Update changelog 2022-05-16 09:33:23 -05:00
Ed Page
4ea85c1b69
Merge pull request #488 from epage/debug
feat(cli): Log the policy
2022-05-16 09:32:56 -05:00
Ed Page
5ae7bda8eb style: Silence clippy 2022-05-16 09:09:17 -05:00
Ed Page
a17f6a284a feat(cli): Log the policy
This is in part to help in cases like #487 but it will also help people
generally configure and debug their config.
2022-05-16 09:06:28 -05:00
Ed Page
778fd7a53d chore: Release 2022-05-10 14:24:11 -05:00
Ed Page
e61fed17e1 docs: Update changelog 2022-05-10 14:22:32 -05:00
Ed Page
5e7e699c2a
Merge pull request #486 from epage/change
fix(parser): Improve detection of ignorable cases
2022-05-10 14:19:11 -05:00
Ed Page
fd5398316f fix(parser): Better short base64 detection
Previously, we bailed out if the string is too short (<90) and there
weren't non-alpha-base64 bytes present.  What we ignored were the
padding bytes.

We key off of padding bytes to detect that a string is in fact base64
encoded.  Like the other cases, there can be false positives but those
strings should show up elsewhere or the compiler will fail.

This was called out in #485
2022-05-10 14:02:59 -05:00
Ed Page
bd5048def5 fix(parser): Allow backslashes after ignore items
To allow `\\` to start a token, we couldn't let it end a token.  By
switching the termiantor to a peek, we can now make it end a token
**and** start a token, allowing us to work better with windows paths.

Fixes #481
2022-05-10 14:02:54 -05:00
Ed Page
1720e7d65e fix(parser): Ignore items at end of input 2022-05-10 13:38:03 -05:00
Ed Page
7e15afe81f test(parser): Add reproduction of #481 2022-05-10 12:58:19 -05:00