-
Notifications
You must be signed in to change notification settings - Fork 4
chore(deps): update dependency xo to v0.61.1 #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/xo-0.x
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2764655 to
a0c49fe
Compare
a0c49fe to
ebd0427
Compare
ebd0427 to
e42e62c
Compare
e42e62c to
f3c4740
Compare
f3c4740 to
23639ec
Compare
23639ec to
d141e8f
Compare
d141e8f to
1870e99
Compare
1870e99 to
fa8aca0
Compare
fa8aca0 to
97fe28c
Compare
97fe28c to
2c68bc0
Compare
2c68bc0 to
d82ab3c
Compare
d82ab3c to
c86dfbd
Compare
c86dfbd to
24f4d3f
Compare
24f4d3f to
25be9f3
Compare
25be9f3 to
0c9a79d
Compare
e3fbc93 to
96d6b98
Compare
96d6b98 to
af25551
Compare
af25551 to
9b6f439
Compare
9b6f439 to
d69b0e7
Compare
d69b0e7 to
242110f
Compare
242110f to
4e72b95
Compare
4e72b95 to
b73c153
Compare
b73c153 to
a789c12
Compare
a789c12 to
e29d8eb
Compare
3590621 to
b205dde
Compare
b205dde to
df9a836
Compare
df9a836 to
1b2daeb
Compare
1b2daeb to
136968a
Compare
136968a to
f866c6e
Compare
f866c6e to
f1f4923
Compare
f1f4923 to
f9537b6
Compare
f9537b6 to
a0f69cd
Compare
a0f69cd to
3e519b6
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.20.3→0.61.1Release Notes
xojs/xo (xo)
v0.61.1Compare Source
v0.61.0Compare Source
v0.60.0Compare Source
New rules
unicorn/no-length-as-slice-endunicorn/prefer-global-thisunicorn/prefer-math-min-maxunicorn/consistent-existence-index-checkImprovements
0c2be9cv0.59.3Compare Source
3eb843646a91e0v0.59.2Compare Source
nodeVersion: falseoption (#762)c965843v0.59.1Compare Source
9cdab84v0.59.0Compare Source
New rules
unicorn/no-single-promise-in-promise-methodsunicorn/no-await-in-promise-methodsunicorn/no-anonymous-default-exportunicorn/consistent-empty-array-spreadunicorn/no-invalid-fetch-optionsunicorn/no-magic-array-flat-depthunicorn/prefer-structured-cloneunicorn/no-negation-in-equality-check@typescript-eslint/no-unnecessary-parameter-property-assignment@typescript-eslint/use-unknown-in-catch-callback-variableBreaking
eslint-plugin-promise(#656)b168f08v0.58.0Compare Source
default-caserule to avoid conflict with stricter@typescript-eslint/switch-exhaustiveness-checkrulev0.57.0Compare Source
Breaking
3b9d372New rules
logical-assignment-operatorsprefer-object-has-ownobject-curly-newlineunicorn/no-unnecessary-polyfills@typescript-eslint/prefer-find@typescript-eslint/no-array-delete@typescript-eslint/prefer-promise-reject-errorsv0.56.0Compare Source
.mts,.cts) (#728)04552b8v0.55.1Compare Source
eslint-plugin-importdependency to patch versions only0a71db5v0.55.0Compare Source
Breaking
004e3b3New rules
unicorn/prefer-blob-reading-methods@typescript-eslint/no-unsafe-enum-comparisonv0.54.2Compare Source
498aecev0.54.1Compare Source
658d376v0.54.0Compare Source
New rules
unicorn/no-typeof-undefinedunicorn/no-negated-conditionunicorn/prefer-set-size@typescript-eslint/no-duplicate-type-constituentsImprovements
a815db3v0.53.1Compare Source
9bee815v0.53.0Compare Source
Breaking
91d10d1e41f4a4New rules
no-empty-static-blockno-new-native-nonconstructorunicorn/no-unnecessary-awaitunicorn/switch-case-bracesunicorn/prefer-logical-operator-over-ternaryunicorn/prefer-event-target@typescript-eslint/no-unsafe-declaration-mergingv0.52.4Compare Source
extends(#686)e69a192v0.52.3Compare Source
a608bf1v0.52.2Compare Source
4cf8b05v0.52.1Compare Source
de5f878v0.52.0Compare Source
New rules
@typescript-eslint/consistent-type-exports@typescript-eslint/consistent-type-imports@typescript-eslint/consistent-generic-constructors@typescript-eslint/consistent-type-definitionstypeandinterfaceare 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.Improvements
b661eb8v0.51.0Compare Source
rulesMetain linting results (#674)cd86133v0.50.0Compare Source
eslint-plugin-node's maintained fork (#660)3a4c9c9v0.49.0Compare Source
New rules
no-constant-binary-expressionunicorn/text-encoding-identifier-caseunicorn/no-useless-switch-caseunicorn/prefer-modern-math-apisunicorn/no-unreadable-iifeunicorn/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-constituentsBreaking
v0.48.0Compare Source
New rules
unicorn/no-thenableunicorn/no-useless-promise-resolve-rejectunicorn/relative-url-styleunicorn/prefer-json-parse-bufferTypeScript-only
nullxojs/eslint-config-xo-typescript@0d1c719v0.47.0Compare Source
New rules
unicorn/no-empty-fileunicorn/prefer-export-fromunicorn/prefer-code-pointunicorn/no-await-expression-memberImprovements
0e90967prevent-abbreviations(#620)1d2409fv0.46.4Compare Source
261696ev0.46.3Compare Source
v0.46.2Compare Source
653887av0.46.1Compare Source
bundledDependencieswhen publishing.v0.46.0Compare Source
Breaking
dddc991New rules
unicorn/template-indentImprovements
431887dFixes
c9bbfb1v0.45.0Compare Source
New rules
no-bitwiseunicorn/no-useless-fallback-in-spreadunicorn/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-operatorImprovements
jsxBracketSameLineoption withbracketSameLine(#609)506c151import/namedrule for JavaScript (#601)623f259v0.44.0Compare Source
New rules
unicorn/prefer-object-from-entriesunicorn/no-useless-length-checkunicorn/no-useless-spread@typescript-eslint/prefer-return-this-type@typescript-eslint/ban-ts-commentImprovements
e2e715dtrailingCommaoption for Prettier toall(#586)68cb5abFixes
xo --print-configwithout a filename (#587)5ff95adv0.43.0Compare Source
Improvements
processandBufferin Node.js explicitly9f40074f2c5041Fixes
512291bv0.42.0Compare Source
New rules
import/newline-after-importf81e933Improvements
globbydependency (#574)34800b7v0.41.0Compare Source
Breaking
$ npx xo.comma-danglerule, and@typescript-eslint/comma-dangleif you use TypeScript.operator-linebreakrule to enforce operatorsbefore.New rules
arrow-body-styleunicorn/require-array-join-separatorunicorn/require-number-to-fixed-digits-argumentunicorn/prefer-prototype-methodsunicorn/no-array-method-this-argumentunicorn/require-post-message-target-originv0.40.3Compare Source
xo.config.cjsand.xo-config.cjs(#561)374dd73v0.40.2Compare Source
parserOptionsfor TypeScript (#557)7ace6e5v0.40.1Compare Source
d2c5750parserOptionsoption (#544)e9c96a1v0.40.0Compare Source
Breaking
If you cannot yet move to ESM, I recommend staying on XO 0.39 for now.
cc06c3cNew rules
unicorn/prefer-node-protocolunicorn/prefer-moduleunicorn/no-document-cookieunicorn/numeric-separators-styleunicorn/prefer-array-flatunicorn/prefer-array-flat-mapMeta
ESLint.CLIEnginetoESLint(#534)0480d80This should hopefully resolve a bunch of issues.
v0.39.1Compare Source
fa34c74v0.39.0Compare Source
New rules
unicorn/no-static-only-classunicorn/prefer-array-flatunicorn/prefer-switch@typescript-eslint/no-unsafe-argumentBreaking
esnextoptione80c094unicorn/prevent-abbreviationsrule: Rename options sindresorhus/eslint-plugin-unicorn@cf42cc5unicorn/no-keyword-prefixrule: Renameblacklistoption todisallowedPrefixessindresorhus/eslint-plugin-unicorn@91e60d0Improvements
--print-configflag (#529)7b8dc70import/defaultrule for TypeScript filese3c511bimport/exportrule for TypeScript filesb385beev0.38.2Compare Source
node/file-extension-in-importrule for TypeScript projects (#523)1eb8230It doesn't work properly with TypeScript projects.
v0.38.1Compare Source
8b2fa78v0.38.0Compare Source
New rules
unicorn/no-new-arrayunicorn/prefer-array-index-ofunicorn/prefer-regexp-testunicorn/no-array-for-eachunicorn/no-array-push-pushunicorn/no-this-assignment@typescript-eslint/object-curly-spacingImprovements
f4f6b39.mjsand.cjsas default extensions (#521)2e05c81import/no-unassigned-importallow list8156d42Fixes
32bd3b8v0.37.1Compare Source
f56d90dv0.37.0Compare Source
New rules
no-unsafe-optional-chainingno-useless-backreferencedefault-case-lastno-nonoctal-decimal-escapeunicorn/prefer-array-someunicorn/prefer-default-parametersunicorn/no-lonely-ifunicorn/empty-brace-spacesunicorn/prefer-date-now@typescript-eslint/non-nullable-type-assertion-style@typescript-eslint/no-confusing-void-expressionRenamed rules
Only affects you if you had any of these rules disabled.
unicorn/no-fn-reference-in-iterator→unicorn/no-array-callback-referenceunicorn/no-array-instanceof→unicorn/no-instanceof-arrayunicorn/no-reduce→unicorn/no-array-reduceunicorn/prefer-dataset→unicorn/prefer-dom-node-datasetunicorn/prefer-flat-map→unicorn/prefer-array-flat-mapunicorn/prefer-replace-all→unicorn/prefer-string-replace-allunicorn/prefer-starts-ends-with→unicorn/prefer-string-starts-ends-withunicorn/prefer-text-content→unicorn/prefer-dom-node-text-contentunicorn/prefer-trim-start-end→unicorn/prefer-string-trim-start-endunicorn/prefer-event-key→unicorn/prefer-keyboard-event-keyunicorn/prefer-node-append→unicorn/prefer-dom-node-appendunicorn/prefer-node-remove→unicorn/prefer-dom-node-removeImprovements
211f295err→errorfor variable namesd8010950ec4b8cv0.36.1Compare Source
a186078v0.36.0Compare Source
processoroptionbf6eb257731ea1v0.35.0Compare Source
New rules
@typescript-eslint/no-unnecessary-type-constraint@typescript-eslint/space-infix-opsImprovements
b1012d305558596fa99cdv0.34.2Compare Source
extensionsoption (#503)35e6336v0.34.1Compare Source
unicorn/import-stylerule for TypeScript projects77716e2It wants to use
import path from 'path';which is not always possible.v0.34.0Compare Source
New rules
unicorn/import-styleunicorn/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-catchImprovements
ba547e7v0.33.1Compare Source
ead63bev0.33.0Compare Source
New rules
no-unreachable-loopno-promise-executor-returnno-loss-of-precisionunicorn/prefer-array-findunicorn/no-object-as-default-parameter@typescript-eslint/prefer-literal-enum-member@typescript-eslint/no-loss-of-precision@typescript-eslint/ban-tslint-commentImprovements
f45ab80v0.32.1Compare Source
v0.32.0Compare Source
0dd4a9dimport/extensionsruled3abdb6v0.31.0Compare Source
New rules
unicorn/prefer-optional-catch-bindingunicorn/no-reduce@typescript-eslint/lines-between-class-members@typescript-eslint/no-invalid-void-type@typescript-eslint/prefer-ts-expect-error@typescript-eslint/no-unnecessary-conditionimport/no-anonymous-default-exportimport/no-named-defaultImprovements
6a05691v0.30.0Compare Source
New rules
@typescript-eslint/class-literal-property-stylerule@typescript-eslint/prefer-readonly-parameter-typesrule@typescript-eslint/no-base-to-stringrule@typescript-eslint/keyword-spacingrule@typescript-eslint/method-signature-stylerule@typescript-eslint/prefer-reduce-type-parameterrule@typescript-eslint/no-floating-promisesrulee870168Fixes
prettierdependency at2.0.4until we can resolve #466--stdin --fix(#460)07e2762v0.29.1Compare Source
tap-snapshots/*.cjsto default ignore list (#461)4783f26unicorn/string-contentrule (#462)967927dv0.29.0Compare Source
New rules
unicorn/prefer-number-propertiesunicorn/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-stringImprovements
e05efc3nodeVersionin XO config to overrideengines.node(#457)f20f6d2ignoreoption toexpiring-todo-commentrulev0.28.3Compare Source
semicolonoption with TypeScript (#446)c47a0c6a4625a7v0.28.2Compare Source
indentrule for TS files too (#451)41b1bd728902f0v0.28.1Compare Source
xo-typescriptandprettier/@​typescript-eslintbefore user extends (#442)6c57ff7fc30597v0.28.0Compare Source
New rules
unicorn/string-contentrule (#439)5a22b77unicorn/prevent-abbreviationsruleba4efc9This rule enforces more readable code by preventing the use of certain abbreviations in favor of the full word. Not everyone knows all abbreviations. Saving a few characters are not worth making your code less readable. List of abbreviations XO prevents.
Improvements
webpackoption (#375)f656ee3extensionsandignoresfrom config files (#436)0d63c64v0.27.2Compare Source
1807537v0.27.1Compare Source
0ea5dbbImportant: We changed the cache structure, so you'll need to delete
node_modules/.cache/xo:v0.27.0Compare Source
b0dfcbdYou can now lint TypeScript projects without any extra config. You can also lint
d.tsfiles in JS projects. Read more.e0f81a7extends,envs,globals,plugins(#429)4cefdbcnode/no-unsupported-featuresrules (#341)2297c07import/no-unassigned-importsettings (#430)0c78113v0.26.1Compare Source
eslint-config-prettieroverride (#422)9fbdb97v0.26.0Compare Source
Breaking
d7fa875$ xo --initto$ npm init xo6463dfeNew rules
20 new rules 👌
ESLint
default-param-lastfunction-call-argument-newlinegrouped-accessor-pairsno-constructor-returnno-dupe-else-ifno-import-assignno-setter-returnno-useless-catchprefer-exponentiation-operatorprefer-named-capture-groupprefer-object-spreadprefer-regex-literalsUnicorn
unicorn/prefer-modern-dom-apisunicorn/prefer-negative-indexunicorn/prefer-replace-allunicorn/prefer-string-sliceunicorn/prefer-trim-start-endOther
node/prefer-global/url-search-params](https://redirect.github.com/mysticatea/eslint-plugiConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.