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:
parent
a37c58ed5e
commit
74c1ee1b7b
6 changed files with 2592 additions and 0 deletions
16
eslint.config.mjs
Normal file
16
eslint.config.mjs
Normal 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"
|
||||
} },
|
||||
]);
|
Loading…
Add table
Add a link
Reference in a new issue