chore(deps): update dependency xo to ^0.60.0 #433
+5,308
−6,806
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:
^0.37.1
->^0.60.0
Release Notes
xojs/xo (xo)
v0.60.0
Compare Source
New rules
unicorn/no-length-as-slice-end
unicorn/prefer-global-this
unicorn/prefer-math-min-max
unicorn/consistent-existence-index-check
Improvements
0c2be9c
v0.59.3
Compare Source
3eb8436
46a91e0
v0.59.2
Compare Source
nodeVersion: false
option (#762)c965843
v0.59.1
Compare Source
9cdab84
v0.59.0
Compare Source
New rules
unicorn/no-single-promise-in-promise-methods
unicorn/no-await-in-promise-methods
unicorn/no-anonymous-default-export
unicorn/consistent-empty-array-spread
unicorn/no-invalid-fetch-options
unicorn/no-magic-array-flat-depth
unicorn/prefer-structured-clone
unicorn/no-negation-in-equality-check
@typescript-eslint/no-unnecessary-parameter-property-assignment
@typescript-eslint/use-unknown-in-catch-callback-variable
Breaking
eslint-plugin-promise
(#656)b168f08
v0.58.0
Compare Source
default-case
rule to avoid conflict with stricter@typescript-eslint/switch-exhaustiveness-check
rulev0.57.0
Compare Source
Breaking
3b9d372
New rules
logical-assignment-operators
prefer-object-has-own
object-curly-newline
unicorn/no-unnecessary-polyfills
@typescript-eslint/prefer-find
@typescript-eslint/no-array-delete
@typescript-eslint/prefer-promise-reject-errors
v0.56.0
Compare Source
.mts
,.cts
) (#728)04552b8
v0.55.1
Compare Source
eslint-plugin-import
dependency to patch versions only0a71db5
v0.55.0
Compare Source
Breaking
004e3b3
New rules
unicorn/prefer-blob-reading-methods
@typescript-eslint/no-unsafe-enum-comparison
v0.54.2
Compare Source
498aece
v0.54.1
Compare Source
658d376
v0.54.0
Compare Source
New rules
unicorn/no-typeof-undefined
unicorn/no-negated-condition
unicorn/prefer-set-size
@typescript-eslint/no-duplicate-type-constituents
Improvements
a815db3
v0.53.1
Compare Source
9bee815
v0.53.0
Compare Source
Breaking
91d10d1
New rules
no-empty-static-block
no-new-native-nonconstructor
unicorn/no-unnecessary-await
unicorn/switch-case-braces
unicorn/prefer-logical-operator-over-ternary
unicorn/prefer-event-target
@typescript-eslint/no-unsafe-declaration-merging
v0.52.4
Compare Source
extends
(#686)e69a192
v0.52.3
Compare Source
a608bf1
v0.52.2
Compare Source
4cf8b05
v0.52.1
Compare Source
de5f878
v0.52.0
Compare Source
New rules
@typescript-eslint/consistent-type-exports
@typescript-eslint/consistent-type-imports
@typescript-eslint/consistent-generic-constructors
@typescript-eslint/consistent-type-definitions
type
andinterface
are almost interchangeable. The main difference is thatinterface
can be extended from anywhere, which can be useful in a few cases, but can most often cause surprising hard to track down behavior. XO prefers being strict by default and have chosentype
. Just use aneslint-disable
comment in the few cases where you need the declaration to be extendable.Improvements
b661eb8
v0.51.0
Compare Source
rulesMeta
in linting results (#674)cd86133
v0.50.0
Compare Source
eslint-plugin-node
's maintained fork (#660)3a4c9c9
v0.49.0
Compare Source
New rules
no-constant-binary-expression
unicorn/text-encoding-identifier-case
unicorn/no-useless-switch-case
unicorn/prefer-modern-math-apis
unicorn/no-unreadable-iife
unicorn/prefer-native-coercion-functions
@typescript-eslint/no-duplicate-enum-values
@typescript-eslint/parameter-properties
@typescript-eslint/space-before-blocks
@typescript-eslint/no-useless-empty-export
@typescript-eslint/no-redundant-type-constituents
Breaking
v0.48.0
Compare Source
New rules
unicorn/no-thenable
unicorn/no-useless-promise-resolve-reject
unicorn/relative-url-style
unicorn/prefer-json-parse-buffer
TypeScript-only
null
xojs/eslint-config-xo-typescript@0d1c719v0.47.0
Compare Source
New rules
unicorn/no-empty-file
unicorn/prefer-export-from
unicorn/prefer-code-point
unicorn/no-await-expression-member
Improvements
0e90967
prevent-abbreviations
(#620)1d2409f
v0.46.4
Compare Source
261696e
v0.46.3
Compare Source
v0.46.2
Compare Source
653887a
v0.46.1
Compare Source
bundledDependencies
when publishing.v0.46.0
Compare Source
Breaking
dddc991
New rules
unicorn/template-indent
Improvements
431887d
Fixes
c9bbfb1
v0.45.0
Compare Source
New rules
no-bitwise
unicorn/no-useless-fallback-in-spread
unicorn/no-invalid-remove-event-listener
@typescript-eslint/naming-convention
@typescript-eslint/no-restricted-imports
@typescript-eslint/no-non-null-asserted-nullish-coalescing
@typescript-eslint/padding-line-between-statements
@typescript-eslint/no-meaningless-void-operator
Improvements
jsxBracketSameLine
option withbracketSameLine
(#609)506c151
import/named
rule for JavaScript (#601)623f259
v0.44.0
Compare Source
New rules
unicorn/prefer-object-from-entries
unicorn/no-useless-length-check
unicorn/no-useless-spread
@typescript-eslint/prefer-return-this-type
@typescript-eslint/ban-ts-comment
Improvements
e2e715d
trailingComma
option for Prettier toall
(#586)68cb5ab
Fixes
xo --print-config
without a filename (#587)5ff95ad
v0.43.0
Compare Source
Improvements
process
andBuffer
in Node.js explicitly9f40074
f2c5041
Fixes
512291b
v0.42.0
Compare Source
New rules
import/newline-after-import
f81e933
Improvements
globby
dependency (#574)34800b7
v0.41.0
Compare Source
Breaking
$ npx xo
.comma-dangle
rule, and@typescript-eslint/comma-dangle
if you use TypeScript.operator-linebreak
rule to enforce operatorsbefore
.New rules
arrow-body-style
unicorn/require-array-join-separator
unicorn/require-number-to-fixed-digits-argument
unicorn/prefer-prototype-methods
unicorn/no-array-method-this-argument
unicorn/require-post-message-target-origin
v0.40.3
Compare Source
xo.config.cjs
and.xo-config.cjs
(#561)374dd73
v0.40.2
Compare Source
parserOptions
for TypeScript (#557)7ace6e5
v0.40.1
Compare Source
d2c5750
parserOptions
option (#544)e9c96a1
v0.40.0
Compare Source
Breaking
If you cannot yet move to ESM, I recommend staying on XO 0.39 for now.
cc06c3c
New rules
unicorn/prefer-node-protocol
unicorn/prefer-module
unicorn/no-document-cookie
unicorn/numeric-separators-style
unicorn/prefer-array-flat
unicorn/prefer-array-flat-map
Meta
ESLint.CLIEngine
toESLint
(#534)0480d80
This should hopefully resolve a bunch of issues.
v0.39.1
Compare Source
fa34c74
v0.39.0
Compare Source
New rules
unicorn/no-static-only-class
unicorn/prefer-array-flat
unicorn/prefer-switch
@typescript-eslint/no-unsafe-argument
Breaking
esnext
optione80c094
unicorn/prevent-abbreviations
rule: Rename options sindresorhus/eslint-plugin-unicorn@cf42cc5unicorn/no-keyword-prefix
rule: Renameblacklist
option todisallowedPrefixes
sindresorhus/eslint-plugin-unicorn@91e60d0Improvements
--print-config
flag (#529)7b8dc70
import/default
rule for TypeScript filese3c511b
import/export
rule for TypeScript filesb385bee
v0.38.2
Compare Source
node/file-extension-in-import
rule for TypeScript projects (#523)1eb8230
It doesn't work properly with TypeScript projects.
v0.38.1
Compare Source
8b2fa78
v0.38.0
Compare Source
New rules
unicorn/no-new-array
unicorn/prefer-array-index-of
unicorn/prefer-regexp-test
unicorn/no-array-for-each
unicorn/no-array-push-push
unicorn/no-this-assignment
@typescript-eslint/object-curly-spacing
Improvements
f4f6b39
.mjs
and.cjs
as default extensions (#521)2e05c81
import/no-unassigned-import
allow list8156d42
Fixes
32bd3b8
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 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.