summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/lsp/deno.lint.jsonc8
-rw-r--r--cli/tests/testdata/lsp/did_open_lint.json8
2 files changed, 16 insertions, 0 deletions
diff --git a/cli/tests/testdata/lsp/deno.lint.jsonc b/cli/tests/testdata/lsp/deno.lint.jsonc
new file mode 100644
index 000000000..51db1b5c7
--- /dev/null
+++ b/cli/tests/testdata/lsp/deno.lint.jsonc
@@ -0,0 +1,8 @@
+{
+ "lint": {
+ "rules": {
+ "exclude": ["camelcase"],
+ "include": ["ban-untagged-todo"]
+ }
+ }
+}
diff --git a/cli/tests/testdata/lsp/did_open_lint.json b/cli/tests/testdata/lsp/did_open_lint.json
new file mode 100644
index 000000000..51cef9807
--- /dev/null
+++ b/cli/tests/testdata/lsp/did_open_lint.json
@@ -0,0 +1,8 @@
+{
+ "textDocument": {
+ "uri": "file:///a/file.ts",
+ "languageId": "typescript",
+ "version": 1,
+ "text": "// TODO: fixme\nexport async function non_camel_case() {\nconsole.log(\"finished!\")\n}"
+ }
+}