Skip to content

TypeScript template repository with typescript-eslint, tsx, a Dockerfile, and GitHub Workflow

License

Notifications You must be signed in to change notification settings

nihalgonsalves/node-typescript-eslint-template

Repository files navigation

node-typescript-eslint-template

build status last commit license UNLICENSE

TypeScript template repository with typescript-eslint (airbnb config) and ts-node-dev.

Dependabot keeps the dependencies up to date.

  • Build tool: yarn (can be replaced with npm: rm yarn.lock && npm install)
  • Target Node version: 22.x (es2023)
  • Structure: src/ for TypeScript source files and build/ for output
  • Also includes a default .editorconfig with 2-space indents

Scripts:

  • yarn dev run from source, auto-restarting
  • yarn lint run eslint
  • yarn lint --fix run eslint with auto-formatting
  • yarn build build to JS
  • yarn start run built JS
  • yarn test currently does nothing

use with react

See https://github.com/nihalgonsalves/esconfig