Skip to content

Conversation

@krist7599555
Copy link
Contributor

Fix this issue #584

to compatibility with Eslint Flat Config.
parserPath might be undefined and will throw error on worker. so check parserPath is string type before usage.

Maybe we can remove whole svelte block since eslint-plugin-svelte3 is deprecated

Compatibility with Eslint Flat Config.
parserPath might be undefined it will fail on worker
@changeset-bot
Copy link

changeset-bot bot commented Oct 7, 2023

🦋 Changeset detected

Latest commit: 092a6dd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-prettier Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@krist7599555 krist7599555 changed the title fix: parserPath type might be undefined on Eslint Falt Config fix: parserPath type might be undefined on Eslint Flat Config Oct 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2023

📊 Package size report   No changes

File Before After
Total (Includes all files) 24.7 kB 24.7 kB
Tarball size 8.2 kB 8.2 kB
Unchanged files
File Size
eslint-plugin-prettier.d.ts 117 B
eslint-plugin-prettier.js 7.4 kB
LICENSE.md 1.1 kB
package.json 2.6 kB
README.md 7.9 kB
worker.js 5.6 kB

🤖 This report was automatically generated by pkg-size-action

@JounQin
Copy link
Member

JounQin commented Oct 7, 2023

@krist7599555 Thanks for raising PR to fix the issue, but CI is broken unexpectedly, can you fix it?

@krist7599555
Copy link
Contributor Author

@JounQin might need a workflow approval

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.

2 participants