fisker Cheung

Results 1279 comments of fisker Cheung

Maybe we can support `[value="1" number]` like `i` and `s` in [CSS Attribute selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors)?

Wow, I found a workaround `Literal[value="1"][value.constructor.name="Number"]` 😄

@Rec0iL99 Let me change the question. How should I fix my case?

Types already available https://github.com/eslint-types/define-config-plugin-types/tree/main/types/unicorn Maybe @Shinigami92 can help us move to this repo?

We have test for it. https://github.com/prettier/prettier/blob/6ed37ad85731e4e62d81481d40dfd98c6a675a10/tests/integration/__tests__/cli.js#L6

I can't reproduce on my machine, what NPM client are you using? Can someone setup a reproduction repo?

Yes, same problem with the repro steps in linked issue. ```js ls -l node_modules/prettier/bin/prettier.cjs # -rwxr-xr-x 1 ... .... 2141 Sep 4 12:59 node_modules/prettier/bin/prettier.cjs rm -rf ./node_modules/prettier/ npm install ls...

> We didn't have this problem before recently, and I don't see it with other executables. It's easy to check with other libraries in the same way that I did....

Remove this line should fix this https://github.com/sindresorhus/eslint-plugin-unicorn/blob/231529aee793251f30416b93dc3d5f9bfa27ee47/rules/no-array-callback-reference.js#L238 PR welcome.