-
R accepts single-line bodies, without curly braces, for the`if` and the `for` statements.
Is there any reason why lintr accepts that for `if` but not for `for`? For instance:
```
> lint("if (TR…
-
When outside a function call, `brace_linter()` lints both the opening and the closing braces:
``` r
lint(text = "1:4 %>% { sum(.) }", linters = brace_linter())
#> :1:9: style: [brace_linter] Open…
-
### Description
Add a pre-commit hook and GHA workflow to apply the `black` linter to Python files.
### Expected coding style
ITK contains numerous Python files: by applying a pre-commit hook…
-
### What is the user problem or growth opportunity you want to see solved?
If we start using a linter, maintaining the code style in the project will be easier. Also this will save some time for too,…
-
## avoid_mutable_tearoffs
## Description
Avoid capturing methods from mutable variables as tear-offs, as this can result in unintended behavior by referencing the method of a specific instance r…
-
## `move_color_to_decoration`
## Description
Don't provide `Container` with both non-null `color` and `decoration`. Place `color` inside `decoration` instead.
## Details
When a `Container`…
-
We should set up a linter within the project and be sure that everybody is formatting on save so the code doesn't become a blob made of different styles.
-
## no_nullable_values_in_interpolated_strings
## Description
Do not use nullable values in interpolated strings.
## Details
TODO:
See: https://github.com/dart-lang/language/issues/2053.…
-
Negative conditionals are conditional expressions that use the logical negation operator `!` to invert the value of a boolean expression.
For example, the following code uses a negative conditional:
…
-
This issue is suppose to be main issue on the problem of disappeared annotations. I'll use it to collect all info on this topic from all other issues to see a big picture of what's going on and to kee…