summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/code_action_ignore_lint_response.json
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-11 10:20:47 -0400
committerGitHub <noreply@github.com>2021-08-11 10:20:47 -0400
commit15a763152f9d392cb80692262f8de5ef8ae15495 (patch)
treefcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/lsp/code_action_ignore_lint_response.json
parenta0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff)
chore: move test files to testdata directory (#11601)
Diffstat (limited to 'cli/tests/lsp/code_action_ignore_lint_response.json')
-rw-r--r--cli/tests/lsp/code_action_ignore_lint_response.json62
1 files changed, 0 insertions, 62 deletions
diff --git a/cli/tests/lsp/code_action_ignore_lint_response.json b/cli/tests/lsp/code_action_ignore_lint_response.json
deleted file mode 100644
index f5c24ec21..000000000
--- a/cli/tests/lsp/code_action_ignore_lint_response.json
+++ /dev/null
@@ -1,62 +0,0 @@
-[
- {
- "title": "Disable prefer-const for this line",
- "kind": "quickfix",
- "diagnostics": [
- {
- "range": {
- "start": { "line": 1, "character": 5 },
- "end": { "line": 1, "character": 12 }
- },
- "severity": 1,
- "code": "prefer-const",
- "source": "deno-lint",
- "message": "'message' is never reassigned\nUse 'const' instead",
- "relatedInformation": []
- }
- ],
- "edit": {
- "changes": {
- "file:///a/file.ts": [
- {
- "range": {
- "start": { "line": 1, "character": 0 },
- "end": { "line": 1, "character": 0 }
- },
- "newText": "// deno-lint-ignore prefer-const\n"
- }
- ]
- }
- }
- },
- {
- "title": "Ignore lint errors for the entire file",
- "kind": "quickfix",
- "diagnostics": [
- {
- "range": {
- "start": { "line": 1, "character": 5 },
- "end": { "line": 1, "character": 12 }
- },
- "severity": 1,
- "code": "prefer-const",
- "source": "deno-lint",
- "message": "'message' is never reassigned\nUse 'const' instead",
- "relatedInformation": []
- }
- ],
- "edit": {
- "changes": {
- "file:///a/file.ts": [
- {
- "range": {
- "start": { "line": 0, "character": 0 },
- "end": { "line": 0, "character": 0 }
- },
- "newText": "// deno-lint-ignore-file\n"
- }
- ]
- }
- }
- }
-]