diff --git a/packages/tsconfig-reference/scripts/tsconfigRules.ts b/packages/tsconfig-reference/scripts/tsconfigRules.ts index 64e77812e994..eaabaa2c7958 100644 --- a/packages/tsconfig-reference/scripts/tsconfigRules.ts +++ b/packages/tsconfig-reference/scripts/tsconfigRules.ts @@ -28,9 +28,11 @@ export const internal: CompilerOptionName[] = ["preserveWatchOutput", "stripInte export const recommended: CompilerOptionName[] = [ "strict", "forceConsistentCasingInFileNames", + "alwaysStrict", "strictNullChecks", "strictBindCallApply", "strictFunctionTypes", + "strictPropertyInitialization", "noImplicitThis", "noImplicitAny", "esModuleInterop", @@ -43,7 +45,7 @@ type AnOption = WatchProperties | RootProperties | CompilerOptionName; /** Allows linking between options */ export const relatedTo: [AnOption, AnOption[]][] = [ - ["strict", ["strictBindCallApply", "strictFunctionTypes", "strictPropertyInitialization"]], + ["strict", ["alwaysStrict", "strictNullChecks", "strictBindCallApply", "strictFunctionTypes", "strictPropertyInitialization", "noImplicitAny", "noImplicitThis"]], ["allowSyntheticDefaultImports", ["esModuleInterop"]], ["esModuleInterop", ["allowSyntheticDefaultImports"]],