-
Great plugin, I love it! Tho it may be a challenge to fix all the warnings in a big codebase.
-
### Description
Applying fix on this situation:
```rs
fn f(v: Vec) {
let mut i = 0;
for e in &v { // consider using: `for (i, e) in v.iter().enumerate()`
println!("{i}: {e}");
…
-
i use the plugin with vue3
```js
watch(
() => props.visible,
(newVal, oldVal) => {
// code
},
{ deep: true },
);
```
Repair results
```js
watch(
() => props.…
-
Thanks @InSyncWithFoo for adding an autofix in https://github.com/astral-sh/ruff/pull/14217 .
* A minimal code snippet that reproduces the bug.
I did notice an issue that I think should be p…
-
-
Some people seem to like building up an `Array`, by starting with an empty list and calling `concat()` with extra items.
A trivial minimal reproduction would look like this:
```js
const a = [].co…
-
Some issues, such as `journal` instead of `journaltitle` are autofixable. An autofix option could replace those with the correct version.
-
同样的代码,为什么在demo跑和引入项目跑会是两种完全不同的效果
final String MYHTML = " @爱瑜伽的二哈 JJ监控";
RichText.from(MYHTML)
.autoFix(true)
…
-
When applying `Minitest/AssertMatch` (or `Minitest/RefuteMatch`)'s auto-fix to the following the working code:
```ruby
require "minitest/autorun"
class AssertMatchTest < Minitest::Test
def t…
-
When running data-test attribute (angular) autofix it is not applied to templates where control flow syntax is used and warnings are not shown either.
![Code_5UpZswQ4YD](https://github.com/user-att…