LogoA Template
icon of gatsby-starter-ts

gatsby-starter-ts

TypeScript starter for Gatsby with no plugins and styling, ready for Gatsby 5. Includes testing, linting, formatting, and commit tools.

Introduction

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.
A template
Copy badages awards

Newsletter For A Template

Join the Community For A Template

Subscribe to A Template newsletter for the latest news and updates