Skip to content

feat: setup ESLint flat config for consistent code style#48

Closed
Ai-chan-0411 wants to merge 1 commit intoO2sa:mainfrom
Ai-chan-0411:feat/eslint-config
Closed

feat: setup ESLint flat config for consistent code style#48
Ai-chan-0411 wants to merge 1 commit intoO2sa:mainfrom
Ai-chan-0411:feat/eslint-config

Conversation

@Ai-chan-0411
Copy link
Copy Markdown
Contributor

Summary

Adds an ESLint flat config (eslint.config.mjs) that extends next/core-web-vitals and next/typescript with additional rules for code consistency:

  • Warns on unused variables (ignoring _ prefixed)
  • Warns on @typescript-eslint/no-explicit-any
  • Warns on console.log (allows console.warn and console.error)
  • Enforces prefer-const, no-var, and strict equality (eqeqeq)

Closes #28

Test Plan

  • Run pnpm lint to verify ESLint picks up the new config
  • Confirm no breaking lint errors on existing codebase

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

@aoi-dev-0411 is attempting to deploy a commit to the osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

@Ai-chan-0411
Copy link
Copy Markdown
Contributor Author

Closing this PR as there has been no maintainer feedback for several weeks. Thank you for the opportunity to contribute! Feel free to reopen if you would like these changes.

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.

Setup ESLint for consistent code style

1 participant