mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
64e6a4c71f
Enable the unicorn/prefer-at rule as error in .oxlintrc.json and fix all 43 pre-existing violations (arr[arr.length - 1] -> arr.at(-1)) via oxlint autofix. Where .at() widened the type to T | undefined, non-null assertions were added at sites where surrounding logic guarantees the element exists (length guards, split results), preserving the original runtime behavior and typing. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The RubyGems team urges gem developers to follow the Semantic Versioning standard for their gem’s versions, but it is not enforced.
Range syntax is similar to npm's but not identical. The main difference is the use of "pessimistic" greater than or equals: ~>