-
Notifications
You must be signed in to change notification settings - Fork 10
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
ESLint: Migrate to flat config, isolate Prettier, fix errors #120
Conversation
.prettierignore
Outdated
@@ -0,0 +1 @@ | |||
dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dist | |
dist | |
.gitignore
Outdated
@@ -100,3 +100,6 @@ lib/**/* | |||
|
|||
# Ignore jetbrains files | |||
.idea | |||
|
|||
# ESBuild metafile | |||
metafile*.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metafile*.json | |
metafile*.json | |
- uses: prefix-dev/[email protected] | ||
with: | ||
environments: ${{ matrix.environment }} | ||
- uses: actions/checkout@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is checked by prettier, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
throw error | ||
}) | ||
.then(() => exit(0)) // workaround for https://github.com/actions/toolkit/issues/1578 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep this line, see #113
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll also add it to post.ts
then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Hi all!
This PR updates ESLint to the new flat config format. Additionally, the following things have been done:
typescript-eslint
package.json
to include Prettier in CI