OpenTecBan-Service
OpenTecBan-Service copied to clipboard
chore(deps): update dependency xo to v0.61.1
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| xo | 0.32.1 -> 0.61.1 |
Release Notes
xojs/xo (xo)
v0.61.1
v0.61.0
v0.60.0
New rules
-
unicorn/no-length-as-slice-end -
unicorn/prefer-global-this -
unicorn/prefer-math-min-max -
unicorn/consistent-existence-index-check
Improvements
- Update dependencies
0c2be9c
v0.59.3
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-caserule to avoid conflict with stricter@typescript-eslint/switch-exhaustiveness-checkrule
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-importdependency 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 xojs/eslint-config-xo-typescript@
e41f4a4
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-
typeandinterfaceare almost interchangeable. The main difference is thatinterfacecan 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-disablecomment in the few cases where you need the declaration to be extendable. - More info
-
Improvements
v0.51.0
- Internal: Include
rulesMetain 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 xojs/eslint-config-xo#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
nullxojs/eslint-config-xo-typescript@0d1c719
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
bundledDependencieswhen 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
jsxBracketSameLineoption withbracketSameLine(#609)506c151 - Enable
import/namedrule 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
Fixes
v0.43.0
Improvements
- Enforce importing
processandBufferin 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-danglerule, and@typescript-eslint/comma-dangleif you use TypeScript.
- Change
operator-linebreakrule 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.CLIEnginetoESLint(#534)0480d80This 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
esnextoptione80c094 -
unicorn/prevent-abbreviationsrule: Rename options sindresorhus/eslint-plugin-unicorn@cf42cc5 -
unicorn/no-keyword-prefixrule: Renameblacklistoption todisallowedPrefixessindresorhus/eslint-plugin-unicorn@91e60d0
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 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.