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 #1151

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

chore(deps): update linters #1151

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) ^3.3.3 -> ^3.4.2 age adoption passing confidence
stylelint (source) ^16.10.0 -> ^16.13.2 age adoption passing confidence

Release Notes

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.13.2

Compare Source

It fixes a regression bug with --fix.

v16.13.1

Compare Source

It fixes one bug due to an upstream change in our ignore dependency.

v16.13.0

Compare Source

It adds 3 rules to help you write error-free at-rules and 2 rules to warn you about deprecated CSS features. We've turned these rules on in our standard config.

It also adds new rule options, a feature to display how long rules take, lax autofix and support for messageArgs in more rules. It fixes 7 bugs.

Lastly, we've made a deprecation that may affect some plugins. We've updated our docs for plugin authors and end users on how to silence deprecation warnings.

  • Deprecated: ambiguous position arguments passed to utils.report() (#​8244) (@​romainmenke).
  • Added: lax/strict values to the fix Node.js API option and CLI flag (#​8106) (@​ryo-manba).
  • Added: support for profiling rule performance via the TIMING environment variable (#​8108) (@​ryo-manba).
  • Added: at-rule-descriptor-no-unknown rule (#​8197) (@​ryo-manba).
  • Added: at-rule-descriptor-value-no-unknown rule (#​8211) (@​ryo-manba).
  • Added: at-rule-no-deprecated rule (#​8251) (@​jeddy3).
  • Added: at-rule-prelude-no-invalid rule (#​8268) (@​ryo-manba).
  • Added: declaration-property-value-keyword-no-deprecated rule (#​8223) (@​Mouvedia).
  • Added: "ignore": ["at-rule-preludes", "declaration-values"] to string-no-newline (#​8214) (@​ryo-manba).
  • Added: messageArgs to declaration-property-value-no-unknown, font-family-name-quotes, font-family-no-duplicate-names, function-calc-no-unspaced-operator, import-notation, media-feature-name-unit-allowed-list, selector-attribute-quotes and selector-pseudo-element-colon-notation (#​8285 & #​8252) (@​Mouvedia).
  • Fixed: deprecation warnings to only display once per (custom) rule (#​8265) (@​romainmenke).
  • Fixed: *-no-vendor-prefix message ambiguity (#​8239) (@​Mouvedia).
  • Fixed: at-rule-(dis)allowed-list, at-rule-no-vendor-prefix, at-rule-property-required-list message argument (#​8277) (@​Mouvedia).
  • Fixed: at-rule-property-required-list message for inclusion of properties and descriptors (#​8207) (@​jeddy3).
  • Fixed: at-rule-* false positives and negatives for @charset rule (#​8215) (@​jeddy3).
  • Fixed: declaration-property-value-no-unknown false positives for descriptors (#​8240) (@​jeddy3).
  • Fixed: property-(dis)allowed-list false negatives for custom properties, use /^--/ to (dis)allow them (#​8209) (@​fbasmaison-lucca).
  • Fixed: property-no-unknown false positives for descriptors (#​8203) (@​jeddy3).
  • Fixed: selector-pseudo-class-no-unknown false positives for deprecated pseudo-classes (#​8264) (@​Mouvedia).
  • Fixed: selector-type-case false positives for hatchPath (#​8264) (@​Mouvedia).
  • Fixed: selector-type-no-unknown false positives for shadow, hatch and hatchpath (#​8264) (@​Mouvedia).

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


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blog-s2n-tech ✅ Ready (Inspect) Visit Preview Jan 27, 2025 1:34am

@renovate renovate bot enabled auto-merge (squash) December 8, 2024 15:54
@renovate renovate bot force-pushed the renovate/linters branch from e63aa69 to 9422303 Compare December 8, 2024 20:18
@renovate renovate bot force-pushed the renovate/linters branch from 9422303 to 5f247fd Compare December 8, 2024 22:43
@renovate renovate bot force-pushed the renovate/linters branch from 5f247fd to 440f9f8 Compare December 12, 2024 22:33
@renovate renovate bot force-pushed the renovate/linters branch from 440f9f8 to f48de85 Compare December 15, 2024 18:58
@renovate renovate bot force-pushed the renovate/linters branch from f48de85 to 5db91d2 Compare December 15, 2024 21:13
@renovate renovate bot force-pushed the renovate/linters branch from 5db91d2 to 472a125 Compare December 18, 2024 17:38
@renovate renovate bot force-pushed the renovate/linters branch from 472a125 to 55d82cc Compare December 22, 2024 19:30
@renovate renovate bot force-pushed the renovate/linters branch from 55d82cc to 5eca294 Compare January 5, 2025 18:33
@renovate renovate bot force-pushed the renovate/linters branch from 5eca294 to 9c6f15a Compare January 5, 2025 22:31
@renovate renovate bot force-pushed the renovate/linters branch from 9c6f15a to 562205a Compare January 12, 2025 21:09
@renovate renovate bot force-pushed the renovate/linters branch from 562205a to a42be7a Compare January 15, 2025 14:01
@renovate renovate bot force-pushed the renovate/linters branch from a42be7a to 1de02dd Compare January 16, 2025 20:57
@renovate renovate bot force-pushed the renovate/linters branch from 1de02dd to b68d568 Compare January 19, 2025 09:16
@renovate renovate bot force-pushed the renovate/linters branch from b68d568 to 010976b Compare January 19, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants