Skip to content

Enable Next.js lint rules for skin-database and skin-museum-og#1326

Merged
captbaritone merged 1 commit intoenable-skin-database-lint-rulesfrom
enable-nextjs-lint-rules
Nov 28, 2025
Merged

Enable Next.js lint rules for skin-database and skin-museum-og#1326
captbaritone merged 1 commit intoenable-skin-database-lint-rulesfrom
enable-nextjs-lint-rules

Conversation

@captbaritone
Copy link
Owner

Summary

Enables Next.js-specific lint rules for the two packages that use Next.js.

Changes

  • skin-database: Added @next/eslint-plugin-next with plugin:@next/next/recommended
    • Using the plugin directly instead of next/core-web-vitals to avoid Babel version conflicts
  • skin-museum-og: Added .eslintrc.js extending next/core-web-vitals

Rules Disabled

  • @next/next/no-img-element - Both packages use <img> for OG images

Testing

  • All lint checks pass (9 packages)

- Add @next/eslint-plugin-next to skin-database
- Add eslint-config-next to skin-museum-og
- Disable @next/next/no-img-element in both packages (OG images use <img>)
- Use plugin:@next/next/recommended instead of next/core-web-vitals
  to avoid Babel version conflicts in skin-database
@captbaritone captbaritone merged commit 7851c16 into enable-skin-database-lint-rules Nov 28, 2025
3 checks passed
@github-actions
Copy link

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

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.

1 participant