Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/plugin-typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ It analyzes your codebase using the TypeScript compiler to detect potential issu
TypeScript compiler diagnostics are mapped to Code PushUp audits in the following way:

- `value`: The number of issues found for a specific TypeScript configuration option (e.g. 3)
- `displayValue`: The number of issues found (e.g. "3 issues')
- `displayValue`: The number of issues found (e.g. "3 issues")
- `score`: Binary scoring - 1 if no issues are found, 0 if any issues exist
- Issues are mapped to audit details, containing:
- Source file location
Expand Down Expand Up @@ -137,7 +137,7 @@ categories: [
},
// ...
];
````
```

Also groups can be used:

Expand All @@ -160,3 +160,4 @@ categories: [
// ...
];
```
````
Comment thread
BioPhoton marked this conversation as resolved.
Outdated
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
],
},
"displayValue": "1 issue",
"score": 0,
"slug": "syntax-errors",
"value": 1,
Expand Down Expand Up @@ -74,6 +75,7 @@
},
],
},
"displayValue": "5 issues",
"score": 0,
"slug": "semantic-errors",
"value": 5,
Expand All @@ -93,26 +95,31 @@
},
],
},
"displayValue": "1 issue",
"score": 0,
"slug": "declaration-and-language-service-errors",
"value": 1,
},
{
"displayValue": "0 issues",
"score": 1,
"slug": "internal-errors",
"value": 0,
},
{
"displayValue": "0 issues",
"score": 1,
"slug": "configuration-errors",
"value": 0,
},
{
"displayValue": "0 issues",
"score": 1,
"slug": "no-implicit-any-errors",
"value": 0,
},
{
"displayValue": "0 issues",
"score": 1,
"slug": "unknown-codes",
"value": 0,
Expand Down
Loading