summaryrefslogtreecommitdiff
path: root/tests/specs/doc/lint_json_success
diff options
context:
space:
mode:
authorKamil Ogórek <kamil.ogorek@gmail.com>2024-09-05 10:51:40 +0200
committerGitHub <noreply@github.com>2024-09-05 08:51:40 +0000
commit2c4d99a4586a8aa143feb8614e3b0d4de09dd190 (patch)
tree0c07ee12254da10d9710616be8cc98a32c0f35c7 /tests/specs/doc/lint_json_success
parent49340b96f6b3603186e03f0102b99bc4a34a1b63 (diff)
feat: include version number in all --json based outputs (#25335)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/doc/lint_json_success')
-rw-r--r--tests/specs/doc/lint_json_success/lint_success_json.out101
1 files changed, 52 insertions, 49 deletions
diff --git a/tests/specs/doc/lint_json_success/lint_success_json.out b/tests/specs/doc/lint_json_success/lint_success_json.out
index 19f04c6a8..1c82680f8 100644
--- a/tests/specs/doc/lint_json_success/lint_success_json.out
+++ b/tests/specs/doc/lint_json_success/lint_success_json.out
@@ -1,51 +1,54 @@
-[
- {
- "name": "Test",
- "isDefault": false,
- "location": {
- "filename": "file:///[WILDCARD]/lint_success.ts",
- "line": 2,
- "col": 0,
- "byteIndex": 22
- },
- "declarationKind": "export",
- "jsDoc": {
- "doc": "My test class."
- },
- "kind": "class",
- "classDef": {
- "isAbstract": false,
- "constructors": [],
- "properties": [
- {
- "jsDoc": {
- "doc": "My property."
- },
- "tsType": {
- "repr": "string",
- "kind": "keyword",
- "keyword": "string"
- },
- "readonly": false,
- "accessibility": null,
- "optional": false,
- "isAbstract": false,
- "isStatic": false,
- "name": "prop",
- "location": {
- "filename": "file:///[WILDCARD]/lint_success.ts",
- "line": 4,
- "col": 2,
- "byteIndex": 66
+{
+ "version": 1,
+ "nodes": [
+ {
+ "name": "Test",
+ "isDefault": false,
+ "location": {
+ "filename": "file:///[WILDCARD]/lint_success.ts",
+ "line": 2,
+ "col": 0,
+ "byteIndex": 22
+ },
+ "declarationKind": "export",
+ "jsDoc": {
+ "doc": "My test class."
+ },
+ "kind": "class",
+ "classDef": {
+ "isAbstract": false,
+ "constructors": [],
+ "properties": [
+ {
+ "jsDoc": {
+ "doc": "My property."
+ },
+ "tsType": {
+ "repr": "string",
+ "kind": "keyword",
+ "keyword": "string"
+ },
+ "readonly": false,
+ "accessibility": null,
+ "optional": false,
+ "isAbstract": false,
+ "isStatic": false,
+ "name": "prop",
+ "location": {
+ "filename": "file:///[WILDCARD]/lint_success.ts",
+ "line": 4,
+ "col": 2,
+ "byteIndex": 66
+ }
}
- }
- ],
- "indexSignatures": [],
- "methods": [],
- "extends": null,
- "implements": [],
- "typeParams": [],
- "superTypeParams": []
+ ],
+ "indexSignatures": [],
+ "methods": [],
+ "extends": null,
+ "implements": [],
+ "typeParams": [],
+ "superTypeParams": []
+ }
}
- }
-]
+ ]
+}