An open API service indexing awesome lists of open source software.

https://github.com/nihalgonsalves/node-typescript-eslint-template

TypeScript template repository with typescript-eslint (airbnb config) and ts-node-dev + Dockerfile / GitHub Workflow
https://github.com/nihalgonsalves/node-typescript-eslint-template

boilerplate eslint github-actions minimal template typescript

Last synced: 11 months ago
JSON representation

TypeScript template repository with typescript-eslint (airbnb config) and ts-node-dev + Dockerfile / GitHub Workflow

Awesome Lists containing this project

README

          

# node-typescript-eslint-template

![build status](https://github.com/nihalgonsalves/node-typescript-eslint-template/workflows/build/badge.svg)
![last commit](https://img.shields.io/github/last-commit/nihalgonsalves/node-typescript-eslint-template)
![license UNLICENSE](https://img.shields.io/github/license/nihalgonsalves/node-typescript-eslint-template?color=brightgreen)

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](https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping))
- **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