summaryrefslogtreecommitdiff
path: root/cli/tests/lint/expected_from_stdin_json.out
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2020-08-31 20:53:42 +0900
committerGitHub <noreply@github.com>2020-08-31 13:53:42 +0200
commitfa65e49bc689b2b84a3fa2dd123fa616f430f7fe (patch)
tree7b744a69c76d444cf59f7a0d078b48127c11bee1 /cli/tests/lint/expected_from_stdin_json.out
parenta451a97486e4cd9c311cef2c016137dcff672522 (diff)
feat(lint): Add support for reading input from stdin (#7263)
Diffstat (limited to 'cli/tests/lint/expected_from_stdin_json.out')
-rw-r--r--cli/tests/lint/expected_from_stdin_json.out16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/tests/lint/expected_from_stdin_json.out b/cli/tests/lint/expected_from_stdin_json.out
new file mode 100644
index 000000000..bec566841
--- /dev/null
+++ b/cli/tests/lint/expected_from_stdin_json.out
@@ -0,0 +1,16 @@
+{
+ "diagnostics": [
+ {
+ "location": {
+ "line": 1,
+ "col": 7
+ },
+ "filename": "_stdin.ts",
+ "message": "`any` type is not allowed",
+ "code": "no-explicit-any",
+ "line_src": "let a: any;",
+ "snippet_length": 3
+ }
+ ],
+ "errors": []
+}