-
This code should follow the [pedantic](https://pub.dartlang.org/packages/pedantic) static analysis options. I tried to do this myself, but apparently, the "include" directive in `analysis_options.yaml…
-
```
(wpt-env) C:\Users\geoff\Documents\projects\wpt\tools [master ≡]> tox -e py27 -- --no-cov -vv
py27 create: C:\Users\geoff\Documents\projects\wpt\tools\.tox\py27
py27 installdeps: flake8==3.5.0,…
-
We need a git hook to enforce conventional commits.
- [ ] hook script that lints the commit msg
- [ ] script that installs git hooks (might add more later)
-
## Problem description / Motivation
As an example, #807 was caused by failing to call `.Inc()` on the `prometheus.Counter` returned by `WithLabelValues(...)`.
It'd be good to have automated chec…
-
With warnings in particular (but potentially also with errors), it may be preferable to emit a diagnostic *then continue generating macro output*.
Until we get better support for proc-macro errors …
-
It seems like this plugin only lints on save, not autocorrect. I'm used to being able to just save a file and have it auto-run formatters to correct mistakes. Can that be added?
This is somewhat r…
-
Similar to `dart_style`, we have some style requirements for dart documentation, i.e.
``` dart
/// Represents a `Foo` object.
///
/// ## Example
/// new Foo(...)
class Foo {}
```
Ideas:
- [ ] Sh…
-
If a function takes an argument by reference, but later calls `.clone()` on it (or otherwise requires an `impl Clone` or `impl Copy` from it), lint that taking it by ownership allows the caller to pas…
-
### Description
It should be possible to be able to decide whether a query uses case sensitivity or not.
Example: `where: Todo.NAME.beginsWith('foo', caseSensitive: false)`
Something among th…
-
## 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…