Skip to content

chore: add ESLint + Prettier config for consistent code style (#304) - #314

Open
laurentketterle-hub wants to merge 3 commits into
Heliobond:mainfrom
laurentketterle-hub:feat/eslint-config-standardization-304
Open

chore: add ESLint + Prettier config for consistent code style (#304)#314
laurentketterle-hub wants to merge 3 commits into
Heliobond:mainfrom
laurentketterle-hub:feat/eslint-config-standardization-304

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Closes #304

Changes

  • .eslintrc.json — ESLint config with TypeScript, React, import ordering
  • .eslintignore — Excludes build outputs, generated files, fixtures
  • .prettierrc — Consistent formatting (single quotes, trailing commas)
  • .vscode/settings.json — Auto-fix on save, format on save
  • .vscode/extensions.json — Recommended editor extensions
  • .github/workflows/ci.yml — Lint check in CI pipeline

Rules Configured

  • @typescript-eslint — no-unused-vars, no-explicit-any
  • react-hooks — rules-of-hooks (error), exhaustive-deps (warn)
  • jsx-a11y — accessibility best practices
  • import/order — alphabetical with grouping
  • eqeqeq, curly, prefer-const, no-var

Apply for Stellar Wave bounty.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@laurentketterle-hub is attempting to deploy a commit to the David Dada's projects Team on Vercel.

A member of the Team first needs to authorize it.

… lint:fix script

- Add .eslintrc.json with TypeScript, React hooks, jsx-a11y, import ordering rules
- Add .eslintignore for build outputs and generated files
- Enhance eslint.config.mjs (flat config) with strict TypeScript, accessibility,
  import ordering, and best-practice rules (eqeqeq, curly, prefer-const, no-var)
- Add lint:fix script to package.json (eslint . --fix)
- Add eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-import-resolver-typescript
  as explicit devDependencies
- Update lint-staged to run eslint --fix on staged TS/TSX files

Closes Heliobond#304
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.

tooling: ESLint config missing — inconsistent code style in PRs

1 participant