Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
88 changes: 88 additions & 0 deletions linters/cspell/test_data/cspell_v10.0.0_basic.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter cspell test basic 1`] = `
{
"issues": [],
"lintActions": [
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_md.in.md",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_py.in.py",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_ts.in.ts",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/empty.in.txt",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_md.in.md",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_py.in.py",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_ts.in.ts",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/empty.in.txt",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;
88 changes: 88 additions & 0 deletions linters/cspell/test_data/cspell_v10.0.0_dictionary.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter cspell test dictionary 1`] = `
{
"issues": [],
"lintActions": [
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_md.in.md",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_py.in.py",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_ts.in.ts",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/empty.in.txt",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_md.in.md",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_py.in.py",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/basic_ts.in.ts",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "ALL",
"linter": "cspell",
"paths": [
"test_data/empty.in.txt",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter markdownlint-cli2 test basic 1`] = `
{
"issues": [
{
"code": "error",
"column": "1",
"file": "test_data/basic.in.md",
"issueClass": "ISSUE_CLASS_EXISTING",
"issueUrl": "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#error",
"level": "LEVEL_HIGH",
"line": "3",
"linter": "markdownlint-cli2",
"message": "MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "This file fails some rules"]",
"targetType": "markdown",
},
],
"lintActions": [
{
"command": "lint",
"fileGroupName": "markdown",
"linter": "markdownlint-cli2",
"paths": [
"test_data/basic.in.md",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "markdown",
"linter": "markdownlint-cli2",
"paths": [
"test_data/basic.in.md",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;
88 changes: 88 additions & 0 deletions linters/renovate/test_data/renovate_v43.150.0_CUSTOM.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter renovate test CUSTOM 1`] = `
{
"issues": [
{
"code": "error",
"file": "test_data/renovate.json",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"linter": "renovate",
"message": "INFO: Validating test_data/renovate.json as global config",
"targetType": "renovate-config",
},
{
"code": "error",
"file": "test_data/renovate.json5",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"linter": "renovate",
"message": "INFO: Validating test_data/renovate.json5 as global config",
"targetType": "renovate-config",
},
],
"lintActions": [
{
"command": "validate",
"fileGroupName": "renovate-config",
"linter": "renovate",
"paths": [
"test_data/.renovaterc.json",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "validate",
"fileGroupName": "renovate-config",
"linter": "renovate",
"paths": [
"test_data/renovate.json",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "validate",
"fileGroupName": "renovate-config",
"linter": "renovate",
"paths": [
"test_data/renovate.json5",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "validate",
"fileGroupName": "renovate-config",
"linter": "renovate",
"paths": [
"test_data/.renovaterc.json",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "validate",
"fileGroupName": "renovate-config",
"linter": "renovate",
"paths": [
"test_data/renovate.json",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "validate",
"fileGroupName": "renovate-config",
"linter": "renovate",
"paths": [
"test_data/renovate.json5",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;
50 changes: 50 additions & 0 deletions linters/ruff/test_data/ruff_nbqa_v0.15.12_basic_nb.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter ruff-nbqa test basic_nb 1`] = `
{
"issues": [
{
"code": "error",
"file": "test_data/basic_nb.in.ipynb",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"linter": "ruff-nbqa",
"message": "F401 [*] \`os\` imported but unused
--> /tmp/plugins_/test_data/basic_nb.in.ipynb:2:8
|
1 | # %%NBQA-CELL-SEP
2 | import os
| ^^
3 |
4 | print("Hello World!")
|
help: Remove unused import: \`os\`",
"targetType": "jupyter",
},
],
"lintActions": [
{
"command": "lint",
"fileGroupName": "jupyter",
"linter": "ruff-nbqa",
"paths": [
"test_data/basic_nb.in.ipynb",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "jupyter",
"linter": "ruff-nbqa",
"paths": [
"test_data/basic_nb.in.ipynb",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;
Loading
Loading