Skip to content

chore(deps): update dependency eslint-config-xo to v0.57.0#375

Open
renovate[bot] wants to merge 1 commit into
masterfrom
dev-dependency-renovate/eslint-config-xo-0.x
Open

chore(deps): update dependency eslint-config-xo to v0.57.0#375
renovate[bot] wants to merge 1 commit into
masterfrom
dev-dependency-renovate/eslint-config-xo-0.x

Conversation

@renovate

@renovate renovate Bot commented Feb 12, 2020

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-xo 0.27.20.57.0 age adoption passing confidence

Release Notes

xojs/eslint-config-xo (eslint-config-xo)

v0.57.0

Compare Source

  • Added eslint-node-test for linting node:test files. f59405c
  • Generalized the capitalized-comments ignore directives so any tool's *-ignore / *:ignore comment (like svelte-ignore) is recognized without adding each tool individually. 1796590 #​118

v0.56.0

Compare Source

Improvements
  • Disable @typescript-eslint/no-unnecessary-boolean-literal-compare in favor of the type-aware unicorn/no-unnecessary-boolean-comparison, which catches the same cases without requiring strictNullChecks f93a16e (#​117)
  • Allow the @isolated JSDoc tag used by unicorn/isolated-functions 6d78307 (#​116)
  • Update to eslint-plugin-unicorn 70
New rules

v0.55.0

Compare Source

Improvements
  • Allow a few common browser globals (location, history, confirm, screen) to be used without a globalThis. prefix in browser mode 0b4ba8c (#​115)
  • Prefer the autofixable unicorn versions of no-negated-condition and logical-assignment-operators c9bf95b (#​114)
  • Use the type-aware @typescript-eslint/no-unnecessary-template-expression rule in TypeScript c7c6712 (#​113)
  • Update to eslint-plugin-unicorn 69
New rules

v0.54.1

Compare Source

  • Rely on eslint-config-prettier to disable quotes in compat mode b8feb40
  • Disable @html-eslint/require-closing-tags under prettier (#​111) 12fea8a

v0.54.0

Compare Source

Improvements
  • Disable conflicting @html-eslint style rules when prettier is enabled ea75495
  • Disable regexp/prefer-regexp-exec in favor of TS version for TS code 47ad0d9
  • Use unicorn/consistent-boolean-name instead of the naming-convention boolean prefix f933fbf
  • Update to eslint-plugin-unicorn 68

New rules


v0.53.2

Compare Source

  • Disable unicorn/require-array-sort-compare in favor of TS version for TS code (#​105) c67e766

v0.53.1

Compare Source


v0.53.0

Compare Source

Breaking
  • Require TypeScript 6
Prettier integration

A new prettier option lets you combine the rules with Prettier:

export default defineConfig([
	...eslintConfigXo({prettier: true}),
]);
  • true — Runs Prettier as an ESLint rule using XO's Prettier style, and disables the stylistic rules that would conflict with it. Requires prettier to 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 printWidth or Prettier plugins) still respects your .prettierrc, but XO's own style settings take precedence. prettier is an optional peer dependency.

CSS linting

.css files 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

v0.52.0

Compare Source

Breaking
New rules
Improvements
  • Add eslint-plugin-jsdoc support ca9780b
  • Add eslint-plugin-regexp support 2eba483
  • Add Markdown support 2bb9c6c
  • Add HTML support 5da39d4
  • Make TypeScript optional for JavaScript-only projects 717184b
  • Use eslint-import-resolver-typescript for import resolution 600b604
  • naming-convention rule: Ignore all exotic/quoted keys bd171ba
  • naming-convention rule: Allow UPPER_CASE for static readonly class properties ce92257
  • naming-convention rule: Allow UPPER_CASE for module-level const variables 0b4bcce
  • Add ?? to no-mixed-operators groups 9117295
  • Require description for file-wide eslint-disable comments 55b6ae1
  • Discourage npm packages with native alternatives 92549e8
  • Remove deprecated rules 7e2747d
  • Disable redundant ESLint rules for TypeScript files f474625
  • capitalized-comments: Don't capitalize commented-out code aedc832

v0.51.0

Compare Source

Breaking

  • The package now exports a function instead of an array. Update your eslint.config.js:
-export default eslintConfigXo;
+export default [...eslintConfigXo()];
  • Removed the ./space and ./browser sub-path exports. Use the space and browser options instead:
export default [...eslintConfigXo({space: true, browser: true})];
  • Requires ESLint 10 and Node.js 20.19+.

Improvements

  • Merged eslint-config-xo-typescript: TypeScript rules are now included. No need to install a separate package.
  • Merged plugin configs from XO: Includes eslint-plugin-unicorn, eslint-plugin-import-x, eslint-plugin-n, eslint-plugin-ava, @eslint-community/eslint-plugin-eslint-comments, and a built-in no-use-extend-native rule. Previously these were only available through the XO CLI.
  • Added semicolon option
  • Added TypeScript declaration file
  • Add no-shadow rule 4cec7d2

v0.50.0

Compare Source

Breaking
New rules
Improvements
  • no-sequences: Add allowInParentheses: false 391d4c8

v0.49.0

Compare Source

Breaking
New rules

v0.48.0

Compare Source


v0.47.0

Compare Source

  • capitalized-comments: Support biome ignore comments (#​90) 518f523
  • Add @stylistic/curly-newline rule e1fe11c
  • Add JSON plugin 6a547b5
  • capitalized-comments: Add v8 to the ignorePattern option (#​88) 4bb2399

v0.46.0

Compare Source

New rules
Breaking
Improvements

v0.45.0

Compare Source

  • Allow class fields with no blank lines between (#​85) 6f2ff13

v0.44.0

Compare Source

Breaking
New rules
Improvements
  • Ban atob and btoa dfa969c
  • Replace deprecated no-new-object rule 7f8f92e
  • no-unused-vars: Allow ignoring variables by prefixing with underscore b31ab8a

v0.43.1

Compare Source

  • Disable logical-assignment-operators rule until we target Node.js 16 ffb7d6e

v0.43.0

Compare Source

v0.42.0

Compare Source

v0.41.0

Compare Source

v0.40.0

Compare Source

Breaking
  • Require ESLint 8 and Node.js 12 da1fd09
Improvements
  • Remove default-param-last rule 5f341e2
  • Avoid explicit return arrows in object-shorthand rule (#​76) db4809a

v0.39.0

Compare Source

v0.38.0

Compare Source

  • Add option to no-unsafe-negation rule e5c4861

v0.37.0

Compare Source

v0.36.0

Compare Source

Breaking
Improvements
  • Add more deprecated Node.js modules to no-restricted-imports eafbd8f
  • Remove unnecessary no-restricted-syntax rule (#​69) 23a5718

v0.35.0

Compare Source

  • Add enforceForJSX option to no-unused-expressions 0cd5082

v0.34.0

Compare Source

v0.33.1

Compare Source

v0.33.0

Compare Source

v0.32.1

Compare Source

  • Ignore c8 directive comments in capitalized-comments dea9534

v0.32.0

Compare Source

v0.31.0

Compare Source

  • Make capitalized-comments rule ignore webpack magic comments (#​63) a0ae8d2

v0.30.0

Compare Source

  • Require ESLint 7 81c1485
  • Removed some deprecated rules ce8bf4d
  • Allow implicit undefined in array-callback-return f3c5dd2

v0.29.1

Compare Source

  • Disable the prefer-named-capture-group rule temporarily 79b6179

v0.29.0

Compare Source

  • Set the es2020 environment 2f0b68a

v0.28.0

Compare Source

Breaking
New rules
Enhancements
  • Add option to no-useless-computed-key rule 16c57f9
  • Disallow some confusing browser globals (#​58) bfa20fd

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added automerge dependency-update dev-dependency minor Increment the minor version when merged labels Feb 12, 2020
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch from e5e4603 to 40733c4 Compare February 12, 2020 22:32
@renovate renovate Bot changed the title chore(deps): update dependency eslint-config-xo to v0.28.0 chore(deps): update dependency eslint-config-xo to v0.29.0 Feb 12, 2020
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch from 40733c4 to 455f8bc Compare February 16, 2020 13:20
@renovate renovate Bot changed the title chore(deps): update dependency eslint-config-xo to v0.29.0 chore(deps): update dependency eslint-config-xo to v0.29.1 Feb 16, 2020
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 6 times, most recently from 506cda3 to 12c3d4d Compare February 23, 2020 04:58
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 8 times, most recently from fc722e4 to cac8633 Compare March 6, 2020 02:31
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 2 times, most recently from 9503ff6 to d1e8aa5 Compare March 22, 2020 12:42
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 2 times, most recently from 53e7883 to 75ac5c1 Compare March 31, 2020 00:02
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 2 times, most recently from da1eb65 to fb35f9f Compare April 8, 2020 21:39
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 12 times, most recently from cbe1a11 to 53cc2e0 Compare May 19, 2020 21:43
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 8 times, most recently from bda47c0 to 7afcf1f Compare May 27, 2020 00:00
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch from 7afcf1f to d5f4d06 Compare June 3, 2020 08:48
@renovate renovate Bot changed the title chore(deps): update dependency eslint-config-xo to v0.29.1 chore(deps): update dependency eslint-config-xo to v0.30.0 Jun 3, 2020
@renovate renovate Bot force-pushed the dev-dependency-renovate/eslint-config-xo-0.x branch 7 times, most recently from f027385 to 5a96610 Compare June 9, 2020 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependency-update dev-dependency minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants