-
## prefer_const_collection_literals
**PREFER** using **const** for instantiating collection literals when possible.
Collection literals which are not assigned to a variable, are preferred to be …
-
## `package_import_contains_dot_dot`
## Description
A package import shouldn't contain '..'.
It is a bad practice for a package import to reference anything outside the
given package, or mor…
-
## prefer_contains_with_map
## Description
**DON'T** use **keys.any** or **values.any** to see if a map contains an element.
## Details
Calling **keys.any** or **values.any** to see if a…
-
Just bit me today: an `` is happily ignored without the namespace declaration in *every* file of the project. I think we should warn every project that doesn't declare the `xi` namespace that `xi:incl…
-
```
(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,…
-
Here's a crazy idea: The user installs an ESLint plugin which magically makes their lints faster.
The plugin will run quick-lint-js instead of running certain ESLint rules such as no-undef.
- [ …
-
In theory, const-ness should give apps a performance boost, but during development the lints enforcing const are constantly nagging developers: "Make this const" or "This cannot be const anymore". To …
-
Lint: https://dart-lang.github.io/linter/lints/no_leading_underscores_for_local_identifiers.html
https://user-images.githubusercontent.com/12115586/234104118-e2b10732-a2fb-4389-9679-e6bd2a3ea4bd.…
-
Hello. Ty very much for installation and examples. However I am getting this error. Any idea how to solve?
I am using Windows 10 and pip
![image](https://user-images.githubusercontent.com/192404…
-
Some lints should usually activate only in internal code, yet people might want them to lint code from external macros, too.
We want to give them a way to configure clippy to select the lints that s…