Commit graph

230 commits

Author SHA1 Message Date
Ed Page
7d3e9bb070 chore: Release 2022-04-18 09:39:53 -05:00
Ville Skyttä
60fc0ca19d
docs(reference): Formatting and copy-pasto fixes
Escape left angle bracket, fix copy-pastos in default.extend-identifiers
and default.extend-words descriptions.
2022-04-11 00:06:26 +03:00
Ed Page
3e802f8100 chore: Release 2022-04-06 12:53:00 -05:00
Ed Page
4253c3c3ee chore: Release 2022-03-09 09:00:30 -06:00
Ed Page
21cd8dc32f docs(compare): Add another tool 2022-02-16 12:46:16 -06:00
Ed Page
b686760935 chore: Release 2022-02-14 09:05:09 -06:00
Ed Page
05773fe815 chore: Release 2022-02-08 07:12:19 -06:00
Ed Page
5b7fe620ec chore: Release 2022-01-26 14:32:31 -06:00
Ed Page
2c5f2ecedd chore: Release 2022-01-26 10:01:15 -06:00
Ed Page
4b2e66487c chore: Release 2022-01-24 20:35:08 -06:00
Ed Page
a329a99ec7 chore: Release 2022-01-24 12:30:42 -06:00
Ed Page
f7fd7c0e42 chore: Release 2022-01-21 10:39:27 -06:00
Ed Page
ac83c55077 chore: Release 2022-01-12 11:16:44 -06:00
Ed Page
71b53cb23e chore: Release 2021-12-18 17:52:11 -06:00
Ed Page
469a9aedc2 chore: Release 2021-12-14 12:58:03 -06:00
Ed Page
496b8ab3e1 chore: Release 2021-11-16 07:49:32 -06:00
Ed Page
7377c3d382 chore: Release 2021-11-15 08:37:02 -06:00
Ed Page
153f570ec9 chore: Release 2021-11-03 11:48:12 -05:00
Ed Page
e394b4d65e chore: Release 2021-10-23 09:44:22 -05:00
Ed Page
3cd24f5cca chore: Release 2021-09-14 10:03:34 -05:00
Ed Page
dbea7ab1e0 chore: Release 2021-08-30 09:16:40 -05:00
Ed Page
ce6b9b9516 chore: Release 2021-08-20 12:16:11 -05:00
Ed Page
c5028ded31 chore: Release 2021-08-06 09:03:52 -05:00
Ed Page
936ec335a5 chore: Release 2021-08-04 08:47:54 -05:00
Ed Page
acf5fd331b chore: Release 2021-08-02 09:58:00 -05:00
Ed Page
f5b42c3e61 chore: Release 2021-07-30 12:14:20 -05:00
Ed Page
39afbec0ea chore: Release 2021-07-30 11:10:12 -05:00
Ed Page
488d24f78b chore: Release 2021-07-27 15:43:50 -05:00
Ed Page
30038f572b chore: Release 2021-07-27 15:33:16 -05:00
Ed Page
ccbd1a69af docs: Call out dictionary model 2021-07-27 15:22:17 -05:00
Ed Page
8f3f5b90ad chore: Release 2021-06-29 15:34:25 -05:00
Ed Page
9a0d754862 docs(parser): Note new features 2021-06-29 14:43:05 -05:00
Ed Page
32f5e6c682 refactor(typos)!: Bake ignores into parser
This is prep for other items to be ignored

BREAKING CHANGE: `TokenizerBuilder` no longer takes config for ignoring
tokens.  Related, we now ignore token-ignore config flags.
2021-06-29 11:41:25 -05:00
Ed Page
3e5787c0e2 chore: Release 2021-06-28 14:56:13 -05:00
Ville Skyttä
867ee75b02 feat(pre-commit): Add binary based install
For no additional build dependencies (besides Python >= 3.6), and faster
install.

The setup.py here is a copy of the one at
https://github.com/shellcheck-py/shellcheck-py with changes kept at the
bare minimum for future diffability.

We don't support checksumming at least yet, because there's no access to
them from cargo-release at the moment.

