diff --git a/doc/tutorials/closure.md b/doc/tutorials/closure.md index 80476bccaa..5830a48ad1 100644 --- a/doc/tutorials/closure.md +++ b/doc/tutorials/closure.md @@ -167,7 +167,6 @@ The minimum config file looks like this: "node_modules/openlayers/externs/topojson.js" ], "define": [ - "goog.dom.ASSUME_STANDARDS_MODE=true", "goog.DEBUG=false", "ol.ENABLE_DOM=false", "ol.ENABLE_WEBGL=false" @@ -176,9 +175,6 @@ The minimum config file looks like this: "node_modules/openlayers/externs/olx.js", "node_modules/openlayers/externs/oli.js" ], - "jscomp_off": [ - "unknownDefines" - ], "extra_annotation_name": [ "api", "observable" ], @@ -231,41 +227,13 @@ Here is a version of `config.json` with more compilation checks enabled: "node_modules/openlayers/externs/oli.js" ], "jscomp_error": [ - "accessControls", - "ambiguousFunctionDecl", - "checkEventfulObjectDisposal", - "checkRegExp", - "checkTypes", - "checkVars", - "const", - "constantProperty", - "deprecated", - "duplicateMessage", - "es3", - "es5Strict", - "externsValidation", - "fileoverviewTags", - "globalThis", - "internetExplorerChecks", - "invalidCasts", - "misplacedTypeAnnotation", - "missingGetCssName", - "missingProperties", - "missingProvide", - "missingRequire", - "missingReturn", - "newCheckTypes", - "nonStandardJsDocs", - "suspiciousCode", - "strictModuleDepCheck", - "typeInvalidation", - "undefinedNames", - "undefinedVars", - "uselessCode", - "visibility" + "*" ], "jscomp_off": [ "unknownDefines" + "useOfGoogBase", + "lintChecks", + "analyzerChecks" ], "extra_annotation_name": [ "api", "observable"