Gatsby TypeScript Starter
A non-opinionated TypeScript starter for Gatsby, designed to provide a minimal yet complete foundation for building Gatsby projects with TypeScript.
Key Features:
- Gatsby 5 & React 18: Utilizes the latest versions of Gatsby and React.
- TypeScript: Fully configured for TypeScript development.
- Testing: Includes Vitest and Testing Library for comprehensive testing.
- Linting & Formatting: ESLint and Prettier are set up to maintain code quality and consistency.
- Commit Hooks: Husky and Commitlint ensure commit messages adhere to conventions.
- Dependency Management: Renovate keeps dependencies up to date.
- Code Quality: Lint-staged runs linters on staged Git files.
- PR Workflow: CI workflow runs type checks and linters on pull requests.
- EditorConfig: Enforces consistent coding styles across different editors.
- Path Mapping: Enables easy component and image imports using the
@
prefix.
Use Cases:
- Quickly starting new Gatsby projects with TypeScript.
- Establishing a consistent and maintainable codebase.
- Implementing robust testing and linting practices.
- Automating dependency updates and code formatting.