Skip to content

Commit

Permalink
feat(tsconfig): add support for customizing where extends from
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Sep 18, 2023
1 parent 03ef495 commit 33a5435
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/grumpy-jars-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@git-validator/tsconfig": patch
---

feat(tsconfig): add support for customizing where extends from
2 changes: 1 addition & 1 deletion packages/tsconfig/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import process from "node:process";
import { Command } from "commander";

const generatingTsconfigContent = `{
"extends": "@git-validator/tsconfig",
"extends": "${process.env["TSCONFIG_EXTENDS"] ?? "@git-validator/tsconfig"}",
"include": ["src"],
"exclude": ["**/*.spec.?s", "**/*.test.?s"],
"compilerOptions": {
Expand Down

0 comments on commit 33a5435

Please sign in to comment.