fregante
fregante
### Description The problem should be self-explanatory:  The field should become focused and an active drop area when user is attempting to drop something. ### Example URLs https://github.com/refined-github/refined-github/issues/new?assignees=&labels=enhancement%2C+under+discussion&projects=&template=2_feature_request.yml
I'm opening this tracking issue for the upgrade. I found this useful thread with some tips: https://x.com/karlhorky/status/1792500811307622631, namely "Upgrade to flat config with ESLint 8, _then_ upgrade to ESLint 9"...
This might be ideal from a dependency count standpoint, ~~or actually _**required**_ to enable:~~ - #757 - #702 - Blocked by https://github.com/import-js/eslint-plugin-import/pull/3018 This is similar to the work done to...
### Description It was mentioned in https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1323 but it was closed in favor of `prefer-array-find`, which only covered `filter` instead. ### Fail ```js array.reverse().find(logic); array.reverse().findIndex(logic); array.reverse().indexOf(logic); array.reverse().reduce(logic); array.toReversed().find(logic); array.toReversed().findIndex(logic); array.toReversed().indexOf(logic);...
### Description _Originally posted in https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2410#issuecomment-2255792543_ > you should still prefer nothing at all over `globalThis` in some cases (unless you're using `?.`), like you wouldn't use `new globalThis.Image()` or...
The rule uses a package "Published 7 years ago" https://www.npmjs.com/package/clean-regexp and it's the source of [a lot of issues](https://github.com/sindresorhus/eslint-plugin-unicorn/issues?q=+%22better-regex%22+is%3Aissue). Currently open: - https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2314 - https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1754 - https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1626 - https://github.com/sindresorhus/eslint-plugin-unicorn/issues/895 Then...
I've come to dislike `switch` because it's become so noisy and verbose over plain if/else, even if I have to repeat the condition multiple times. This: ```js if (event.key ===...
- Follows https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2382 - https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2324 The PR (v55) silenced type issues when importing the plugin, but it does not actually enforce a valid configuration nor helps auto-completion in the IDE....
### Describe the feature or problem you’d like to solve In my [npm publish workflow](https://github.com/fregante/ghatemplates/blob/b86949b5269b54c5a17f05c215b1d662301f3e67/npm-publish/npm-publish.yml#L24-L33), I generate a version and tag via `npm version minor` and I want to reuse...
https://nodejs.org/api/globals.html No need to import an external module. VS Code July 2024 includes Electron 30, which includes node 20.14, which includes native websockets: https://code.visualstudio.com/updates/v1_92 Before then, the last Electron/Node update...