@ luelovers/ tsconfig
用於 TypeScript 項目的基礎 tsconfig 配置預設 (Base tsconfig preset for TypeScript projects)
npm install @bluelovers/tsconfig
(安装)
# 使用 yarn / Using yarn
yarn add @bluelovers/tsconfig
# 使用 yarn-tool / Using yarn-tool
yarn-tool add @bluelovers/tsconfig
# yt 是 yarn-tool 的別名 / yt is an alias for yarn-tool
yt add @bluelovers/tsconfig
# 使用 pnpm / Using pnpm
pnpm add @bluelovers/tsconfig
# 使用 npm / Using npm
npm install @bluelovers/tsconfig
tsconfig.json 通过Node.js 软件包继承
{
"extends": "@bluelovers/tsconfig",
"compilerOptions": {
// Override certain options on a project-by-project basis.
"strictBindCallApply": false,
}
}