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.28.3
->0.45.0
Release Notes
xojs/xo
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
v0.37.1
Compare Source
f56d90d
v0.37.0
Compare Source
New rules
no-unsafe-optional-chaining
no-useless-backreference
default-case-last
no-nonoctal-decimal-escape
unicorn/prefer-array-some
unicorn/prefer-default-parameters
unicorn/no-lonely-if
unicorn/empty-brace-spaces
unicorn/prefer-date-now
@typescript-eslint/non-nullable-type-assertion-style
@typescript-eslint/no-confusing-void-expression
Renamed rules
Only affects you if you had any of these rules disabled.
unicorn/no-fn-reference-in-iterator
→unicorn/no-array-callback-reference
unicorn/no-array-instanceof
→unicorn/no-instanceof-array
unicorn/no-reduce
→unicorn/no-array-reduce
unicorn/prefer-dataset
→unicorn/prefer-dom-node-dataset
unicorn/prefer-flat-map
→unicorn/prefer-array-flat-map
unicorn/prefer-replace-all
→unicorn/prefer-string-replace-all
unicorn/prefer-starts-ends-with
→unicorn/prefer-string-starts-ends-with
unicorn/prefer-text-content
→unicorn/prefer-dom-node-text-content
unicorn/prefer-trim-start-end
→unicorn/prefer-string-trim-start-end
unicorn/prefer-event-key
→unicorn/prefer-keyboard-event-key
unicorn/prefer-node-append
→unicorn/prefer-dom-node-append
unicorn/prefer-node-remove
→unicorn/prefer-dom-node-remove
Improvements
211f295
err
→error
for variable namesd801095
0ec4b8c
v0.36.1
Compare Source
a186078
v0.36.0
Compare Source
processor
optionbf6eb25
7731ea1
v0.35.0
Compare Source
New rules
@typescript-eslint/no-unnecessary-type-constraint
@typescript-eslint/space-infix-ops
Improvements
b1012d3
0555859
6fa99cd
v0.34.2
Compare Source
extensions
option (#503)35e6336
v0.34.1
Compare Source
unicorn/import-style
rule for TypeScript projects77716e2
It wants to use
import path from 'path';
which is not always possible.v0.34.0
Compare Source
New rules
unicorn/import-style
unicorn/prefer-math-trunc
@typescript-eslint/consistent-indexed-object-style
@typescript-eslint/no-duplicate-imports
@typescript-eslint/comma-dangle
@typescript-eslint/no-loop-func
@typescript-eslint/no-implicit-any-catch
Improvements
ba547e7
v0.33.1
Compare Source
ead63be
v0.33.0
Compare Source
New rules
no-unreachable-loop
no-promise-executor-return
no-loss-of-precision
unicorn/prefer-array-find
unicorn/no-object-as-default-parameter
@typescript-eslint/prefer-literal-enum-member
@typescript-eslint/no-loss-of-precision
@typescript-eslint/ban-tslint-comment
Improvements
f45ab80
v0.32.1
Compare Source
v0.32.0
Compare Source
0dd4a9d
import/extensions
ruled3abdb6
v0.31.0
Compare Source
New rules
unicorn/prefer-optional-catch-binding
unicorn/no-reduce
@typescript-eslint/lines-between-class-members
@typescript-eslint/no-invalid-void-type
@typescript-eslint/prefer-ts-expect-error
@typescript-eslint/no-unnecessary-condition
import/no-anonymous-default-export
import/no-named-default
Improvements
6a05691
v0.30.0
Compare Source
New rules
@typescript-eslint/class-literal-property-style
rule@typescript-eslint/prefer-readonly-parameter-types
rule@typescript-eslint/no-base-to-string
rule@typescript-eslint/keyword-spacing
rule@typescript-eslint/method-signature-style
rule@typescript-eslint/prefer-reduce-type-parameter
rule@typescript-eslint/no-floating-promises
ruleFixes
prettier
dependency at2.0.4
until we can resolve #466--stdin --fix
(#460)07e2762
v0.29.1
Compare Source
tap-snapshots/*.cjs
to default ignore list (#461)4783f26
unicorn/string-content
rule (#462)967927d
v0.29.0
Compare Source
New rules
unicorn/prefer-number-properties
unicorn/prefer-set-has
@typescript-eslint/class-literal-property-style
@typescript-eslint/no-unsafe-return
@typescript-eslint/no-unsafe-member-access
@typescript-eslint/no-unsafe-call
@typescript-eslint/prefer-readonly-parameter-types
@typescript-eslint/no-base-to-string
Improvements
e05efc3
nodeVersion
in XO config to overrideengines.node
(#457)f20f6d2
ignore
option toexpiring-todo-comment
ruleConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.