chore(deps): update dependency xo to v0.37.1#22
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
c9c048a to
16600bf
Compare
16600bf to
7b84748
Compare
7b84748 to
d4557fb
Compare
d4557fb to
ee07a2d
Compare
ee07a2d to
4bca6a7
Compare
4bca6a7 to
e6a60d7
Compare
e6a60d7 to
005c365
Compare
005c365 to
fdcb1d0
Compare
fdcb1d0 to
739f7cc
Compare
739f7cc to
ea393ba
Compare
ea393ba to
a71cbd8
Compare
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
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.25.3->0.37.1Release Notes
xojs/xo
v0.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-paramsnode/prefer-global/urlpromise/prefer-await-to-thenEnhancements
es2020environment by defaulteb5ea2cFixes
08af7c1v0.25.4Compare Source
import/orderrule776927fRenovate configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.