Ed Page
8d0593d333
Merge pull request #1019 from SOF3/go-flate
...
fix(dict): ignore flate for Go files
2024-06-05 14:39:08 -05:00
SOFe
107f99d4c6
fix(dict): Ignore flate for Go files
...
Signed-off-by: SOFe <sofe2038@gmail.com>
2024-06-05 14:01:51 +08:00
Ed Page
6f2c324a4d
refactor: Resolve deprecations
2024-05-27 22:09:20 -05:00
Ed Page
8804d1d2f4
style: Address warnings
2024-05-02 11:59:32 -05:00
Ed Page
b6c895ea49
chore: Update from _rust/main template
2024-04-30 11:28:23 -05:00
Ed Page
ee32d77aba
fix(dict): Don't correct dBA
...
I went with the direct unit which will be considered and identifier by
the casing, rather than also allowing this as a word.
Fixes #997
2024-04-16 11:37:04 -05:00
augustelalande
5e639f1ddb
remove ipynb from python
2024-04-09 16:05:19 -04:00
augustelalande
2784d7deb5
add more python extensions
2024-04-07 22:40:02 -04:00
Ed Page
a9402e3f47
fix: Don't correct common Python identifiers
...
Fixes #966
Fixes #969
2024-04-02 10:34:28 -05:00
Ed Page
eb99975267
feat(cli): Add a --sort flag
2024-02-07 16:06:19 -06:00
Ed Page
ad80305210
fix(cli): Actually run single-threaded
2024-02-07 16:03:03 -06:00
Ed Page
fe1a73ca8a
fix(config): Don't treat ts as typoscript
...
Fixes #911
2024-01-19 10:26:22 -06:00
Ed Page
d543202e5b
fix(config): Remove confusing, redundant types
2024-01-19 10:16:01 -06:00
renovate[bot]
13eedae59e
chore(deps): update msrv to v1.75
2023-12-28 16:47:51 +00:00
Ed Page
bf66cbd0b6
fix(config): Apply extend-ignore-re to file names
...
Fixes #885
2023-12-27 10:13:43 -06:00
Ed Page
55d802d0ef
fix(dict): Mirror original case for custom dict
...
Fixes #781
2023-12-13 08:38:14 -06:00
Ed Page
1b92c0182c
fix(config): Propagate validation errors
...
When `flatten`ing an `Option`, all errors are silenced, making the value
`None`, not just "this field doesn't exist".
The easiest way around this was to not use `Option`.
Not too confident in all of the changes but tests pass?
Fixes #881
2023-12-08 13:07:52 -06:00
Ed Page
e24c694258
fix(cli): Respect force-exclude for simple exclude pattersn
...
Fixes #868
2023-11-06 11:32:44 -06:00
Ed Page
0a5b4abbd5
fix(cli): Make the correction stand out more
...
This does deviate from rustc for `long` format but it seems worth it.
I did move backticks to be out of the coloring so the `error:` was more
distinct from the typo in `long` format.
2023-10-27 09:28:11 -05:00
Ed Page
1ca321659d
fix(cli): Add styling to --file-types
2023-10-27 09:19:42 -05:00
Ed Page
686e4cebe8
fix(cli): Better match rustc's color choices
...
I missed that rustc was using "bright" colors
2023-10-27 09:16:29 -05:00
Ed Page
56eef884d7
refactor(cli): Simplify palette handling
...
This did include a couple of tweaks to make it closer to rustc
2023-10-27 09:15:03 -05:00
Ed Page
b2685877d2
fix(dict): Dont correct common Julia terms
2023-10-16 20:51:12 -05:00
Ed Page
a640285093
fix(dict): Match .jl to Julia, rather than lisp
2023-10-16 20:50:39 -05:00
Ed Page
b221e9ce56
chore: Clean up dependencies
2023-10-16 12:58:00 -05:00
Ed Page
be8628fcb3
feat(config): Allow ignoring words by regex
...
Fixes #852
2023-10-16 12:37:00 -05:00
Dawid Ciężarkiewicz
c2e3454a94
feat: --file-list
support
2023-10-11 16:32:31 -07:00
Delgan
8314a1567d
Add "--force-exclude" option
2023-10-09 19:39:11 +00:00
Ed Page
21c88ca878
fix(cli): Improve help layout
2023-10-02 13:22:44 -05:00
Ed Page
243b187934
fix(cli): Properly fallback to built-in ident dict
2023-09-27 10:35:22 -05:00
Ed Page
5fd0df2881
fix(cli): Dont correct O_WRONLY
...
Realized we could just hard code this for now rather creating a general
identifier dictionary.
Fixes #744
2023-09-25 12:50:07 -05:00
Ed Page
66a70abc40
refactor(cli): Make room for ident dict
2023-09-25 12:42:18 -05:00
Ed Page
fd6873b6e0
refactor(cli): Make room for ident correction
2023-09-25 12:40:17 -05:00
Logan Hunt
b856b9603f
feat(config): Support for pyproject.toml
files ( #790 )
...
This PR adds support for parsing `pyproject.toml` config files. The convention
for these files is to put any tooling related configuration into the
`tool.NAME` section, so in this case, `tool.typos`. I have verified that the
changes are pulled correctly, even if the `tool.typos` section is not present.
Closes #361
2023-09-06 15:31:14 -05:00
Ed Page
0c05b217d4
style: Make clippy happy
2023-09-01 10:20:03 -05:00
Ed Page
8be21b28e7
fix(cli): Improve error when args aren't present
2023-08-21 10:20:16 -05:00
Ed Page
c927717f2d
fix(cli): Report more errors through report system
2023-08-18 16:28:53 -05:00
Ed Page
104ebdcb6b
fix(cli): Report paths with errors
2023-08-18 16:28:00 -05:00
Ed Page
e003ac8f1e
fix(cli): Improve error on missing config
2023-08-18 16:08:25 -05:00
Ed Page
0becfbf6cf
fix: Accidentally ran typos on typos
2023-08-14 15:55:39 -05:00
Ed Page
8f65f4802b
chore: Adopt '_rust/main' template
2023-08-14 15:06:53 -05:00
Ed Page
ef8bf24e7e
fix: Dont check pnpm lockfiles
...
Fixes #802
2023-08-14 09:36:53 -05:00
Ed Page
e12fe9b20b
Merge pull request #799 from epage/code
...
fix(cli): Report bad exit code on disallowed
2023-08-09 08:34:17 -05:00
Ed Page
3bae999225
fix(cli): Report bad exit code on disallowed
2023-08-09 08:21:53 -05:00
Martin Fischer
d3e48b202b
fix(cli): Allow ot and stap in sh
2023-08-08 18:24:44 +02:00
Martin Fischer
e5e8f25c8e
fix(cli): Allow nd in css
2023-08-08 18:24:44 +02:00
Martin Fischer
5181c42c57
fix(cli): Allow Nd in man pages
2023-08-08 18:24:44 +02:00
Ed Page
6f0c32c802
Merge pull request #793 from not-my-profile/refactor-file-type-specifics
...
refactor(cli): Introduce file_type_specifics module
2023-08-08 11:22:10 -05:00
Martin Fischer
d9a1085018
refactor(cli): Abstract away regex ignores
...
This isn't perfect as this only helps when doing checks and not in the
parsing impls.
This supersedes #797
2023-08-08 10:40:22 -05:00
Martin Fischer
5dbe0948d3
docs(cli): Add comments to file-type specific ignores
2023-08-08 06:22:34 +02:00