Allow to pass size for lint_test rule and set sane default

Per default the size is "medium" with implied timeout "moderate", that
corresponds to 300 seconds. Allow to pass a size parameter and set size
to "large" per default.

Release-Notes: skip
Change-Id: I56ee006406c3a6e5ba4d3acdec234cc1c4b42059
diff --git a/tools/js/eslint.bzl b/tools/js/eslint.bzl
index 3f48cf6..37c6da1 100644
--- a/tools/js/eslint.bzl
+++ b/tools/js/eslint.bzl
@@ -47,7 +47,7 @@
         ],
     )
 
-def eslint(name, plugins, srcs, config, ignore, extensions = [".js"], data = []):
+def eslint(name, plugins, srcs, config, ignore, size = "large", extensions = [".js"], data = []):
     """ Macro to define eslint rules for files.
 
     Args:
@@ -56,6 +56,8 @@
         srcs: list of files to be checked (ignored in {name}_bin rule)
         config: eslint config file
         ignore: eslint ignore file
+        size: eslint test size, supported values are: small, medium, large and enormous,
+            with implied timeout labels: short, moderate, long, and eternal
         extensions: list of file extensions to be checked. This is an additional filter for
             srcs list. Each extension must start with '.' character.
             Default: [".js"].
@@ -125,6 +127,7 @@
             "local",
             "manual",
         ],
+        size = "large",
     )
 
     nodejs_binary(