-
## use_set_state_synchronously
I propose a new lint, akin to its counterpart, `use_build_context_synchronously`, but for setState() invocations.
## Description
Use setState() synchronously an…
-
Once #660 is in master, we support excluding specific linters.
A linter linting exclusion comments without a list of excluded linters would be nice to have.
Ideally it would say something like
…
-
Discovered in the wild a number of cases like this:
`typedef A(B);`
`typedef B(dynamic);`
Both of them are essentially equivalent to `dynamic->dynamic` which is most likely not what the user has in …
-
### Summary
*Normally*, `&&T` will automatically and silently behave like `&T` and using `foo.map(|t| t.as_ref())` is unneeded. However the `useless_asref` lint has a false positive in the case whe…
-
Right now each lint has a severity and a citation, it would be useful if the lints also had a classification, for example:
- Extended Validation Errors
- Validation Errors
- Encoding Errors
This…
-
RFC 5280, Section 4.1.2.5, [says](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.5):
> The validity period for a certificate is the period of time from
> notBefore through notAf…
-
Applying `// run-rustfix` to `tests/ui/float_cmp_const.rs` causes the `HasPlaceholders` suggestions contained within that lint to be applied.
Do we actually want this behavior? `HasPlaceholders` su…
-
After installing tailwind css with this command
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-
Command tailwindcss -h its working
Output:
C:\Users\…
-
- [x] I have verified that I am on the latest version of the Linter
## Describe the Bug
`alias:` key is removed by the steps below when it should be left blank instead.
## How to Reproduce
…
-
It looks like `custom_lint_client` process is consuming more RAM than the whole `analysis_server`.
![Screenshot 2024-05-07 at 13 58 51](https://github.com/invertase/dart_custom_lint/assets/12709665…