Commit graph

9 commits

Author SHA1 Message Date
Riley Bruins
2b4c44e0b7
feat(cli): clearer file name display in format (#181)
Removes superfluous text before printing file names which have improper
format. Also colors the file names purple so they are more easily
differentiated from the diff text.
2025-07-07 13:17:06 +00:00
Will Lillis
4f7a0c4314 fix(test): update format coverage to reflect cli format changes 2025-07-06 14:59:38 -07:00
Riley Bruins
e644dd3f1b
feat: optional lints for predicate string args (#133)
This can be used to warn on unnecessary string quotations, or on
unquoted string identifiers (in the case that you want all of your string
arguments to be quoted).
2025-06-05 10:19:52 -07:00
Riley Bruins
8735942d86
feat: lint for pointless patterns (#127)
This lint also has a quickfix code action to remove it, but it's not
advertised in the diagnostic message because it would become too
verbose, and it's not often the proper fix.
2025-05-17 19:56:40 -07:00
Riley Bruins
bf20dcde06
feat: code action to prefix caps with underscore (#122)
Some checks are pending
CI / Generate schema (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
2025-05-12 22:10:28 -07:00
Riley Bruins
8ce3e85115
refactor: make diagnostics thread safe (#114)
* refactor: remove text provider param from diagnostics function

* refactor: make diagnostics thread safe

This refactor allows the diagnostics to be asynchronous with no worries
of deadlock. This, of course, required a lot of changes because of
function coloring. As such, CLI methods are now asynchronous. This
commit also removes the dependency on `rayon`, and adds the `futures`
crate.
2025-05-11 20:16:07 -07:00
Riley Bruins
da9205ebc8 test: coverage for *some* lint warnings 2025-05-05 20:08:47 -07:00
Riley Bruins
da60e772e5 test: coverage for format --check 2025-05-05 20:08:47 -07:00
Will Lillis
4a3e0a034e
test: CLI format writing test (#102)
* chore: bump rstest to 0.25.0

* test: CLI format writing test
2025-04-30 22:43:28 -07:00