Skip to content

Commit

Permalink
Report conformance config violations as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Jun 19, 2019
1 parent b8d281a commit 28f23c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-system/compile/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ function compile(entryModuleFilenames, outputDir, outputFilename, options) {
// it won't do strict type checking if its whitespace only.
compilerOptions.define.push('TYPECHECK_ONLY=true');
compilerOptions.jscomp_error.push(
'conformanceViolations',
'checkTypes',
'accessControls',
'const',
Expand Down

0 comments on commit 28f23c4

Please sign in to comment.