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: update eslint and prettier (minor) #295

Merged
merged 1 commit into from Jan 21, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) ^8.55.0 -> ^8.56.0 age adoption passing confidence
eslint-plugin-astro (source) ^0.30.0 -> ^0.31.3 age adoption passing confidence
prettier (source) ^3.1.1 -> ^3.2.4 age adoption passing confidence
prettier-plugin-astro ^0.12.0 -> ^0.13.0 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v8.56.0

Compare Source

Features
  • 0dd9704 feat: Support custom severity when reporting unused disable directives (#​17212) (Bryan Mishkin)
  • 31a7e3f feat: fix no-restricted-properties false negatives with unknown objects (#​17818) (Arka Pratim Chaudhuri)
Bug Fixes
  • 7d5e5f6 fix: TypeError: fs.exists is not a function on read-only file system (#​17846) (Francesco Trotta)
  • 74739c8 fix: suggestion with invalid syntax in no-promise-executor-return rule (#​17812) (Bryan Mishkin)
Documentation
  • 9007719 docs: update link in ways-to-extend.md (#​17839) (Amel SELMANE)
  • 3a22236 docs: Update README (GitHub Actions Bot)
  • 54c3ca6 docs: fix migration-guide example (#​17829) (Tanuj Kanti)
  • 4391b71 docs: check config comments in rule examples (#​17815) (Francesco Trotta)
  • fd28363 docs: remove mention about ESLint stylistic rules in readme (#​17810) (Zwyx)
  • 48ed5a6 docs: Update README (GitHub Actions Bot)
Chores
ota-meshi/eslint-plugin-astro (eslint-plugin-astro)

v0.31.3

Compare Source

Patch Changes

v0.31.2

Compare Source

Patch Changes

v0.31.1

Compare Source

Patch Changes

v0.31.0

Compare Source

Minor Changes
prettier/prettier (prettier)

v3.2.4

Compare Source

diff

Fix incorrect parser inference (#​15947 by @​fisker)

Files like .eslintrc.json were incorrectly formatted as JSONC files.

// Input
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "jsonc" }

// Prettier 3.2.4
prettier --file-info .eslintrc.json
{ "ignored": false, "inferredParser": "json" }

v3.2.3

Compare Source

diff

Throw errors for invalid code (#​15881 by @​fisker, @​Josh-Cena, @​auvred)
// Input
1++;

// Prettier 3.2.2
1++;

// Prettier 3.2.3
SyntaxError: Invalid left-hand side expression in unary operation (1:1)
> 1 | 1++;
    | ^
// Input
try {} catch (error = 1){}

// Prettier 3.2.2
try {
} catch (error) {}

// Prettier 3.2.3
SyntaxError: Catch clause variable cannot have an initializer. (1:23)
> 1 | try {} catch (error = 1){}
    |                       ^
Fix parser inference (#​15927 by @​fisker)
// Prettier 3.2.2
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "json" }

// Prettier 3.2.3
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }

v3.2.2

Compare Source

diff

Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute (#​15896 by @​eelco)

For example this code would crash before:

<style {...spread}>{`.{}`}</style>
Fix formatting error on optional call expression and member chain (#​15920 by @​sosukesuzuki)
// Input
a(() => {}, c?.d());

// Prettier 3.2.1
TypeError: Cannot read properties of undefined (reading 'type')

// Prettier 3.2.2
a(() => {}, c?.d());

v3.2.1

Compare Source

diff

Fix formatting error on member chain (#​15915 by @​sosukesuzuki)
// Input
test().test2().test2(thing?.something);

// Prettier 3.2.0
TypeError: Cannot read properties of undefined (reading 'type')

// Prettier 3.2.1
test().test2().test2(thing?.something);

v3.2.0

Compare Source

diff

🔗 Release Notes

withastro/prettier-plugin-astro (prettier-plugin-astro)

v0.13.0

Compare Source

Minor Changes
  • e97406a: Fix plugin sometimes including significant whitespace inside components, fragments and custom elements

v0.12.3

Compare Source

Patch Changes
  • e75f9c7: Fix <br /> tags sometimes causing additional spaces to appear
  • b4b0918: Fix not being able to format expressions with more than 2 roots

v0.12.2

Compare Source

Patch Changes
  • 11b0dc7: Fix attributes using optional chaining not formatting correctly

v0.12.1

Compare Source

Patch Changes
  • 0188f04: Fix attributes with multiple invalid JSX characters in their key inside expressions causing the plugin to throw an error

Configuration

📅 Schedule: Branch creation - "after 8am and before 5pm" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner December 15, 2023 07:25
@renovate renovate bot added the renovate label Dec 15, 2023
Copy link

vercel bot commented Dec 15, 2023

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

Name Status Preview Comments Updated (UTC)
product-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2024 11:25pm

@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 0866f9d to f828a60 Compare December 16, 2023 01:12
@renovate renovate bot changed the title chore: update dependency eslint-plugin-astro to ^0.31.0 chore: update eslint and prettier (minor) Dec 16, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from f828a60 to 37d4f5e Compare January 13, 2024 00:47
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 37d4f5e to 678868d Compare January 14, 2024 04:22
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 678868d to 1674104 Compare January 14, 2024 07:20
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 1674104 to 4499628 Compare January 16, 2024 00:49
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 4499628 to cabddce Compare January 16, 2024 23:06
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from cabddce to 1e914b5 Compare January 17, 2024 04:42
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 1e914b5 to 35b1947 Compare January 18, 2024 02:15
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 35b1947 to a0fd73d Compare January 19, 2024 23:24
@uknmr uknmr merged commit dc6ea8e into main Jan 21, 2024
3 checks passed
@uknmr uknmr deleted the renovate/eslint-and-prettier branch January 21, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant