fix: resolve all 38 pre-existing ESLint errors - #1009
Merged
Merged
Conversation
- astro.config.ts: drop the unnecessary `as any` cast on the
tailwindcss() vite plugin; astro check passes without it.
- eslint.config.js: add a scoped override for public/speedtest/**
(vendored LibreSpeed code, GNU LGPLv3) that turns off no-console
(intentional logging) and no-unused-expressions (an IE11
feature-detection idiom), and configures no-unused-vars with
caughtErrors: "none" for its many deliberately-ignored
`catch (e) {}` blocks, instead of rewriting upstream code.
- Remove genuinely unused imports: IconArchive (Header.astro),
IconBluesky and SITE (constants.ts), ShareLinks (PostDetails.astro),
IconRss (index.astro) -- verified via grep that none are used.
- PostDetails.astro: wire the already-destructured `hideEditPost`
frontmatter field through to <EditPost>, which accepts it as a
prop to hide the edit link per post. It was previously computed
but silently dropped, so the documented hideEditPost frontmatter
option (see EditPost.stories.ts) never had any effect.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y38yxr1x54TZQgwdcHUbtE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as anycast on thetailwindcss() vite plugin; astro check passes without it.
(vendored LibreSpeed code, GNU LGPLv3) that turns off no-console
(intentional logging) and no-unused-expressions (an IE11
feature-detection idiom), and configures no-unused-vars with
caughtErrors: "none" for its many deliberately-ignored
catch (e) {}blocks, instead of rewriting upstream code.IconBluesky and SITE (constants.ts), ShareLinks (PostDetails.astro),
IconRss (index.astro) -- verified via grep that none are used.
hideEditPostfrontmatter field through to , which accepts it as a
prop to hide the edit link per post. It was previously computed
but silently dropped, so the documented hideEditPost frontmatter
option (see EditPost.stories.ts) never had any effect.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Y38yxr1x54TZQgwdcHUbtE