This is the default eslint configuration for LaunchWare's Node projects.
It works exclusively with TypeScript projects.
pnpm add -D @launchware/eslint-config-node
You need to add the following to your eslint.config.js
(or equivalent) file:
const { getConfiguration as getLaunchwareConfiguration } = require("@launchware/eslint-config-node")
// you need to point to the directory where tsconfig.json resides when you call `getLaunchwareConfiguration`
const launchEslint = getLaunchwareConfiguration({tsconfigRootDir: __dirname})
module.exports = [
// ... other configurations,
...launchEslint.configs.recommended,
]