summaryrefslogtreecommitdiff
path: root/tests/specs/lint/json/expected_json.out
diff options
context:
space:
mode:
authorHasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>2024-09-16 20:45:25 +0300
committerGitHub <noreply@github.com>2024-09-16 17:45:25 +0000
commit36a1a79f175b2df31d8ba5d7e121239c3b7e74ea (patch)
treea2d1c96ba22181dc3301e3a20e4c4977f50b5d3d /tests/specs/lint/json/expected_json.out
parentacc32e1cee043ef7233a94bcf5645c4a842ed13a (diff)
chore: deprecate lint itests (#25655)
Diffstat (limited to 'tests/specs/lint/json/expected_json.out')
-rw-r--r--tests/specs/lint/json/expected_json.out65
1 files changed, 65 insertions, 0 deletions
diff --git a/tests/specs/lint/json/expected_json.out b/tests/specs/lint/json/expected_json.out
new file mode 100644
index 000000000..6712c891a
--- /dev/null
+++ b/tests/specs/lint/json/expected_json.out
@@ -0,0 +1,65 @@
+{
+ "version": 1,
+ "diagnostics": [
+ {
+ "filename": "[WILDCARD]file1.js",
+ "range": {
+ "start": {
+ "line": 1,
+ "col": 0,
+ "bytePos": 0
+ },
+ "end": {
+ "line": 1,
+ "col": 19,
+ "bytePos": 19
+ }
+ },
+ "message": "Ignore directive requires lint rule name(s)",
+ "code": "ban-untagged-ignore",
+ "hint": [WILDCARD]
+ },
+ {
+ "filename": "[WILDCARD]file1.js",
+ "range": {
+ "start": {
+ "line": 2,
+ "col": 14,
+ "bytePos": 34
+ },
+ "end": {
+ "line": 2,
+ "col": 16,
+ "bytePos": 36
+ }
+ },
+ "message": "Empty block statement",
+ "code": "no-empty",
+ "hint": [WILDCARD]
+ },
+ {
+ "filename": "[WILDCARD]file2.ts",
+ "range": {
+ "start": {
+ "line": 3,
+ "col": 13,
+ "bytePos": 57
+ },
+ "end": {
+ "line": 3,
+ "col": 15,
+ "bytePos": 59
+ }
+ },
+ "message": "Empty block statement",
+ "code": "no-empty",
+ "hint": [WILDCARD]
+ }
+ ],
+ "errors": [
+ {
+ "file_path": "[WILDCARD]malformed.js",
+ "message": "Expected '{', got 'B' at [WILDCARD]malformed.js:4:16\n\n export class A B C\n ~"
+ }
+ ]
+}