cli
cli copied to clipboard
Update dependency xo to v0.59.3
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
xo | 0.32.0 -> 0.59.3 |
Release Notes
xojs/xo (xo)
v0.59.3
- Allow using experimental Node.js features
3eb8436
- Fix TypeScript extension support (#β764)
46a91e0
v0.59.2
v0.59.1
v0.59.0
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
v0.58.0
- TypeScript: Disable
default-case
rule to avoid conflict with stricter@typescript-eslint/switch-exhaustiveness-check
rule
v0.57.0
Breaking
- Require Node.js 18
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
v0.55.1
- Lock down
eslint-plugin-import
dependency to patch versions only0a71db5
v0.55.0
Breaking
- Require Node.js 16
004e3b3
New rules
v0.54.2
v0.54.1
v0.54.0
New rules
-
unicorn/no-typeof-undefined
-
unicorn/no-negated-condition
-
unicorn/prefer-set-size
-
@typescript-eslint/no-duplicate-type-constituents
Improvements
v0.53.1
v0.53.0
Breaking
- Require Node.js 14
91d10d1
- TypeScript: It will now use inline type imports when auto-fixing https://github.com/xojs/eslint-config-xo-typescript/commit/e41f4a4032882da4f19d4ff69d303f8a1f2e127d
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
v0.52.3
v0.52.2
v0.52.1
v0.52.0
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. - More info
-
Improvements
v0.51.0
- Internal: Include
rulesMeta
in linting results (#β674)cd86133
- This is meant for editor plugins and formatters.
v0.50.0
v0.49.0
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
- Single-quotes is now enforced for JSX instead of double-quotes https://github.com/xojs/eslint-config-xo/pull/78
v0.48.0
New rules
-
unicorn/no-thenable
-
unicorn/no-useless-promise-resolve-reject
-
unicorn/relative-url-style
-
unicorn/prefer-json-parse-buffer
TypeScript-only
- Disallow
null
https://github.com/xojs/eslint-config-xo-typescript/commit/0d1c7193b6ba6e2cb86de47fdd7e5a172f523abd
v0.47.0
New rules
-
unicorn/no-empty-file
-
unicorn/prefer-export-from
-
unicorn/prefer-code-point
-
unicorn/no-await-expression-member
Improvements
- Enforce extensions on TypeScript files as well (#β639)
0e90967
- Rename some replacements in
prevent-abbreviations
(#β620)1d2409f
v0.46.4
v0.46.3
- Fix an issue with npm not including bundledDependencies when publishing.
v0.46.2
- Fix an issue with importing a dependency
653887a
v0.46.1
- Fix an issue with npm not including
bundledDependencies
when publishing.
v0.46.0
Breaking
New rules
Improvements
Fixes
v0.45.0
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
- Replace Prettier's
jsxBracketSameLine
option withbracketSameLine
(#β609)506c151
- Enable
import/named
rule for JavaScript (#β601)623f259
v0.44.0
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
- Improve performance (#β583)
e2e715d
- Change
trailingComma
option for Prettier toall
(#β586)68cb5ab
Fixes
v0.43.0
Improvements
- Enforce importing
process
andBuffer
in Node.js explicitly9f40074
- This is the recommendation in the Node.js docs.
- Upgrade dependencies
f2c5041
Fixes
v0.42.0
New rules
Improvements
v0.41.0
Breaking
- XO can no longer be installed globally.
- It caused too many problems. Instead, you can run the local XO binary with
$ npx xo
.
- It caused too many problems. Instead, you can run the local XO binary with
- XO now enforces trailing comma in multiline statements.
- This has a lot of benefits.
- Prettier also enforces this by default.
- If you don't want it, you can disable the
comma-dangle
rule, and@typescript-eslint/comma-dangle
if you use TypeScript.
- Change
operator-linebreak
rule to enforce operatorsbefore
.- This way is more readable.
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
v0.40.2
v0.40.1
v0.40.0
Breaking
- XO now enforces that your project is ESM If you cannot yet move to ESM, I recommend staying on XO 0.39 for now.
- Require Node.js 12.20
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
- Move from deprecated
ESLint.CLIEngine
toESLint
(#β534)0480d80
This should hopefully resolve a bunch of issues.
v0.39.1
- Fix a problem with using XO with Prettier
fa34c74
v0.39.0
New rules
-
unicorn/no-static-only-class
-
unicorn/prefer-array-flat
-
unicorn/prefer-switch
-
@typescript-eslint/no-unsafe-argument
Breaking
- Remove the
esnext
optione80c094
-
unicorn/prevent-abbreviations
rule: Rename options https://github.com/sindresorhus/eslint-plugin-unicorn/commit/cf42cc57029cc48e0305c07019a277247e149b4f -
unicorn/no-keyword-prefix
rule: Renameblacklist
option todisallowedPrefixes
https://github.com/sindresorhus/eslint-plugin-unicorn/commit/91e60d05d67fd109b4c05b50abe3ff9fcbad1097
Improvements
- Add
--print-config
flag (#β529)7b8dc70
- Disable the
import/default
rule for TypeScript filese3c511b
- Disable the
import/export
rule for TypeScript filesb385bee
v0.38.2
- Disable the
node/file-extension-in-import
rule for TypeScript projects (#β523)1eb8230
It doesn't work properly with TypeScript projects.
v0.38.1
- Fix a problem in v0.38.0
8b2fa78
v0.38.0
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
- Add auto-fix for fixing file extensions in imports
f4f6b39
- Add
.mjs
and.cjs
as default extensions (#β521)2e05c81
- Allow file extension for
import/no-unassigned-import
allow list8156d42
Fixes
v0.37.1
- Fix TypeScript not supporting extensions
f56d90d
v0.37.0
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
- Improve ESM compatibility
211f295
- Enforce
err
βerror
for variable namesd801095
- Enforce some inclusive wording
0ec4b8c
v0.36.1
- Fix a bug in v0.36
a186078
v0.36.0
- Add
processor
optionbf6eb25
- Disable warnings when running in a GitHub Actions workflow (#β508)
7731ea1
v0.35.0
New rules
Improvements
v0.34.2
v0.34.1
- Disable the
unicorn/import-style
rule for TypeScript projects77716e2
It wants to useimport path from 'path';
which is not always possible.
v0.34.0
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
v0.33.1
- Fix setting multiple of some CLI flags
ead63be
v0.33.0
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
v0.32.1
- Dependency updates
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.