Viterc screenshot

Viterc

Author Avatar Theme by Patrickjmeurer
Updated: 29 Nov 2023
64 Stars

A modern minimal Vite + React + TypeScript template with pre-configured ESLint (with Airbnb JS/React rules), Prettier, Testing with Jest and Git hooks with Husky out of the box

Categories

Overview

ViteRC is a modern minimal Vite + React + TypeScript template that comes pre-configured with useful tools such as ESLint, Prettier, Testing with Jest, and Git hooks with Husky. It aims to combine all these libraries which are not usually found in existing Vite templates. This template is actively maintained by contributors and will be updated as needed.

Features

  • Vite: Next Generation Frontend Tooling.
  • React 18: JavaScript library for building user interfaces.
  • TypeScript: Included for enhanced type safety.
  • ESLint: Pluggable JavaScript linter.
  • Prettier: Opinionated code formatter.
  • Husky: Native Git hooks.
  • Jest: Testing libraries.
  • Absolute Imports: Setup for correctly functioning absolute imports.
  • Commitlint: Linting your commits based on commit convention.

Installation

To use ViteRC, follow these steps:

  1. Clone the repository.
  2. Install dependencies using yarn or npm.
  3. Run yarn dev to start the app in development mode.
  4. Use other available commands like yarn build, yarn test, yarn format, etc. for various purposes.

Summary

ViteRC is a modern and minimal Vite + React + TypeScript template that provides a complete development setup including ESLint, Prettier, Jest, Husky, and more. It offers a convenient starting point for developing React applications and ensures code quality through linters and formatters. With its active contributors and regular updates, ViteRC is a reliable choice for building modern web applications.