Add Prettier, lint fixes, and typecheck scripts#29
Merged
Conversation
Add prettier and eslint-config-prettier for consistent code formatting. New scripts: typecheck, format, format:check. Update lint to use --max-warnings 0 for stricter enforcement. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove unused variables (ROWS, ready, children, i, h) - Fix ternary expression used as statement in LiveNetwork - Add alt attr to opengraph img - Disable no-img-element globally (project uses raw <img> by design) - Remove now-redundant eslint-disable comments Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace `next lint` with `eslint . --max-warnings 0` to avoid the Next.js 16 deprecation warning. Add ignores for .next/, node_modules/, and next-env.d.ts in the flat config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
Author
|
@adamsoffer please check if the lint fixes make sense or you want to change the rules instead. The blur logic we could reintroduce if you want. |
adamsoffer
approved these changes
Apr 3, 2026
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.
Summary
--max-warnings 0(unused vars, missing alt, ternary-as-statement)no-img-elementglobally (project uses raw<img>by design)eslint-disablecommentsnext lintto ESLint CLIStacked on #28
Test plan
npm run lintpasses with--max-warnings 0npm run buildcompiles successfully🤖 Generated with Claude Code