Repository navigation
fix(deps): update dependency xo to v5 - #374
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/xo-5.x
branch
9 times, most recently
from
September 23, 2026 02:43
faf4647 to
e01e375
Compare
renovate
Bot
force-pushed
the
renovate/xo-5.x
branch
7 times, most recently
from
September 30, 2026 00:09
507477d to
18d47fb
Compare
renovate
Bot
force-pushed
the
renovate/xo-5.x
branch
12 times, most recently
from
October 8, 2026 01:40
e36addc to
d6a48ae
Compare
renovate
Bot
force-pushed
the
renovate/xo-5.x
branch
7 times, most recently
from
October 10, 2026 02:03
f03407c to
d3c9705
Compare
renovate
Bot
force-pushed
the
renovate/xo-5.x
branch
from
October 10, 2026 13:58
d3c9705 to
d1d6bdd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.2→5.0.1Release Notes
xojs/xo (xo)
v5.0.1Compare Source
123616ev5.0.0Compare Source
Breaking
space,semicolon, andprettieroptions are now global only. Setting them in a config item that also hasfiles,ignores, orbasePaththrows an error. Use the@stylistic/indent,@stylistic/semi, andprettier/prettierrules for file-specific overrides. (#895)unicorn/prefer-minimal-ternary: ThecheckVaryingCalleeoption is renamed tocheckVaryingBaseImprovements
package.jsonfiles witheslint-package-jsonspaceoption now also applies to HTML filesn/file-extension-in-import, which auto-fixes and understands TypeScript's.js-for-.tsimport convention (replacesimport-x/extensions)@stylistic/function-paren-newlineFixes
New rules
n/prefer-process-get-builtin-moduleunicorn/no-async-iterator-callbackunicorn/no-multiple-promise-resolver-callsunicorn/no-shorthand-property-overridesunicorn/no-transition-allunicorn/no-unnecessary-string-trimunicorn/no-unsafe-sqlite-interpolationunicorn/no-unused-builtin-method-return(replacesunicorn/no-unused-array-method-return)unicorn/no-unused-iterator-helperunicorn/no-useless-re-exportunicorn/no-useless-set-constructionunicorn/no-using-resource-escapeunicorn/prefer-combined-guardsunicorn/prefer-dom-node-html-methodsunicorn/prefer-iterator-zipunicorn/prefer-temporal-conversionunicorn/prefer-then-catchunicorn/single-line-block-comment-stylenode-test/no-duplicate-mock-timers-enablenode-test/no-expect-failure-without-reasonnode-test/no-import-test-filesnode-test/no-late-test-activitynode-test/no-misused-context-hooknode-test/no-mock-module-after-importnode-test/no-process-chdir-in-testnode-test/no-test-global-configurationnode-test/prefer-mock-accessornode-test/prefer-mock-call-countnode-test/valid-test-tagsv4.0.0Compare Source
Improvements
node:testfiles with the neweslint-node-testplugin*-ignore/*:ignorecomment (likesvelte-ignore), not just a hardcoded list, forcapitalized-commentsNew rules
unicorn/consistent-conditional-object-spreadunicorn/consistent-tuple-labelsunicorn/default-export-styleunicorn/no-accidental-bitwise-operatorunicorn/no-array-concat-in-loopunicorn/no-array-front-mutationunicorn/no-array-sort-for-min-maxunicorn/no-async-promise-finallyunicorn/no-boolean-sort-comparatorunicorn/no-chained-comparisonunicorn/no-collection-bracket-accessunicorn/no-constant-zero-expressionunicorn/no-double-comparisonunicorn/no-duplicate-if-branchesunicorn/no-duplicate-logical-operandsunicorn/no-impossible-length-comparisonunicorn/no-invalid-character-comparisonunicorn/no-invalid-well-known-symbol-methodsunicorn/no-late-event-controlunicorn/no-loop-iterable-mutationunicorn/no-misrefactored-assignmentunicorn/no-nonstandard-builtin-propertiesunicorn/no-selector-as-dom-nameunicorn/no-unnecessary-boolean-comparisonunicorn/no-unnecessary-fetch-optionsunicorn/no-unsafe-promise-all-settled-valuesunicorn/no-useless-compound-assignmentunicorn/no-useless-delete-checkunicorn/no-useless-logical-operandunicorn/no-xor-as-exponentiationunicorn/prefer-abort-signal-anyunicorn/prefer-abort-signal-timeoutunicorn/prefer-aggregate-errorunicorn/prefer-array-flat-mapunicorn/prefer-array-from-asyncunicorn/prefer-array-from-rangeunicorn/prefer-array-iterable-methodsunicorn/prefer-block-statement-over-iifeunicorn/prefer-boolean-returnunicorn/prefer-continueunicorn/prefer-dom-node-replace-childrenunicorn/prefer-error-is-errorunicorn/prefer-flat-math-min-maxunicorn/prefer-group-byunicorn/prefer-hoisting-branch-codeunicorn/prefer-iterator-helpersunicorn/prefer-math-constantsunicorn/prefer-observer-apisunicorn/prefer-promise-tryunicorn/prefer-promise-with-resolversunicorn/prefer-regexp-escapeunicorn/prefer-set-methodsunicorn/prefer-simplified-conditionsunicorn/prefer-single-replaceunicorn/prefer-toggle-attributeunicorn/prefer-unary-minusunicorn/prefer-url-can-parseunicorn/prefer-url-search-parametersunicorn/prefer-while-loop-conditionv3.0.2Compare Source
--fixcorrupting TypeScript files outside the tsconfig7baa7f2v3.0.1Compare Source
91d3e6dv3.0.0Compare Source
Breaking
eslint-config-xo-reactto your config instead. Learn moreeslint-plugin-reactfor everyone held XO back by its slow ESLint-major support, and there's now a competing plugin,@eslint-react, so picking one for all users no longer makes sense.eslint-config-xopackage. The separateeslint-config-xo-typescriptpackage is merged into it.xoToEslintConfigexport with thexo/eslint-adapterimport for editor/ESLint integration. For example,xoToEslintConfig([{space: true, prettier: true}])becomeseslintConfigXo({space: true, prettier: true})fromeslint-config-xo, or simplyexport {default} from 'xo/eslint-adapter';.Improvements
--max-warningsflag to treat warnings as errors (#724)New rules
no-shadow@typescript-eslint/strict-boolean-expressions@typescript-eslint/no-unnecessary-type-conversionxo/import-specifier-newlineunicorn/better-dom-traversingunicorn/class-reference-in-static-methodsunicorn/consistent-class-member-orderunicorn/consistent-compound-wordsunicorn/consistent-export-decorator-positionunicorn/consistent-json-file-readunicorn/consistent-optional-chainingunicorn/explicit-timer-delayunicorn/logical-assignment-operatorsunicorn/max-nested-callsunicorn/no-array-fill-with-reference-typeunicorn/no-array-from-fillunicorn/no-array-spliceunicorn/no-blob-to-fileunicorn/no-break-in-nested-loopunicorn/no-canvas-to-imageunicorn/no-computed-property-existence-checkunicorn/no-confusing-array-spliceunicorn/no-confusing-array-withunicorn/no-declarations-before-early-exitunicorn/no-duplicate-loopsunicorn/no-duplicate-set-valuesunicorn/no-error-property-assignmentunicorn/no-exports-in-scriptsunicorn/no-global-object-property-assignmentunicorn/no-incorrect-query-selectorunicorn/no-incorrect-template-string-interpolationunicorn/no-late-current-target-accessunicorn/no-mismatched-map-keyunicorn/no-negated-array-predicateunicorn/no-negated-comparisonunicorn/no-non-function-verb-prefixunicorn/no-object-methods-with-collectionsunicorn/no-optional-chaining-on-undeclared-variableunicorn/no-redundant-comparisonunicorn/no-return-array-pushunicorn/no-subtraction-comparisonunicorn/no-top-level-side-effectsunicorn/no-uncalled-methodunicorn/no-undeclared-class-membersunicorn/no-unnecessary-global-thisunicorn/no-unnecessary-nested-ternaryunicorn/no-unnecessary-spliceunicorn/no-unreadable-object-destructuringunicorn/no-unsafe-buffer-conversionunicorn/no-unsafe-property-keyunicorn/no-unsafe-string-replacementunicorn/no-unused-array-method-returnunicorn/no-useless-boolean-castunicorn/no-useless-coercionunicorn/no-useless-concatunicorn/no-useless-continueunicorn/no-useless-elseunicorn/no-useless-overrideunicorn/no-useless-recursionunicorn/no-useless-template-literalsunicorn/operator-assignmentunicorn/prefer-add-event-listener-optionsunicorn/prefer-array-from-mapunicorn/prefer-array-last-methodsunicorn/prefer-array-sliceunicorn/prefer-direct-iterationunicorn/prefer-early-returnunicorn/prefer-else-ifunicorn/prefer-get-or-insert-computedunicorn/prefer-global-number-constantsunicorn/prefer-has-checkunicorn/prefer-httpsunicorn/prefer-identifier-import-export-specifiersunicorn/prefer-includes-over-repeated-comparisonsunicorn/prefer-iterable-in-constructorunicorn/prefer-iterator-to-arrayunicorn/prefer-iterator-to-array-at-endunicorn/prefer-location-assignunicorn/prefer-map-from-entriesunicorn/prefer-math-absunicorn/prefer-minimal-ternaryunicorn/prefer-number-coercionunicorn/prefer-number-is-safe-integerunicorn/prefer-object-define-propertiesunicorn/prefer-object-destructuring-defaultsunicorn/prefer-object-iterable-methodsunicorn/prefer-path2dunicorn/prefer-private-class-fieldsunicorn/prefer-queue-microtaskunicorn/prefer-scoped-selectorunicorn/prefer-simple-sort-comparatorunicorn/prefer-single-array-predicateunicorn/prefer-single-object-destructuringunicorn/prefer-smaller-scopeunicorn/prefer-split-limitunicorn/prefer-string-match-allunicorn/prefer-string-pad-start-endunicorn/prefer-string-repeatunicorn/prefer-type-literal-lastunicorn/prefer-uint8array-base64unicorn/prefer-unicode-code-point-escapesunicorn/prefer-url-hrefunicorn/require-array-sort-compareunicorn/require-css-escapeunicorn/require-passive-eventsunicorn/require-proxy-trap-boolean-returnConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.