-
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…
-
plot twist. i found this in the docs which is very convenient: https://nuxt.com/docs/api/commands/add
it allows you to quickly scaffold up file starters for things like pages/layouts/components/etc…
-
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 …
-
```
Create a processor responsible for autofixing silly jshint errors, based on
this library: https://github.com/goatslacker/jshint-autofix
```
Original issue reported on code.google.com by `alex.ob…
-
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
-
Review and understand how AI Autofix works
### Deliverables:
- Analysis and feedback on the target architecture
-
introduce an autofix flag which should fix all issues which can be fixed.
-
### Describe the problem
Bundlers can't tree-shake well when React is imported using:
```js
import React from 'react'
```
Replacing it with a star import works better:
```
import * as React f…
-
- 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)
…