Closes #285
2021-06-28 19:53:51 +03:00
Ed Page
e9c800b2bf chore: Release 2021-06-15 17:32:26 -05:00
Ed Page
5304d94fb7 chore: Release 2021-06-15 10:53:20 -05:00
Ville Skyttä
9739865559 feat: Add pre-commit integration 2021-06-08 23:07:54 +03:00
Marian Triebe
7141c710c8
Fix example in github-action.md
The repository of crate-ci/typos does not have a "main" branch, "master" is used instead.
2021-06-05 10:17:32 +02:00
Vanessasaurus
7d09c5a4bf
feat(ci): adding github action to use typos to check spelling (#267)
Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-31 19:42:45 -05:00
Ed Page
8a19ec5059 docs: Remove reference to misspell-rs
This project seems to be dead
2021-05-22 21:17:37 -05:00
Ed Page
327a84a242 feat(ignore): Typos=specific ignores
We want both CLI and config ignores.  The question then is what we make
them relative to.  I decided to favor CLI with `.`.  We'll see how this
works out

Fixes #134
2021-05-20 21:00:28 -05:00
Ed Page
0b9733c606 docs: Remove dead space 2021-05-19 19:49:51 -05:00
Ed Page
75b170c2b4 docs: Include screenshot
Fixes #237
2021-05-19 19:48:33 -05:00
Ed Page
14f1532bee docs: Switch from blacklist language 2021-04-30 20:49:01 -05:00
Ed Page
4b812e1b96 docs: Re-organize to clarify intent
This is part of #237
2021-04-30 20:41:57 -05:00
Ed Page
92a1172bfa feat(ddi): Allow controlling 'unicode' via args 2021-04-30 10:36:55 -05:00
Ed Page
517da7ecd2 perf(parser): Allow people to bypass unicode cost 2021-04-29 21:07:59 -05:00
Ed Page
9cbc7410a4 fix(parser)!: Defer to Unicode XID for identifiers
This saves us from having to have configuration for every detail.  If
people need more control, we can offer it later.

Fixes #225
2021-04-29 18:30:57 -05:00
Ed Page
10d97949e8 docs(about): Update comparison table 2021-04-06 21:18:56 -05:00
Ed Page
2a7bd5b046 feat(config): Add new file types
Fixes #220
2021-04-06 21:18:18 -05:00
Ed Page
8f365ee155 feat(config): Show available type definitions 2021-04-05 21:15:41 -05:00
Ed Page
a101df95c2 feat(config): Per-file type settings
Fixes #14
2021-04-05 21:03:49 -05:00
Ed Page
4bbc59facf refactor(config)!: Detect when no dict config
In preparing for smarter handling of config, we need to be able to tell
what is present and what isn't.

BREAKING CHANGE: `--hex` was removed, the value didn't seem high enough.
2021-03-29 20:27:12 -05: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
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
b97b6ddd45
docs: Note custom dicts is supported 2020-11-10 06:40:24 -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
f0c24b0afa feat(config): Allow separating config from source 2020-10-30 08:33:43 -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
0867a6a6eb
docs: Pre-built binaries!
Fixes #18
2019-10-29 09:42:26 -06:00
Ed Page
158f83b29c
docs: Update install instructions for crate split 2019-10-26 09:04:25 -06:00
Ed Page
52926d8cd1
docs: Fix source precedence 2019-10-25 09:39:55 -06:00
Ed Page
5863158a31 docs: Add reference 2019-10-25 08:17:58 -06:00
Ed Page
851336b931 docs: Fix links 2019-10-25 08:06:05 -06:00
Ed Page
f5af748146
docs: Add link to benchmarks 2019-10-25 06:15:40 -06:00
Ed Page
81f20bb293 feat: Set exit code on typos being found
Fixes #45
2019-07-23 10:37:05 -06:00
Ed Page
ec307dffdd feat: Check file names
Fixes #24
2019-07-19 07:28:17 -06:00
Ed Page
006204e66a feat(parser): Ignore hex literals
Trying to avoid accidentally correcting something that looks like a word
inside a hex number, like `0xBEAF`.

Fixes #19
2019-07-13 20:15:22 -06:00
Ed Page
894df1bcdc docs: Add gitignore to comparison
Fixes #25
2019-07-13 18:46:03 -06:00
Ed Page
e039d9aae0 docs: Compare with codespell
Fixes #23
2019-07-13 18:45:38 -06:00
Ed Page
60372effa1 docs: Re-arrange comparison 2019-07-06 19:11:03 -06:00
Ed Page
86de1b8c2d
fix(docs): Table misformatted 2019-07-06 07:51:08 -06:00
Ed Page
377c911328 fix: Rename to typos 2019-07-03 19:22:36 -06:00
Ed Page
9692f7cd46
docs(about): Fix formatting 2019-06-26 21:52:49 -06:00
Ed Page
16e7bd26e7 docs: Reformat README 2019-06-26 21:49:37 -06:00
Ed Page
4f85e39e09 docs: Comparison with other tools
Fixes #12
2019-06-26 21:47:17 -06:00