Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: third_party/closure_linter/closure_linter/errors.py

Issue 411243002: closure_linter: 2.3.4 => 2.3.14 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove checker Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_linter/closure_linter/errors.py
diff --git a/third_party/closure_linter/closure_linter/errors.py b/third_party/closure_linter/closure_linter/errors.py
index 08c6dbe019144fac6d80ca1b25460654cc717e2a..7bdfecd9f3c4c9e76f7874f2bd2982b9150330c5 100755
--- a/third_party/closure_linter/closure_linter/errors.py
+++ b/third_party/closure_linter/closure_linter/errors.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-#
# Copyright 2007 The Closure Linter Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -59,6 +58,7 @@ COMMA_AT_END_OF_LITERAL = 121
MULTI_LINE_STRING = 130
UNNECESSARY_DOUBLE_QUOTED_STRING = 131
UNUSED_PRIVATE_MEMBER = 132
+UNUSED_LOCAL_VARIABLE = 133
# Requires, provides
GOOG_REQUIRES_NOT_ALPHABETIZED = 140
@@ -94,7 +94,8 @@ JSDOC_PREFER_QUESTION_TO_PIPE_NULL = 230
JSDOC_ILLEGAL_QUESTION_WITH_PIPE = 231
JSDOC_MISSING_OPTIONAL_TYPE = 232
JSDOC_MISSING_OPTIONAL_PREFIX = 233
-JSDOC_TAG_DESCRIPTION_ENDS_WITH_INVALID_CHARACTER = 240
+JSDOC_MISSING_VAR_ARGS_TYPE = 234
+JSDOC_MISSING_VAR_ARGS_NAME = 235
# TODO(robbyw): Split this in to more specific syntax problems.
INCORRECT_SUPPRESS_SYNTAX = 250
INVALID_SUPPRESS_TYPE = 251
@@ -112,6 +113,11 @@ INTERFACE_METHOD_CANNOT_HAVE_CODE = 401
MISSING_END_OF_SCOPE_COMMENT = 500
MALFORMED_END_OF_SCOPE_COMMENT = 501
+# goog.scope - Namespace aliasing
+# TODO(nnaze) Add additional errors here and in aliaspass.py
+INVALID_USE_OF_GOOG_SCOPE = 600
+EXTRA_GOOG_SCOPE_USAGE = 601
+
# ActionScript specific errors:
# TODO(user): move these errors to their own file and move all JavaScript
# specific errors to their own file as well.
@@ -134,9 +140,8 @@ NEW_ERRORS = frozenset([
# Errors added after 2.0.2:
WRONG_INDENTATION,
MISSING_SEMICOLON,
- # Errors added after 2.3.4:
- MISSING_END_OF_SCOPE_COMMENT,
- MALFORMED_END_OF_SCOPE_COMMENT,
- UNUSED_PRIVATE_MEMBER,
- # Errors added after 2.3.5:
+ # Errors added after 2.3.9:
+ JSDOC_MISSING_VAR_ARGS_TYPE,
+ JSDOC_MISSING_VAR_ARGS_NAME,
+ # Errors added after 2.3.13:
])
« no previous file with comments | « third_party/closure_linter/closure_linter/errorrules_test.py ('k') | third_party/closure_linter/closure_linter/fixjsstyle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698