pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:JavaScript
Filter by
11.9k results
insindresorhus (press backspace or delete to remove)closes #2505
I noticed this issue and attempted an implementation.
The rule now produces str.slice(0, -x) instead of str.slice(0, Math.max(0, str.length - x)) when x is a positive numeric
literal.
Please ...
Closes #2946.
Problem
prefer-top-level-await did not flag const f = async () = {}; f(); when the source was parsed by
@typescript-eslint/parser.
Root cause: the rule reads definition.kind from scope-manager ...
References
- https://github.com/openjs-foundation/package-metadata-interoperability-working-group/blob/main/devengines-field-proposal.md
- https://docs.npmjs.com/cli/v11/configuring-npm/package-json#devengines ...
Summary
Safari does not support async iterable streams (for await...of on streams). This causes TypeError: undefined is not a
function when calling imageDimensionsFromStream in Safari.
Changes
- Added ...
Summary
fix: resolve #2503 — filename-case: add $ as an ignored char
Problem
Severity: High | File: rules/filename-case.js
The rule currently strips leading underscores before checking filename case ...
Validate the branch, working tree, and remote before showing the release wizard, so obvious Git errors surface
immediately rather than after the user has answered all the prompts. The full Git task still ...
I am not updating streamfilter to v4 because it requires large changes
https://github.com/nfroidure/streamfilter/blob/master/CHANGELOG.md#400-2024-07-17
Updating the others deps fixes all the existing ...
This adds a handleSignals option to yocto-spinner.
By default, the current behavior is unchanged: when a spinner is active, it subscribes to SIGINT and SIGTERM, stops the
spinner, and exits the process. ...
This PR fix false positives in balanced-punctuation for apostrophes.
Description
The balanced-punctuation rule treats (U+2019) after a word character as an apostrophe and skips it. This works for
company ...
I d like to propose using the iTerm workaround also for the VSCode terminal.
Maybe I am missing something, but the current implementation doesn t work for me in VSCode.
If you like, I could also simplify ...