Skip to content

chore: use the shared ESLint config - #57

Merged
nyg merged 3 commits into
masterfrom
chore/shared-eslint-config
Nov 15, 2026
Merged

nyg merged 3 commits into
masterfrom
chore/shared-eslint-config

Conversation

@nyg

@nyg nyg commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner
  • Take the lint rules from nyg/eslint-config, installed from its v1.0.1 tag: base, typescript, and react for examples/.
  • Formatting moves from Prettier to ESLint: remove prettier, its config files and the format script.
  • Reformat with eslint --fix: 3 spaces, no semicolons, sorted imports, braces around every block. This includes the shadcn files under examples/**/components/ui, which were kept verbatim until now.

pnpm typecheck, pnpm test (159 tests), pnpm dashboard:typecheck and pnpm dashboard:build pass. pnpm lint reports no error and 3 react-refresh/only-export-components warnings in the shadcn files, where the rule was turned off before.

@nyg
nyg merged commit 54288b6 into master Nov 15, 2026
4 checks passed
@nyg
nyg deleted the chore/shared-eslint-config branch November 15, 2026 13:10
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