Skip to content

Commit

Permalink
style(tsconfig): apply recommended settings
Browse files Browse the repository at this point in the history
  • Loading branch information
korthout committed Aug 26, 2021
1 parent 8f74df0 commit f6550ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/test/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import {
User,
PullRequest,
Label,
Repository,
InstallationLite,
Organization,
PullRequestClosedEvent,
} from "@octokit/webhooks-types";

Expand Down
11 changes: 8 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals":true
},
"exclude": ["node_modules", "**/*.test.ts", "**/test/*"]
}
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Recommended",
"exclude": ["test/*"]
}

0 comments on commit f6550ad

Please sign in to comment.