fisker Cheung
fisker Cheung
> We only need to check if one of the sides is a number, right? I thought the same, https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2467#issuecomment-2394841085 Turns out I was wrong ``` 10n > 0 ?...
I think treating `*.js` as `**/*.foo` idea comes from ESLint, but the link https://github.com/prettier/prettier/blob/de30788d30990b35534832ca554f5d5add2d4221/src/config/resolve-config.js#L105 is broken, so I'm not really sure.
I don't understand "pick", are we talking about `files` in `overrides`?
As I said, the `files` in `override` logic part is from ESLint, in previous ESLint config system(now it's called "Legacy config") it works the same. Related code in Prettier core...
Maybe caused by https://github.com/nodejs/node/issues/55410
Maybe too late. [prefer-object-from-entries](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-from-entries.md) should enabled first, it's a special version of the `no-array-reduce` fixes cases creating an object with `array.reduce`.
We can ignore `arguments`, no need an option.
An immediate update makes sense to apply. ```js // ❌ const foo = {} foo.array = [] // ✅ const foo = { array: [] } ``` But after another...
Sorry that I forgot about this one when I open #2775
I'm going to mark this as accepted.