N/A — proactive tooling improvement.
Codify the project's code conventions through tooling, and expose npm scripts that CI/CD can call directly in a follow-up.
prettier-plugin-tailwindcss for deterministic Tailwind class ordering. Config: printWidth: 100, double quotes, semicolons, LF line endings, trailingComma: "all".@commitlint/config-conventional with i18n type added) to validate PR titles. Workflow is not enabled in this PR — a follow-up PR will add it..editorconfig and .gitattributes for IDE/Git consistency across contributors (especially Windows)..git-blame-ignore-revs so contributors can skip the bulk-format commit in git blame. The squash SHA will be appended in a follow-up PR (it cannot be known until this PR merges).package.json: format, format:check, typecheck, lint:fix, commitlint.dictionaries/ → locales/ path typo.format:check, typecheck, and Conventional Commits title. (This PR introduces the new template, so its checklist may differ from older PRs.)npm run format to the whole codebase (31 files). Mostly Tailwind class reordering plus minor wrap/trailing-comma adjustments. No behavioral changes.Wiring CI is intentionally left out of this PR. Once merged, two steps in .github/workflows/ci.yml complete the gate:
- name: Format check
run: npm run format:check
- name: Type check
run: npm run typecheck
echo "feat: bogus" | npx commitlint # passes
echo "weird: bogus" | npx commitlint # fails (type-enum)
echo "i18n: add ja" | npx commitlint # passes (validates the override)
npm run format:check passesnpm run lint passesnpm run typecheck passesnpm run build passesfeat:, fix:, chore:, refactor:, docs:, test:, )i18n: