chore(deps): update dependency xo to v0.37.1#58
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
1b30c37 to
492ca58
Compare
03c478d to
5305c17
Compare
5305c17 to
f2c46d6
Compare
f2c46d6 to
79c7d5f
Compare
79c7d5f to
589bd21
Compare
f1938f9 to
08a9712
Compare
08a9712 to
8312070
Compare
8312070 to
8067bf8
Compare
8067bf8 to
5e0bd7e
Compare
5e0bd7e to
b5fc68e
Compare
b5fc68e to
138c163
Compare
138c163 to
11284c9
Compare
11284c9 to
6199178
Compare
6199178 to
4184eb2
Compare
4184eb2 to
e399af4
Compare
e399af4 to
1b1d0f9
Compare
1b1d0f9 to
c10fddd
Compare
c10fddd to
4c7fe83
Compare
4c7fe83 to
caac4f0
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.18.2->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/orderrule776927fv0.25.3Compare Source
unicorn/prefer-flat-maponly for Node.js >=11 (#403)80c592ev0.25.2Compare Source
no-nested-ternaryrule when Prettier is used (#402)537ef66v0.25.1Compare Source
4378e83v0.25.0Compare Source
Breaking
8a213ef698b043.jsonextension for JSON files in imports7e56730New rules
prefer-named-capture-grouprule (for Node.js >=10 target)21e7b57default-param-lastruleprefer-regex-literalsruleno-import-assignruleunicorn/expiring-todo-commentsruleunicorn/no-nested-ternaryruleunicorn/prefer-reflect-applyruleunicorn/prefer-string-sliceruleunicorn/prefer-datasetruleunicorn/no-for-loopruleunicorn/no-zero-fractionsruleunicorn/prefer-includesruleunicorn/prefer-text-contentruleunicorn/prefer-node-removeruleunicorn/prefer-event-keyruleunicorn/prefer-flat-maprulenode/prefer-promises/fsrulea3d74a6node/prefer-promises/dnsrule8f8fc94Enhancements
.eslintignore(#377)f6bf4c0cwd-relative before linting (#372)3033fcdimport/no-useless-path-segmentsrule8d6c5c5tap-snapshots/*.jsto default ignore list (#385)b73b11b--stdin --fixalways return the code even if nothing was fixed (#383)ec51d18v0.24.0Compare Source
Highlights
7606f98node_modules/.cache/xo. (#351)d1fd3e161f9582import/no-unassigned-importruledd2c015New rules
padding-line-between-statementsno-useless-catchunicorn/prefer-query-selectorunicorn/prefer-node-appendunicorn/no-unreadable-array-destructuringunicorn/no-console-spaceseslint-comments/disable-enable-paireslint-comments/no-aggregating-enableeslint-comments/no-duplicate-disableeslint-comments/no-unused-disableeslint-comments/no-unused-enablenode/prefer-global/buffernode/prefer-global/consolenode/prefer-global/processnode/prefer-global/text-decoder(When targeting Node.js 11)node/prefer-global/text-encoder(When targeting Node.js 11)node/prefer-global/url-search-params(When targeting Node.js 10)node/prefer-global/url(When targeting Node.js 10)All changes
v0.23.0Compare Source
Highlights
.tsand.tsxextensions by default. This caused a lot of problems for non-TS projects, so it has been reverted pending a better solution.quotesrule is now set to disallow using template literals when you're not using any interpolation. xojs/eslint-config-xo@ea693f3no-use-before-definerule. It has too many false-positives. xojs/eslint-config-xo@1257597New rules
require-awaitunicorn/prefer-exponentiation-operatorunicorn/catch-error-name(See this thread if you're wondering whyerroris preferred overerr) (Sorry about the churn, but this is an important milestone towards more readable code. Code is written once but read many times. We should optimize for the latter.)All changes
v0.22.0Compare Source
Highlights
00d6b7c8e4f435-
fixture{-*,}.{js,jsx}-
fixture{s,}/**-
{test,tests,spec,__tests__}/fixture{s,}/**-
**/bundle.js957b0d9nodeVersionoption set in anoverrideblock.98dee9a--spaceoption parsing.f76c901New rules
no-misleading-character-classrequire-atomic-updatesno-async-promise-executorava/no-import-test-fileAll changes
v0.21.1Compare Source
Fix
space/useTabsconflict message with Prettier.36f7f38v0.21.0Compare Source
Highlights
trailingCommaPrettier option is nownone.f67ff584fd6991prettier-ignorecomments in capitalized-comments rule. xojs/eslint-config-xo@6e417ff145993ebda02cbNew rules
Removed rules
v0.20.3Compare Source
v0.20.2Compare Source
v0.20.1Compare Source
v0.20.0Compare Source
This release is way overdue, so glad to finally have it out! It includes a major ESLint upgrade, huge performance improvements, Prettier support, lots of new rules, and bug fixes.
The project was recently moved to a GitHub organization, and we got a new team member, Pierre Vanduynslager ✨
We now also have configs for TypeScript (using
tslint) and CSS & Sass (usingstylelint). And don't forget, we already have a config for React.Many of the new rules in this release are from the
eslint-plugin-unicornplugin, which could use some contributions.Highlights
a11e288fd89175552cbb1enginesfield inpackage.json.0d18368linebreak-stylerule on Windows. xojs/eslint-config-xo@3f81796spaced-commentrule more lenient. xojs/eslint-config-xo@e4f1f36_as argument name in theno-unused-varsrule. xojs/eslint-config-xo@dda366b--openflag now opens errors first and not warnings.6f6a606--compactCLI flag.652a6e5babel-registerandbabel-polyfillfrom theno-unassigned-importrule.70d6ab4ecmaVersionto2018.9859dfbNew rules
22 new rules!
semi-stylexojs/eslint-config-xo@0b1680efor-directionxojs/eslint-config-xo@c957c7fswitch-colon-spacingxojs/eslint-config-xo@c1c8fc7no-buffer-constructorxojs/eslint-config-xo@ee366cbgetter-returnxojs/eslint-config-xo@40e1442function-paren-newlinexojs/eslint-config-xo@9e90fdclines-between-class-membersxojs/eslint-config-xo@c7f63cdarray-bracket-newlinexojs/eslint-config-xo@e2f3748unicorn/prefer-add-event-listenerunicorn/prefer-spread ruleunicorn/no-unsafe-regexunicorn/error-messageunicorn/import-indexunicorn/new-for-builtinsunicorn/regex-shorthandunicorn/escape-caseunicorn/no-hex-escapepromise/no-return-wrap4273f8apromise/no-return-in-finally4273f8anode/no-unpublished-bin16fb8e2node/process-exit-as-throw16fb8e2node/no-deprecated-api16fb8e2All changes
Why is this not 0.19.0? That version got tainted by an incorrect publish a long time ago.
v0.19.0Compare Source
Renovate 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.