Skip to content

pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:CSS language:JavaScript

Filter by

12k results  (287 ms)

12k 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 ...

第一轮我主要做了三件事:先理清 github-markdown.css、light、dark 三个样式文件和构建关系;再定位移动端最影响阅读的几个问题(表格、代码块、图片等溢出);最后落地了一版移动端优化样式(新增 github-markdown-mobile.css)并做了前后对比验证,确认显示效果有改善。

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 ...