bazelbuild / bazelbuild/rules_closure

Each library should perform full checks

Open
#169 5 comments 0 reactions 1 assignee Claimed by @jart View on GitHub
bug P1
Dominant language
Java
Stars
159
Forks
111
PR merge metrics
No merged PRs in 30d

Description

Similarly, how to suppress errors like these?

```
external/closure_library/closure/goog/ui/keyboardshortcuthandler.js:912: ERROR - goog.object.isEmpty expects an object, not an array. Did you mean to use goog.array?
if (goog.object.isEmpty(node.next)) {
^
ProTip: "JSC_ARRAY_PASSED_TO_GOOG_OBJECT" or "analyzerChecks" or "analyzerChecksInternal" can be added to the `suppress` attribute of:
@io_bazel_rules_closure//closure/library:library

external/soy_jssrc/soyutils_usegoog.js:802: ERROR - The return type of the function "soy.$$getDelegateFn" is nullable, but it always returns a non-null value. Consider making the return type non-nullable.
soy.$$getDelegateFn = function(
^
ProTip: "JSC_NULLABLE_RETURN_WITH_NAME" or "analyzerChecks" or "analyzerChecksInternal" can be added to the `suppress` attribute of:
@io_bazel_rules_closure//closure/templates:soy_jssrc

2 error(s), 0 warning(s)

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.