summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-10-18 16:26:05 +0200
committerGitHub <noreply@github.com>2020-10-18 16:26:05 +0200
commit8f9da368f78b0dcd55e701b30daea8b45102a491 (patch)
treeaad158ef417c8dd7a5a5e57cd22863f4b641d2c0 /cli/tests
parentb33e8d5d427934544fa6e0de44df8793aae63c9d (diff)
refactor(lint): show hint for lint errors (#8016)
This commit adds formatting of optional "hint" that can be present in lint diagnostic.
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/lint/expected_quiet.out2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/lint/expected_quiet.out b/cli/tests/lint/expected_quiet.out
index 45a308344..21fd92be3 100644
--- a/cli/tests/lint/expected_quiet.out
+++ b/cli/tests/lint/expected_quiet.out
@@ -3,6 +3,8 @@
^^^^^^^^^^^^^^^^^^^
at [WILDCARD]file1.js:1:0
+ hint: [WILDCARD]
+
(no-empty) Empty block statement
while (false) {}
^^