Skip to content

chore: tooling refresh (prettier 3 + eslint 8 + typescript-eslint 7)#950

Merged
EightRice merged 1 commit into
masterfrom
chore/tooling-refresh-prettier3-eslint8
May 15, 2026
Merged

chore: tooling refresh (prettier 3 + eslint 8 + typescript-eslint 7)#950
EightRice merged 1 commit into
masterfrom
chore/tooling-refresh-prettier3-eslint8

Conversation

@EightRice
Copy link
Copy Markdown
Collaborator

@EightRice EightRice commented May 13, 2026

Summary

Refreshes the linting and formatting toolchain to current stable lines. No runtime/source behavior change beyond mechanical reformatting.

  • prettier 2 → 3
  • eslint 7 → 8
  • eslint-config-prettier 8 → 10
  • eslint-plugin-prettier 4 → 5
  • @typescript-eslint/* 6 → 7.18.0 (latest 7.x — see note below)

Notes for review

  • TypeScript-ESLint stayed at 7, not 8, because v8 expects a type-aware parser config (parserOptions.project pointing at tsconfig.json). Adding that is a separate ticket — would change lint scope from syntactic to full type-checked, with its own perf and rule-set implications. v7 is the cleanest interim step.
  • Lint scripts switched glob style. The 'src/**/*.{js,jsx,ts,tsx}' glob with literal single quotes worked on eslint 7 but not eslint 8 on Windows bash. Replaced with --ext .js,.jsx,.ts,.tsx src.
  • Added .prettierignore to skip the contract ABIs in src/assets/abis/ — those JSON files are hand-column-aligned for readability and shouldn't be reformatted. Build output and lockfiles also ignored.
  • Only 12 source files were reformatted by prettier 3. The repo's .prettierrc.json already set every default that changed in v3 (trailingComma, arrowParens, etc.), so the only changes are argument-wrapping on a few long function calls.

Test plan

  • yarn install — clean
  • yarn build — green
  • npx tsc --noEmit — green
  • yarn lint:check — green
  • Netlify deploy preview — no visual/runtime change expected since this is a tooling-only PR

Bumps:
- prettier 2.8.8 -> 3.8.3
- eslint 7.32.0 -> 8.57.1
- eslint-config-prettier 8 -> 10
- eslint-plugin-prettier 4 -> 5
- @typescript-eslint/* 6 -> 7.18.0 (latest 7.x; 8.x requires type-aware
  parser config with parserOptions.project, which would need a real
  .eslintrc and tsconfig integration — left for a later pass)

Other changes:
- lint scripts switched from quoted glob to --ext flag so eslint 8
  resolves files correctly on Windows (single-quoted globs aren't
  expanded by bash on win32 the way 7 tolerated)
- Added .prettierignore to skip contract ABIs (hand-aligned vendor JSON)
  and build artifacts
- 12 src files reformatted by prettier 3 (mostly argument-wrapping on
  long function calls; explicit config in .prettierrc.json prevented
  trailingComma/arrowParens churn)

yarn build, yarn lint:check, tsc --noEmit all green.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 13, 2026

Deploy Preview for tezos-homebase ready!

Name Link
🔨 Latest commit d3a89a1
🔍 Latest deploy log https://app.netlify.com/projects/tezos-homebase/deploys/6a048c6878610100087bddde
😎 Deploy Preview https://deploy-preview-950--tezos-homebase.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 26 (🟢 up 1 from production)
Accessibility: 91 (no change from production)
Best Practices: 83 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@EightRice EightRice merged commit e181ae1 into master May 15, 2026
6 checks passed
@EightRice EightRice deleted the chore/tooling-refresh-prettier3-eslint8 branch May 15, 2026 07:28
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