Install NodeJS, TypeScript, ExpressJS and ESLint

Install NodeJS, TypeScript, ExpressJS and ESLint with initial
configuration files.

Add initial instructions to README.md
This commit is contained in:
Rodrigo Pinto 2025-04-01 17:58:14 -03:00
commit 74c1ee1b7b
6 changed files with 2592 additions and 0 deletions

16
eslint.config.mjs Normal file
View file

@ -0,0 +1,16 @@
import { defineConfig } from "eslint/config";
import globals from "globals";
import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default defineConfig([
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ files: ["**/*.{js,mjs,cjs,ts}"], languageOptions: { globals: globals.browser } },
{ files: ["**/*.{js,mjs,cjs,ts}"], plugins: { js }, extends: ["js/recommended"] },
tseslint.configs.recommended,
{ rules: {
"no-undef": "off",
"@typescript-eslint/no-require-imports": "off"
} },
]);