-
Is there any intention/roadmap for vint to include a safe autofix?
drzln updated
5 years ago
-
### ESLint version
8.56.0
### What problem do you want to solve?
Some rules provide autofixing, which is great, but can sometimes be broken or otherwise simply unwanted for various reasons.
Unsafe…
-
## Description
I think it's a common case that repos want to enforce a convention of explicit versioning. So if we have a rule that is banning a given specifier type, I think that needs manual attent…
-
This took me a while to figure out but the `ESLintLinter` uses the column from ESLint to tell Arc what to fix:
```
$message->setChar(idx($offense, 'column'));
```
However this is the p…
-
Hi I hope you can help me a little. (FIY: I am using a bunch of plug-ins for years now using this very method)
I am using external .yaml files for plugins, secrets and such.
Here is the beginning …
-
- I think the autofix is not safe
- Ruff version: 0.6.4
- Ruff command: `ruff check --preview --fix`
```py
d: dict[tuple[int, str], bool] = {}
d[1, "a"] = True
for n, c in d:
print(n, c)
…
-
I want to use eslint's autofix to fix layouts only.
Like this: `eslint --fix --fix-type layout`
(--fix-type: https://eslint.org/docs/user-guide/command-line-interface#fix-type )
To work that one pl…
ghost updated
2 years ago
-
My expectations for this are:
1. it must be configured explicitly via some rule config option, since it makes external modifications
- i.e., if you use autofix and this rule, it won't attempt insta…
-
It would be great if `dart fix` could fix `dead_null_aware_expression`.
In particular, consider an API like this:
```dart
int? foo() => 0;
void main() {
int x = foo() ?? 0;
}
```
If …
Hixie updated
5 months ago
-
My file starts with `// @flow`, but that comment gets erased with autofix.
I'll gladly fix this, I'm just wondering if it's ok that I completely remove the replacing behavior. I think it was meant …