-
Notifications
You must be signed in to change notification settings - Fork 21
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
linter is not working properly in this repository #1239
Labels
Comments
deboer-tim
added a commit
that referenced
this issue
Jan 29, 2025
Tried making a few intentional mistakes, and yes, linting was very broken in .ts and .svelte. For consistency and picking a good baseline, I started by pulling the package.json and eslint differences from the AI Lab extension, which included switching to the newer eslint.config.mjs config instead of .eslint files. Eslint is updated, and several plugins were added. Since the rules in ai-lab are stricter than when eslint stopped working here, this flagged ~160 'new' issues. This would be too much change for a single PR, so I fixed all the minor/one-off issues here, disabled rules for the top 4, and opened #1245 to enable them later. Fixes #1239. Signed-off-by: Tim deBoer <[email protected]>
Merged
deboer-tim
added a commit
that referenced
this issue
Jan 29, 2025
Tried making a few intentional mistakes, and yes, linting was very broken in .ts and .svelte. For consistency and picking a good baseline, I started by pulling the package.json and eslint differences from the AI Lab extension, which included switching to the newer eslint.config.mjs config instead of .eslint files. Eslint is updated, and several plugins were added. Since the rules in ai-lab are stricter than when eslint stopped working here, this flagged ~160 'new' issues. This would be too much change for a single PR, so I fixed all the minor/one-off issues here, disabled rules for the top 4, and opened #1245 to enable them later. Fixes #1239. Signed-off-by: Tim deBoer <[email protected]>
deboer-tim
added a commit
that referenced
this issue
Jan 29, 2025
Tried making a few intentional mistakes, and yes, linting was very broken in .ts and .svelte. For consistency and picking a good baseline, I started by pulling the package.json and eslint differences from the AI Lab extension, which included switching to the newer eslint.config.mjs config instead of .eslint files. Eslint is updated, and several plugins were added. Since the rules in ai-lab are stricter than when eslint stopped working here, this flagged ~160 'new' issues. This would be too much change for a single PR, so I fixed all the minor/one-off issues here, disabled rules for the top 4, and opened #1245 to enable them later. Fixes #1239. Signed-off-by: Tim deBoer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
I modified some svelte files and when running the pre-hook I got errors in svelte parsing file
I noticed also that the lint PR check rule is not checking the svelte file at all
Operating system
macOS
Version
next (development version)
Steps to reproduce
modify a svelte file and try to commit, see the error
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: