Skip to content

Commit

Permalink
refactor(cli): activate strict mode in TS (except strictNullChecks)
Browse files Browse the repository at this point in the history
Activating `strictNullChecks` makes TS compilation throw a lot of errors that need to refactor some part of the code.
These refactoring will be done in another commit.
  • Loading branch information
gaetanmaisse committed May 15, 2020
1 parent a63cb5a commit 892bb25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"types": ["node", "jest"]
"types": ["node", "jest"],
"strict": false,
"strictNullChecks": false
},
"include": ["src/**/*"],
"exclude": ["src/**/template*"]
Expand Down

0 comments on commit 892bb25

Please sign in to comment.