chore(deps): update dependency xo to v0.39.1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| xo | 0.32.1 -> 0.39.1 |
Release Notes
xojs/xo
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
esnextoptione80c094 -
unicorn/prevent-abbreviationsrule: Rename options https://github.com/sindresorhus/eslint-plugin-unicorn/commit/cf42cc57029cc48e0305c07019a277247e149b4f -
unicorn/no-keyword-prefixrule: Renameblacklistoption todisallowedPrefixeshttps://github.com/sindresorhus/eslint-plugin-unicorn/commit/91e60d05d67fd109b4c05b50abe3ff9fcbad1097
Improvements
- Add
--print-configflag (#529)7b8dc70 - Disable the
import/defaultrule for TypeScript filese3c511b - Disable the
import/exportrule for TypeScript filesb385bee
v0.38.2
- Disable the
node/file-extension-in-importrule for TypeScript projects (#523)1eb8230It 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
.mjsand.cjsas default extensions (#521)2e05c81 - Allow file extension for
import/no-unassigned-importallow 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→errorfor variable namesd801095 - Enforce some inclusive wording
0ec4b8c
v0.36.1
- Fix a bug in v0.36
a186078
v0.36.0
- Add
processoroptionbf6eb25 - 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-stylerule for TypeScript projects77716e2It 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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ 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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Branch automerge failure
This PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.
- Branch has one or more failed status checks
:tada: This PR is included in version 11.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: