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

📦 Update linting devDependencies #40105

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/eslint (source) 8.56.10 -> 8.56.11 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) 7.16.0 -> 7.18.0 age adoption passing confidence
@typescript-eslint/parser (source) 7.16.0 -> 7.18.0 age adoption passing confidence
eslint-plugin-jsdoc 48.7.0 -> 48.11.0 age adoption passing confidence
eslint-plugin-prettier 5.1.3 -> 5.2.1 age adoption passing confidence
eslint-plugin-react 7.34.3 -> 7.35.0 age adoption passing confidence
prettier (source) 3.3.2 -> 3.3.3 age adoption passing confidence

See all other Renovate PRs on the Dependency Dashboard

How to resolve breaking changes

This PR may introduce breaking changes that require manual intervention. In such cases, you will need to check out this branch, fix the cause of the breakage, and commit the fix to ensure a green CI build. To check out and update this PR, follow the steps below:

# Check out the PR branch
git checkout -b renovate/linting-devdependencies main
git pull https://github.com/ampproject/amphtml.git renovate/linting-devdependencies

# Directly make fixes and commit them
amp lint --fix # For lint errors in JS files
amp prettify --fix # For prettier errors in non-JS files
# Edit source code in case of new compiler warnings / errors

# Push the changes to the branch
git push [email protected]:ampproject/amphtml.git renovate/linting-devdependencies:renovate/linting-devdependencies

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v7.18.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib

  • eslint-plugin: [unbound-method] report on destructuring in function parameters

  • eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types

  • eslint-plugin: [strict-boolean-expressions] support branded booleans

❤️ Thank You
  • auvred
  • Oliver Salzburg
  • Vinccool96
  • Yukihiro Hasegawa

You can read about our versioning strategy and releases on our website.

v7.17.0

Compare Source

🚀 Features
  • eslint-plugin: backport no-unsafe-function type, no-wrapper-object-types from v8 to v7

  • eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"

🩹 Fixes
  • eslint-plugin: [no-floating-promises] check top-level type assertions (and more)

  • eslint-plugin: [strict-boolean-expressions] consider assertion function argument a boolean context

  • eslint-plugin: [no-unnecessary-condition] false positive on optional private field

❤️ Thank You
  • Armano
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • StyleShit

You can read about our versioning strategy and releases on our website.

v7.16.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-parameters] descend into all parts of mapped types in no-unnecessary-type-parameters
❤️ Thank You
  • Dan Vanderkam

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v7.18.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v7.17.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v7.16.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)

v48.11.0

Compare Source

v48.10.2

Compare Source

Bug Fixes
  • check-template-names: check for param and returns tags; fixes #​1286 (12fca71)

v48.10.1

Compare Source

Bug Fixes

v48.10.0

Compare Source

Features
  • require-template, check-template-names: add support ClassDeclaration (31d3255)
  • require-template, check-template-names: add support FunctionDeclaration (28bc1cb)
  • require-template, check-template-names: add support TSInterfaceDeclaration (320a1eb)

v48.9.3

Compare Source

Bug Fixes
  • getJsdocProcessorPlugin: ensure package.json file is consistently located (87a1270)

v48.9.2

Compare Source

v48.9.1

Compare Source

v48.9.0

Compare Source

Features

v48.8.3

Compare Source

Bug Fixes

v48.8.2

Compare Source

v48.8.1

Compare Source

Bug Fixes

v48.8.0

Compare Source

prettier/eslint-plugin-prettier (eslint-plugin-prettier)

v5.2.1

Compare Source

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

v7.35.0

Compare Source

Added
Fixed
Changed

v7.34.4

Compare Source

Fixed
prettier/prettier (prettier)

v3.3.3

Compare Source

diff

Add parentheses for nullish coalescing in ternary (#​16391 by @​cdignam-segment)

This change adds clarity to operator precedence.

// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
Add parentheses for decorator expressions (#​16458 by @​y-schneider)

Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.

// Input
@​(foo`tagged template`)
class X {}

// Prettier 3.3.2
@​foo`tagged template`
class X {}

// Prettier 3.3.3
@​(foo`tagged template`)
class X {}
Support @let declaration syntax (#​16474 by @​sosukesuzuki)

Adds support for Angular v18 @let declaration syntax.

Please see the following code example. The @let declaration allows you to define local variables within the template:

@​let name = 'Frodo';

<h1>Dashboard for {{name}}</h1>
Hello, {{name}}

For more details, please refer to the excellent blog post by the Angular Team: Introducing @​let in Angular.

We also appreciate the Angular Team for kindly answering our questions to implement this feature.


Configuration

📅 Schedule: Branch creation - "after 12am every weekday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Never, 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.

@renovate renovate bot added the WG: infra label Aug 6, 2024
@renovate renovate bot enabled auto-merge (squash) August 6, 2024 16:01
@renovate renovate bot force-pushed the renovate/linting-devdependencies branch from 9ae94b4 to 017387d Compare August 12, 2024 13:44
@renovate renovate bot force-pushed the renovate/linting-devdependencies branch from 017387d to 9a320ae Compare August 12, 2024 16:59
@renovate renovate bot merged commit abbcd59 into main Aug 12, 2024
52 checks passed
@renovate renovate bot deleted the renovate/linting-devdependencies branch August 12, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants