Skip to content

Commit

Permalink
Change tool/driver/name of SARIF formatter to markdownlint-cli2 (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Dec 13, 2024
1 parent ddd2269 commit e4d89ef
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion formatter-sarif/markdownlint-cli2-formatter-sarif.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const outputFormatter = (options, params) => {
{
"tool": {
"driver": {
"name": packageJson.name,
"name": Object.keys(packageJson.peerDependencies)[0],
"version": packageJson.version,
"informationUri": packageJson.homepage,
"rules": sarifRules
Expand Down
8 changes: 4 additions & 4 deletions test/snapshots/markdownlint-cli2-test-exec.mjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3356,7 +3356,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": [␊
Expand Down Expand Up @@ -4966,7 +4966,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": [␊
Expand Down Expand Up @@ -5343,7 +5343,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": [␊
Expand Down Expand Up @@ -5648,7 +5648,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": []␊
Expand Down
Binary file modified test/snapshots/markdownlint-cli2-test-exec.mjs.snap
Binary file not shown.
8 changes: 4 additions & 4 deletions test/snapshots/markdownlint-cli2-test-main.mjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3560,7 +3560,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": [␊
Expand Down Expand Up @@ -4204,7 +4204,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": [␊
Expand Down Expand Up @@ -4583,7 +4583,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": [␊
Expand Down Expand Up @@ -4890,7 +4890,7 @@ Generated by [AVA](https://avajs.dev).
{␊
"tool": {␊
"driver": {␊
"name": "markdownlint-cli2-formatter-sarif",␊
"name": "markdownlint-cli2",␊
"version": "0.0.2",␊
"informationUri": "https://github.com/DavidAnson/markdownlint-cli2",␊
"rules": []␊
Expand Down
Binary file modified test/snapshots/markdownlint-cli2-test-main.mjs.snap
Binary file not shown.

0 comments on commit e4d89ef

Please sign in to comment.