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: 18.x (es2023)
- Structure:
src/
for TypeScript source files andbuild/
for output - Also includes a default
.editorconfig
with 2-space indents
Scripts:
yarn dev
run from source, auto-restartingyarn lint
run eslintyarn lint --fix
run eslint with auto-formattingyarn build
build to JSyarn start
run built JSyarn test
currently does nothing
diff --git a/.eslintrc b/.eslintrc
index e755856..bbaeee5 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,3 +1,6 @@
{
- "extends": ["./node_modules/@nihalgonsalves/esconfig/.eslintrc"]
+ "extends": [
+ "./node_modules/@nihalgonsalves/esconfig/.eslintrc",
+ "./node_modules/@nihalgonsalves/esconfig/.eslintrc.react"
+ ]
}