-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Summary
Use https://www.npmjs.com/package/@tsconfig/strictest
How
Use @tsconfig/strictest
pnpm add -D -E @tsconfig/strictest
jq '.extends = [.extends, "@tsconfig/strictest/tsconfig.json"]' tsconfig.json > tsconfig.json.new
mv tsconfig.json.new tsconfig.jsonTypical changes
src/github.ts
const getRepo = () => {
const [owner, repo] = getEnv('GITHUB_REPOSITORY').split('/')
assert(owner, 'GITHUB_REPOSITORY must have an owner part')
assert(repo, 'GITHUB_REPOSITORY must have a repo part')
return { owner, repo }
}Metadata
Metadata
Assignees
Labels
No labels