New project setup

New project setup #

Node.js, TypeScript, eslint, prettier #

npm init
npm i typescript --save-dev
npx tsc --init --noEmit
npm i prettier --save-dev
npm init @eslint/config@latest
npm i eslint-config-prettier --save-dev

Do the following changes in eslint.config.mjs

import eslintConfigPrettier from "eslint-config-prettier";

export default [
  // ...
  eslintConfigPrettier,
];

.prettierrc contents

{
  "singleQuote": true
}