Commit graph

1067 commits

Author SHA1 Message Date
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
Ed Page
4869764f7b test(parser): Remove unclear test case
Unsure why this case is here and it causes difficulties
2022-05-10 12:58:13 -05:00
Ed Page
ad89736832 refactor(parser): Clarify precedence levels 2022-05-10 12:58:08 -05:00
Ed Page
8cd9cef88a
Merge pull request #482 from epage/update
chore: Upgrade dependencies
2022-05-02 02:36:14 -05:00
Ed Page
efce716a17 chore: Upgrade dependencies 2022-05-02 02:19:28 -05:00
Ed Page
9f623c618b chore: Release 2022-04-28 09:39:14 -05:00
Ed Page
7c18fdf295 docs: Update changelog 2022-04-28 09:38:33 -05:00
Ed Page
93608f47f0
Merge pull request #470 from foriequal0/emoji-presentation
fix: Fix miscalculating the width of numbers and some symbols
2022-04-28 09:36:18 -05:00
Ed Page
acfd20711e
Merge pull request #471 from dkasak/master
Add typo: identitiy -> identity
2022-04-28 09:33:42 -05:00
SeongChan Lee
a759af71d4 fix: Fix the width of numbers and some symbols 2022-04-28 23:25:20 +09:00
Denis Kasak
29508a689b feat(dict): Add typo identitiy -> identity 2022-04-28 16:24:18 +02:00
Ed Page
dd827082e9 chore: Release 2022-04-27 21:56:53 -05:00