Update dependency eslint-config-xo to v0.55.0#406
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
c6844bf to
b83910a
Compare
b83910a to
e6d47a9
Compare
e6d47a9 to
ac1ad81
Compare
5c35496 to
1993983
Compare
e09d92c to
0f8f8c8
Compare
82f1585 to
0f998a8
Compare
0f998a8 to
a86f0b0
Compare
a86f0b0 to
55bbb7d
Compare
55bbb7d to
3217926
Compare
3217926 to
f025039
Compare
f025039 to
404dbc4
Compare
404dbc4 to
477ccad
Compare
477ccad to
1bb52b3
Compare
e295b74 to
71ba300
Compare
a919c4a to
81343e6
Compare
0d3f25f to
993dcca
Compare
993dcca to
0d2c7a5
Compare
0d2c7a5 to
8e463e0
Compare
8e463e0 to
b8a878e
Compare
5b3332b to
7303129
Compare
7303129 to
b6cc937
Compare
b6cc937 to
44e2e2b
Compare
4622959 to
a4c37ed
Compare
a4c37ed to
09134e3
Compare
e479ad9 to
72cfa32
Compare
7850b80 to
19377a0
Compare
19377a0 to
7e81085
Compare
7e81085 to
a1dbf3a
Compare
a1dbf3a to
16f5d44
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.43.1→0.55.0Release Notes
xojs/eslint-config-xo (eslint-config-xo)
v0.55.0Compare Source
Improvements
location,history,confirm,screen) to be used without aglobalThis.prefix in browser mode0b4ba8c(#115)unicornversions ofno-negated-conditionandlogical-assignment-operatorsc9bf95b(#114)@typescript-eslint/no-unnecessary-template-expressionrule in TypeScriptc7c6712(#113)New rules
unicorn/consistent-tuple-labelsunicorn/no-invalid-well-known-symbol-methodsunicorn/no-late-event-controlunicorn/prefer-abort-signal-timeoutunicorn/prefer-aggregate-errorunicorn/prefer-dom-node-replace-childrenunicorn/prefer-error-is-errorunicorn/prefer-observer-apisunicorn/prefer-promise-tryunicorn/prefer-set-methodsunicorn/prefer-toggle-attributeunicorn/prefer-url-search-parametersv0.54.1Compare Source
eslint-config-prettierto disable quotes in compat modeb8feb40@html-eslint/require-closing-tagsunderprettier(#111)12fea8av0.54.0Compare Source
Improvements
@html-eslintstyle rules whenprettieris enabledea75495regexp/prefer-regexp-execin favor of TS version for TS code47ad0d9unicorn/consistent-boolean-nameinstead of thenaming-conventionboolean prefixf933fbfNew rules
unicorn/consistent-conditional-object-spreadunicorn/default-export-styleunicorn/no-accidental-bitwise-operatorunicorn/no-array-concat-in-loopunicorn/no-array-front-mutationunicorn/no-array-sort-for-min-maxunicorn/no-boolean-sort-comparatorunicorn/no-chained-comparisonunicorn/no-collection-bracket-accessunicorn/no-constant-zero-expressionunicorn/no-double-comparisonunicorn/no-duplicate-if-branchesunicorn/no-duplicate-logical-operandsunicorn/no-impossible-length-comparisonunicorn/no-invalid-character-comparisonunicorn/no-loop-iterable-mutationunicorn/no-misrefactored-assignmentunicorn/no-nonstandard-builtin-propertiesunicorn/no-selector-as-dom-nameunicorn/no-unnecessary-boolean-comparisonunicorn/no-useless-compound-assignmentunicorn/no-useless-delete-checkunicorn/no-useless-logical-operandunicorn/no-xor-as-exponentiationunicorn/prefer-array-from-asyncunicorn/prefer-array-iterable-methodsunicorn/prefer-boolean-returnunicorn/prefer-continueunicorn/prefer-flat-math-min-maxunicorn/prefer-hoisting-branch-codeunicorn/prefer-math-constantsunicorn/prefer-promise-with-resolversunicorn/prefer-regexp-escapeunicorn/prefer-single-replaceunicorn/prefer-unary-minusunicorn/prefer-url-can-parseunicorn/prefer-while-loop-conditionv0.53.2Compare Source
unicorn/require-array-sort-comparein favor of TS version for TS code (#105)c67e766v0.53.1Compare Source
6165417v0.53.0Compare Source
Breaking
Prettier integration
A new
prettieroption lets you combine the rules with Prettier:true— Runs Prettier as an ESLint rule using XO's Prettier style, and disables the stylistic rules that would conflict with it. Requiresprettierto be installed.'compat'— Only disables the stylistic rules that conflict with Prettier, for when you run Prettier separately (for example, from your editor).Anything XO does not configure (like
printWidthor Prettier plugins) still respects your.prettierrc, but XO's own style settings take precedence.prettieris an optional peer dependency.CSS linting
.cssfiles are now linted out of the box via@eslint/css: duplicate imports, empty blocks, invalid at-rules, unmatchable selectors, invalid named grid areas, and more.New rules
unicorn/better-dom-traversingunicorn/class-reference-in-static-methodsunicorn/consistent-class-member-orderunicorn/consistent-compound-wordsunicorn/consistent-export-decorator-positionunicorn/consistent-json-file-readunicorn/consistent-optional-chainingunicorn/explicit-timer-delayunicorn/logical-assignment-operatorsunicorn/max-nested-callsunicorn/no-array-fill-with-reference-typeunicorn/no-array-from-fillunicorn/no-array-spliceunicorn/no-blob-to-fileunicorn/no-break-in-nested-loopunicorn/no-canvas-to-imageunicorn/no-computed-property-existence-checkunicorn/no-confusing-array-spliceunicorn/no-confusing-array-withunicorn/no-declarations-before-early-exitunicorn/no-duplicate-loopsunicorn/no-duplicate-set-valuesunicorn/no-error-property-assignmentunicorn/no-exports-in-scriptsunicorn/no-global-object-property-assignmentunicorn/no-incorrect-query-selectorunicorn/no-incorrect-template-string-interpolationunicorn/no-late-current-target-accessunicorn/no-mismatched-map-keyunicorn/no-negated-array-predicateunicorn/no-negated-comparisonunicorn/no-non-function-verb-prefixunicorn/no-object-methods-with-collectionsunicorn/no-optional-chaining-on-undeclared-variableunicorn/no-redundant-comparisonunicorn/no-return-array-pushunicorn/no-subtraction-comparisonunicorn/no-top-level-side-effectsunicorn/no-uncalled-methodunicorn/no-undeclared-class-membersunicorn/no-unnecessary-global-thisunicorn/no-unnecessary-nested-ternaryunicorn/no-unnecessary-spliceunicorn/no-unreadable-object-destructuringunicorn/no-unsafe-buffer-conversionunicorn/no-unsafe-property-keyunicorn/no-unsafe-string-replacementunicorn/no-unused-array-method-returnunicorn/no-useless-boolean-castunicorn/no-useless-coercionunicorn/no-useless-concatunicorn/no-useless-continueunicorn/no-useless-elseunicorn/no-useless-overrideunicorn/no-useless-recursionunicorn/no-useless-template-literalsunicorn/operator-assignmentunicorn/prefer-add-event-listener-optionsunicorn/prefer-array-from-mapunicorn/prefer-array-last-methodsunicorn/prefer-array-sliceunicorn/prefer-direct-iterationunicorn/prefer-early-returnunicorn/prefer-else-ifunicorn/prefer-get-or-insert-computedunicorn/prefer-global-number-constantsunicorn/prefer-has-checkunicorn/prefer-httpsunicorn/prefer-identifier-import-export-specifiersunicorn/prefer-includes-over-repeated-comparisonsunicorn/prefer-iterable-in-constructorunicorn/prefer-iterator-to-arrayunicorn/prefer-iterator-to-array-at-endunicorn/prefer-location-assignunicorn/prefer-map-from-entriesunicorn/prefer-math-absunicorn/prefer-minimal-ternaryunicorn/prefer-number-coercionunicorn/prefer-number-is-safe-integerunicorn/prefer-object-define-propertiesunicorn/prefer-object-destructuring-defaultsunicorn/prefer-object-iterable-methodsunicorn/prefer-path2dunicorn/prefer-private-class-fieldsunicorn/prefer-queue-microtaskunicorn/prefer-scoped-selectorunicorn/prefer-simple-sort-comparatorunicorn/prefer-single-array-predicateunicorn/prefer-single-object-destructuringunicorn/prefer-smaller-scopeunicorn/prefer-split-limitunicorn/prefer-string-match-allunicorn/prefer-string-pad-start-endunicorn/prefer-string-repeatunicorn/prefer-type-literal-lastunicorn/prefer-uint8array-base64unicorn/prefer-unicode-code-point-escapesunicorn/prefer-url-hrefunicorn/require-array-sort-compareunicorn/require-css-escapeunicorn/require-passive-eventsunicorn/require-proxy-trap-boolean-return@typescript-eslint/no-unnecessary-type-conversionv0.52.0Compare Source
Breaking
6b715f3New rules
@typescript-eslint/strict-boolean-expressions0841559xo/import-specifier-newline98f0aa9Improvements
ca9780b2eba4832bb9c6c5da39d4717184beslint-import-resolver-typescriptfor import resolution600b604naming-convention rule: Ignore all exotic/quoted keysbd171banaming-convention rule: Allow UPPER_CASE for static readonly class propertiesce92257naming-convention rule: Allow UPPER_CASE for module-level const variables0b4bcce??tono-mixed-operatorsgroups9117295eslint-disablecomments55b6ae192549e87e2747df474625capitalized-comments: Don't capitalize commented-out codeaedc832v0.51.0Compare Source
Breaking
eslint.config.js:./spaceand./browsersub-path exports. Use thespaceandbrowseroptions instead:Improvements
eslint-config-xo-typescript: TypeScript rules are now included. No need to install a separate package.eslint-plugin-unicorn,eslint-plugin-import-x,eslint-plugin-n,eslint-plugin-ava,@eslint-community/eslint-plugin-eslint-comments, and a built-inno-use-extend-nativerule. Previously these were only available through the XO CLI.semicolonoptionno-shadowrule4cec7d2v0.50.0Compare Source
Breaking
874aefaNew rules
preserve-caught-error1e2cd5crequire-unicode-regexpe9736c2css/no-unmatchable-selectors7adc524css/no-duplicate-keyframe-selectors8b3d031css/font-family-fallbacksadcb144Improvements
no-sequences: AddallowInParentheses: false391d4c8v0.49.0Compare Source
Breaking
dd5cf67New rules
no-unused-private-class-membersrule568f75fcss/no-invalid-at-rule-placementrule8d122abcss/no-invalid-named-grid-areasrule9f5d7c2v0.48.0Compare Source
no-unassigned-varsrule4082baacapitalized-comments: Support codespell (#91)3b196adv0.47.0Compare Source
capitalized-comments: Support biome ignore comments (#90)518f523@stylistic/curly-newlinerulee1fe11c6a547b5capitalized-comments: Add v8 to theignorePatternoption (#88)4bb2399v0.46.0Compare Source
New rules
@stylistic/indent-binary-opsd91defd@stylistic/function-paren-newlinefb5e204@stylistic/block-spacingcb6b443@stylistic/multiline-ternary3dea281Breaking
ec210f2Improvements
@stylistic0f81063max-lenandmax-linesas warning (#84)e669d26no-extra-boolean-cast" (#87)f010b63no-extra-boolean-casta6dc171v0.45.0Compare Source
6f2ff13v0.44.0Compare Source
Breaking
f2060deNew rules
logical-assignment-operators27049c1prefer-object-has-own288a3caobject-curly-newline(#83)3a5448bImprovements
atobandbtoadfa969cno-new-objectrule7f8f92eno-unused-vars: Allow ignoring variables by prefixing with underscoreb31ab8aConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.