chore(deps): update dependency eslint-config-xo to v0.55.0#212
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency eslint-config-xo to v0.55.0#212renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
84df46c to
9d7eee1
Compare
333eb97 to
4ce00a3
Compare
4ce00a3 to
fa09756
Compare
fa09756 to
4003b6f
Compare
a9cf01e to
1999958
Compare
1999958 to
c68092c
Compare
c68092c to
e1cf63d
Compare
e1cf63d to
d0fab5d
Compare
d0fab5d to
c596ade
Compare
c596ade to
4d60c51
Compare
4d60c51 to
89d4f3c
Compare
89d4f3c to
a9bc0a9
Compare
a9bc0a9 to
6fc1d52
Compare
6fc1d52 to
9575335
Compare
a32529e to
79f3e4a
Compare
5e7d7bf to
739d5ed
Compare
7dbce5f to
da5fae7
Compare
da5fae7 to
7859801
Compare
7859801 to
7d17a3e
Compare
7d17a3e to
4ef6414
Compare
7ec1fd9 to
d0e3555
Compare
d0e3555 to
6f6f032
Compare
6f6f032 to
39eb1ba
Compare
7881d70 to
2692e53
Compare
2692e53 to
48b9940
Compare
e407fe3 to
cfff268
Compare
3107399 to
92bfc69
Compare
92bfc69 to
a008708
Compare
a008708 to
23096b1
Compare
23096b1 to
30b2c6e
Compare
30b2c6e to
b54125d
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.45.0→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-casta6dc171Configuration
📅 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.