Update dependency eslint-config-xo to v0.53.2#244
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
383093d to
2c9dddd
Compare
2c9dddd to
5a7c7df
Compare
5a7c7df to
87c7b16
Compare
87c7b16 to
97f49b2
Compare
97f49b2 to
970efbc
Compare
970efbc to
50ebcb6
Compare
50ebcb6 to
0cbe2fa
Compare
0cbe2fa to
d95b99d
Compare
d95b99d to
b42c74d
Compare
b42c74d to
c4a4271
Compare
c4a4271 to
027815e
Compare
b15d812 to
65bfcc3
Compare
9e9ae5a to
aa35c71
Compare
aa35c71 to
dc52988
Compare
dc52988 to
3e142a3
Compare
3e142a3 to
8beabe8
Compare
fa57cd4 to
235d869
Compare
235d869 to
98a09a7
Compare
98a09a7 to
1f9a7b1
Compare
1f9a7b1 to
23cc7f2
Compare
c318765 to
b77334f
Compare
b77334f to
86e5512
Compare
667b5ec to
43461c6
Compare
43461c6 to
685542c
Compare
685542c to
4284644
Compare
4284644 to
9d27b2f
Compare
9d27b2f to
705b02e
Compare
5650196 to
6d52a2a
Compare
6d52a2a to
1934eb4
Compare
7a77e93 to
456ce40
Compare
456ce40 to
7d718cc
Compare
ecb7c8c to
e248729
Compare
e248729 to
e291f86
Compare
e291f86 to
32b69e1
Compare
32b69e1 to
df2ef29
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.35.0→0.53.2Release Notes
xojs/eslint-config-xo (eslint-config-xo)
v0.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 underscoreb31ab8av0.43.1Compare Source
logical-assignment-operatorsrule until we target Node.js 16ffb7d6ev0.43.0Compare Source
no-empty-static-blockrule3dcb71eno-new-native-nonconstructorrule2b5733clogical-assignment-operatorsruleaacde5aprefer-regex-literals: SetdisallowRedundantWrappingoption (#80)99db346v0.42.0Compare Source
257f2c1v0.41.0Compare Source
no-constant-binary-expressionruleaf63ee60a302bdv0.40.0Compare Source
Breaking
da1fd09Improvements
default-param-lastrule5f341e2object-shorthandrule (#76)db4809av0.39.0Compare Source
'latest'forecmaVersion66bc17eno-bitwiserule9d9eae9v0.38.0Compare Source
no-unsafe-negationrulee5c4861v0.37.0Compare Source
arrow-body-styleruleed15b23operator-linebreakrule to enforce operatorsbefored038b0ccomma-danglerule for multiline (#60)6313099v0.36.0Compare Source
Breaking
esnextconfigdd613d3Improvements
no-restricted-importseafbd8fno-restricted-syntaxrule (#69)23a5718Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.