Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update linters #94792

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

chore(deps): update linters #94792

wants to merge 1 commit into from

Conversation

matticbot
Copy link
Contributor

@matticbot matticbot commented Sep 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) ^5.44.0 -> ^5.62.0 age adoption passing confidence
@typescript-eslint/parser (source) ^5.44.0 -> ^5.62.0 age adoption passing confidence
eslint (source) ^8.57.0 -> ^8.57.1 age adoption passing confidence
eslint (source) >=8.57.0 -> >=9.17.0 age adoption passing confidence
eslint-plugin-import ^2.29.1 -> ^2.31.0 age adoption passing confidence
eslint-plugin-jsx-a11y ^6.9.0 -> ^6.10.2 age adoption passing confidence
eslint-plugin-prettier ^5.1.3 -> ^5.2.1 age adoption passing confidence
eslint-plugin-react ^7.34.3 -> ^7.37.3 age adoption passing confidence
prettier (source) ^3.0.0 -> ^3.4.2 age adoption passing confidence
stylelint (source) ^16.8.2 -> ^16.12.0 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v8.57.1

Compare Source

Bug Fixes
  • a19072f fix: add logic to handle fixTypes in the lintText() method (#​18900) (Francesco Trotta)
  • 04c7188 fix: Don't lint same file multiple times (#​18899) (Francesco Trotta)
  • 87ec3c4 fix: do not throw when defining a global named __defineSetter__ (#​18898) (Francesco Trotta)
  • 60a1267 fix: Provide helpful error message for nullish configs (#​18889) (Milos Djermanovic)
  • a0dea8e fix: allow name in global ignores, fix --no-ignore for non-global (#​18875) (Milos Djermanovic)
  • 3836bb4 fix: do not crash on error in fs.walk filter (#​18886) (Milos Djermanovic)
  • 2dec349 fix: skip processor code blocks that match only universal patterns (#​18880) (Milos Djermanovic)
Documentation
Build Related
  • 35d366a build: Support updates to previous major versions (#​18870) (Milos Djermanovic)
Chores
import-js/eslint-plugin-import (eslint-plugin-import)

v2.31.0

Compare Source

Added
Fixed
Changed

v2.30.0

Compare Source

Added
Fixed
Changed
  • [Docs] [no-extraneous-dependencies]: Make glob pattern description more explicit ([#​2944], thanks [@​mulztob])
  • [no-unused-modules]: add console message to help debug [#​2866]
  • [Refactor] ExportMap: make procedures static instead of monkeypatching exportmap ([#​2982], thanks [@​soryy708])
  • [Refactor] ExportMap: separate ExportMap instance from its builder logic ([#​2985], thanks [@​soryy708])
  • [Docs] [order]: Add a quick note on how unbound imports and --fix ([#​2640], thanks [@​minervabot])
  • [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#​2987], thanks [@​joeyguerra])
  • [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@​aks-])
  • [Refactor] exportMapBuilder: avoid hoisting ([#​2989], thanks [@​soryy708])
  • [Refactor] ExportMap: extract "builder" logic to separate files ([#​2991], thanks [@​soryy708])
  • [Docs] [order]: update the description of the pathGroupsExcludedImportTypes option ([#​3036], thanks [@​liby])
  • [readme] Clarify how to install the plugin ([#​2993], thanks [@​jwbth])
jsx-eslint/eslint-plugin-jsx-a11y (eslint-plugin-jsx-a11y)

v6.10.2

Compare Source

Fixed
  • [patch] no-redundandant-roles: allow <img src="*.svg" role="img" /> #936
Commits
  • [meta] fix changelog URLs 0d01a1a
  • [Refactor] remove no-longer-needed es-iterator-helpers aa075bd
  • [Refactor] avoid spreading things that are already arrays d15d3ab
  • [Dev Deps] update @babel/cli, @babel/core, @babel/eslint-parser, @babel/plugin-transform-flow-strip-types, @babel/register 5dad7c4
  • [Tests] aria-role: Add valid test for <svg role="img" /> daba189
  • [Docs] label-has-associated-control: add line breaks for readability 0bc6378
  • [Tests] label-has-associated-control: add additional test cases 30d2318
  • [Tests] Add tests to reinforce required attributes for role="heading" d92446c

v6.10.1

Compare Source

Commits
  • [Fix] handle interactive/noninteractive changes from aria-query 4925ba8
  • [Docs] Use consistent spelling of 'screen reader' cb6788c
  • [Dev Deps] update @babel/cli, @babel/core, @babel/eslint-parser, @babel/plugin-transform-flow-strip-types, @babel/register, auto-changelog, eslint-plugin-import, tape 518a77e
  • [Deps] update es-iterator-helpers, string.prototype.includes eed03a3
  • [meta] package.json - Update jscodeshift & remove babel-jest 2ee940c
  • [Docs] Remove accidental whitespace in CONTRIBUTING.md a262131
  • [Deps] unpin aria-query e517937

v6.10.0

Compare Source

Fixed
  • [New] label-has-associated-control: add additional error message #1005
  • [Fix] label-has-associated-control: ignore undetermined label text #966
Commits
  • [Tests] switch from jest to tape a284cbf
  • [New] add eslint 9 support deac4fd
  • [New] add attributes setting a1ee7f8
  • [New] allow polymorphic linting to be restricted 6cd1a70
  • [Tests] remove duplicate tests 74d5dec
  • [Dev Deps] update @babel/cli, @babel/core, @babel/eslint-parser, @babel/plugin-transform-flow-strip-types 6eca235
  • [readme] remove deprecated travis ci badge; add github actions badge 0be7ea9
  • [Tests] use npm audit instead of aud 05a5e49
  • [Deps] update axobject-query 912e98c
  • [Deps] unpin axobject-query 75147aa
  • [Deps] update axe-core 27ff7cb
  • [readme] fix jsxA11y import name ce846e0
  • [readme] fix typo in shareable config section in readme cca288b
prettier/eslint-plugin-prettier (eslint-plugin-prettier)

v5.2.1

Compare Source

Patch Changes
jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.37.3

Compare Source

Fixed
Changed
  • [Tests] [jsx-no-script-url]: Improve tests (#​3849 @​radu2147)
  • [Docs] fix broken links: [default-props-match-prop-types], [jsx-boolean-value], [jsx-curly-brace-presence], [jsx-no-bind], [no-array-index-key], [no-is-mounted], [no-render-return-value], [require-default-props] (#​3841 @​bastiendmt)

v7.37.2

Compare Source

Fixed
  • [destructuring-assignment]: fix false negative when using typeof props.a (#​3835 @​golopot)
Changed
  • [Refactor] [destructuring-assignment]: use getParentStatelessComponent (#​3835 @​golopot)

v7.37.1

Compare Source

Fixed
Changed

v7.37.0

Compare Source

Added
Changed

v7.36.1

Compare Source

Fixed

v7.36.0

Compare Source

Added
Fixed
  • [function-component-definition], [boolean-prop-naming], [jsx-first-prop-new-line], [jsx-props-no-multi-spaces], propTypes: use type args (#​3629 @​HenryBrown0)
  • JSX pragma: fail gracefully (#​3632 @​ljharb)
  • [jsx-props-no-spreading]: add explicitSpread option to schema (#​3799 @​ljharb)
Changed

v7.35.2

Compare Source

Fixed
  • [jsx-curly-brace-presence]: avoid autofixing attributes with double quotes to a double quoted attribute (#​3814 @​ljharb)

v7.35.1

Compare Source

Fixed
  • [jsx-curly-brace-presence]: do not trigger on strings containing a quote character (#​3798 @​akulsr0)

v7.35.0

Compare Source

Added
Fixed
Changed

v7.34.4

Compare Source

Fixed
prettier/prettier (prettier)

v3.4.2

Compare Source

diff

Treat U+30A0 & U+30FB in Katakana Block as CJK (#​16796 by @​tats-u)

Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.

<!-- Input (--prose-wrap=never) -->

C言
語
・
C++
・
Go
・
Rust

<!-- Prettier 3.4.1 -->
C言語・ C++ ・ Go ・ Rust

<!-- Prettier 3.4.2 -->
C言語・C++・Go・Rust

U+30A0 can be used as the replacement of the - in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).

Fix comments print on class methods with decorators (#​16891 by @​fisker)
// Input
class A {
  @&#8203;decorator
  /** 
   * The method description
   *
  */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.1
class A {
  @&#8203;decorator
  async /**
   * The method description
   *
   */
  method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}

// Prettier 3.4.2
class A {
  @&#8203;decorator
  /**
   * The method description
   *
   */
  async method(foo: Foo, bar: Bar) {
    console.log(foo);
  }
}
Fix non-idempotent formatting (#​16899 by @​seiyab)

This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.

// Input
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.1 (first)
<div>
  foo
  <span>
    longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo
  </span>, abc
</div>;

// Prettier 3.4.1 (second)
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

// Prettier 3.4.2
<div>
  foo
  <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span>
  , abc
</div>;

v3.4.1

Compare Source

diff

Remove unnecessary parentheses around assignment in v-on (#​16887 by @​fisker)
<!-- Input -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

<!-- Prettier 3.4.0 -->
<template>
  <button @&#8203;click="(foo += 2)">Click</button>
</template>

<!-- Prettier 3.4.1 -->
<template>
  <button @&#8203;click="foo += 2">Click</button>
</template>

v3.4.0

Compare Source

diff

🔗 Release Notes

stylelint/stylelint (stylelint)

v16.12.0

Compare Source

  • Added: selector-pseudo-class-allowed-list now checks @page pseudo-classes (#​8176) (@​Mouvedia).
  • Added: selector-pseudo-class-disallowed-list now checks @page pseudo-classes (#​8171) (@​Mouvedia).
  • Fixed: at-rule-property-required-list message to use "descriptor" for accuracy (#​8186) (@​ybiquitous).
  • Fixed: custom-property-no-missing-var-function false positives for container-name (#​8157) (@​Mouvedia).
  • Fixed: custom-property-no-missing-var-function false positives for custom properties passed to running() (#​8172) (@​Mouvedia).
  • Fixed: function-no-unknown false positives for running() (#​8172) (@​Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for :open (#​8184) (@​lukewarlow).
  • Fixed: selector-pseudo-class-no-unknown false positives for :recto, :verso and :nth() (#​8170) (@​Mouvedia).
  • Fixed: selector-pseudo-class-no-unknown false positives for some moz-* vendor-prefixed pseudo-classes (#​8188) (@​Mouvedia).
  • Fixed: selector-pseudo-element-no-unknown false positives for ::details-content (#​8174) (@​lukewarlow).
  • Fixed: selector-type-no-unknown false positives for idents in functional pseudo-classes (#​8191) (@​elskhn).
  • Fixed: value-keyword-case false negatives (#​8158) (@​Mouvedia).
  • Fixed: value-keyword-case false positives for vendor-prefixed system colors (#​8146) (@​Mouvedia).

v16.11.0

Compare Source

v16.10.0

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@matticbot matticbot added [Type] Task dependencies Pull requests that update a dependency file Framework labels Sep 21, 2024
@matticbot
Copy link
Contributor Author

matticbot commented Sep 21, 2024

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~1140 bytes added 📈 [gzipped])

name                   parsed_size           gzip_size
entry-stepper              +6466 B  (+0.2%)    +1140 B  (+0.1%)
entry-subscriptions        +6066 B  (+0.3%)    +1077 B  (+0.2%)
entry-main                 +6066 B  (+0.3%)    +1077 B  (+0.2%)
entry-login                +6066 B  (+0.3%)    +1077 B  (+0.2%)
entry-domains-landing      +2536 B  (+0.4%)     +216 B  (+0.1%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~63 bytes added 📈 [gzipped])

name      parsed_size           gzip_size
patterns       +400 B  (+0.0%)      +63 B  (+0.0%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Async-loaded Components (~63 bytes added 📈 [gzipped])

name                                                                         parsed_size           gzip_size
async-load-comment-block-editor                                                   +400 B  (+0.0%)      +63 B  (+0.0%)
async-load-automattic-global-styles-src-components-global-styles-variations       +400 B  (+0.0%)      +63 B  (+0.0%)

React components that are loaded lazily, when a certain part of UI is displayed for the first time.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

@matticbot matticbot force-pushed the renovate/linters branch 4 times, most recently from 30ec5a5 to cdf8166 Compare September 27, 2024 09:36
@matticbot matticbot force-pushed the renovate/linters branch 3 times, most recently from c4380f3 to 5ede139 Compare October 11, 2024 14:07
@matticbot matticbot force-pushed the renovate/linters branch 2 times, most recently from 1e0d4e2 to 67f781a Compare October 14, 2024 20:36
@matticbot matticbot force-pushed the renovate/linters branch 2 times, most recently from bdf6930 to 43dbbf6 Compare October 23, 2024 15:37
@matticbot matticbot force-pushed the renovate/linters branch 3 times, most recently from 1460138 to a389c1c Compare November 1, 2024 22:05
@matticbot matticbot force-pushed the renovate/linters branch 2 times, most recently from fad9595 to ad72b12 Compare November 11, 2024 19:06
@matticbot
Copy link
Contributor Author

matticbot commented Nov 11, 2024

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • blaze-dashboard
  • command-palette-wp-admin
  • happy-blocks
  • help-center
  • notifications
  • odyssey-stats
  • whats-new
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug renovate/linters on your sandbox.

@matticbot matticbot force-pushed the renovate/linters branch 3 times, most recently from cf8bb7e to 869e8ce Compare December 8, 2024 16:06
@matticbot matticbot changed the title chore(deps): update linters chore(deps): update linters - autoclosed Dec 8, 2024
@matticbot matticbot closed this Dec 8, 2024
@matticbot matticbot deleted the renovate/linters branch December 8, 2024 18:39
@matticbot matticbot changed the title chore(deps): update linters - autoclosed chore(deps): update linters Dec 8, 2024
@matticbot matticbot restored the renovate/linters branch December 8, 2024 19:05
@matticbot matticbot reopened this Dec 8, 2024
@matticbot matticbot force-pushed the renovate/linters branch 2 times, most recently from 5c83f26 to 2a830da Compare December 14, 2024 07:05
@matticbot matticbot force-pushed the renovate/linters branch 3 times, most recently from 00d955f to 3952bc7 Compare December 26, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Framework [Type] Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants