Skip to content

Commit

Permalink
Update the TypeScript settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Jul 15, 2024
1 parent ef09aa2 commit c62c689
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const $ = execa({preferLocal: true, stdio: "inherit"});

// Builds the project.
export function build() {
return $`tsc --project src/tsconfig.json`;
return $`tsc --build src/tsconfig.json`;
}

// Deletes all generated files.
Expand All @@ -20,7 +20,7 @@ export function clean() {
// Performs the static analysis of source code.
export async function lint() {
await build();
await $`tsc --project tsconfig.json`;
await $`tsc --build tsconfig.json`;
return $`eslint --config=etc/eslint.js gulpfile.js bin example src test`;
}

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"baseUrl": ".",
"checkJs": true,
"esModuleInterop": true,
"isolatedModules": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": true,
"noImplicitOverride": true,
"resolveJsonModule": true,
"strict": true,
"target": "ESNext"
"target": "ESNext",
"verbatimModuleSyntax": true
}
}

0 comments on commit c62c689

Please sign in to comment.