Sensible defaults I use for my projects.
pnpm add --save-dev @cosn/tscCreate a tsconfig.json file in your project root with the following content:
{
  "extends": ["@cosn/tsc/tsconfig-srv"]
}{
  "extends": ["@cosn/tsc/tsconfig-web"]
}{
  "extends": ["@cosn/tsc/tsconfig-lib"]
}Use this config is in your package.json:
"prettier": "@cosn/tsc/prettier",Create a .prettierrc.js file in your project root with the following content:
import defaultConfig from '@cosn/tsc/prettier'
/** @type {import("prettier").Options} */
export default {
  ...defaultConfig,
  // overrides
}Create a eslint.config.js file in your project root with the following content:
import { config as defaultConfig } from '@cosn/tsc/eslint'
/** @type {import("eslint").Linter.Config} */
export default [...defaultConfig]