Skip to content

Starter template for nodejs with typescript and eslint 9

Notifications You must be signed in to change notification settings

XronTrix10/nodejs-typescript-eslint-starter

Repository files navigation

nodejs-typescript-eslint-starter

Starter template for nodejs with typescript and eslint 9

Getting Started

  1. Clone the repository
  2. Run pnpm install to install dependencies
  3. Run pnpm run dev to start the development server

Features

  • TypeScript
  • ESLint9 with TypeScript support
  • Winston for logging
  • Import sorting and grouping
  • Import aliase for @/ directory which points to src/

Notes

  • This project uses pnpm as the package manager
  • The dev script runs the TypeScript compiler in watch mode
  • The build script compiles the TypeScript code to JavaScript
  • The lint script runs ESLint on the TypeScript code
  • The lint:fix script runs ESLint on the TypeScript code and fixes any issues