Victorien Elvinger
Victorien Elvinger
Hi @you-5805, thanks for letting us know the obstacles you encounter. Do you think we could ship a minimal and consistent implementation? "Complex" tests could be commented for the time...
@you-5805 Sorry, I missed your reply. I think you are setting the expectation too high. In several rules we implemented we decided to slightly diverge from ESLint and thus to...
> Thanks to your advice, most of the problems have been resolved. There's just one remaining TODO: [#1133 (comment)](https://github.com/biomejs/biome/pull/1133#discussion_r1437686746). > > If possible, I would like to proceed with this...
@lgarron You could use [Array.proptotype.entries()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries) as follows: ```js for (const [idx, entry] of data.entries()) { console.log(`Entry at idx ${idx}: ${entry}`); } ```
> When not chained, wouldn't Array.prototype.entries(β¦) be worse for performance, since it results in an unnecessary array construction? I am unsure about this. Because these arrays are short-lived, their cost...
To fix this issue, I propose adding a code fix that turns `forEach` into `for of`. The code fix should take the use of indexes into account. If indexes are...
@2-NOW You could be interested in this issue.
Thanks for bring this. It is something I had in mind since a long time (we discussed it on Discord). Some suggestions: - I think we can omit the URL...
Question: if `source` is set, then `source_kind` should be set? If yes, then we should certainly merge the two fields into a single one? Using a tuple: ```rs declare_rule! {...
> Thanks, but I finally got it! > > I noticed that the rule doesn't report expressions with an interpolated template literal and non-string expressions: > > ```js > `a${1}`...