Skip to content

Commit

Permalink
모노레포가 workspace-root와 tsconfig 설정을 공유하도록 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
CirnoV committed Apr 29, 2024
1 parent 02a57e1 commit 070df55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/remark-lint-local-links-valid/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const resolveRedirect = (
): string => {
let resolved = url;
while (redirects[resolved]) {
resolved = redirects[resolved].split(/[#?]/)[0];
resolved = redirects[resolved]?.split(/[#?]/)[0] ?? resolved;
}
return resolved;
};
Expand Down
4 changes: 3 additions & 1 deletion packages/remark-lint-local-links-valid/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"module": "commonjs",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
Expand Down

0 comments on commit 070df55

Please sign in to comment.