diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2021-11-24 15:14:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-24 15:14:19 -0500 |
| commit | adc5974333174bd59796f5b7bb8b010c17479dd0 (patch) | |
| tree | 969e9ec5e1bdd2f037ad87a283858306bf2a18d2 /cli/tests/testdata/lsp | |
| parent | 88000b5feb531fc3969bfa8d60faec0f204cc659 (diff) | |
fix(lsp): lsp should respect include/exclude files in format config (#12876)
Diffstat (limited to 'cli/tests/testdata/lsp')
| -rw-r--r-- | cli/tests/testdata/lsp/deno.fmt.exclude.jsonc | 16 | ||||
| -rw-r--r-- | cli/tests/testdata/lsp/deno.lint.exclude.jsonc | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/cli/tests/testdata/lsp/deno.fmt.exclude.jsonc b/cli/tests/testdata/lsp/deno.fmt.exclude.jsonc new file mode 100644 index 000000000..246a40316 --- /dev/null +++ b/cli/tests/testdata/lsp/deno.fmt.exclude.jsonc @@ -0,0 +1,16 @@ +{ + "fmt": { + "files": { + "exclude": [ + "ignored.ts" + ] + }, + "options": { + "useTabs": true, + "lineWidth": 40, + "indentWidth": 8, + "singleQuote": true, + "proseWrap": "always" + } + } +} diff --git a/cli/tests/testdata/lsp/deno.lint.exclude.jsonc b/cli/tests/testdata/lsp/deno.lint.exclude.jsonc new file mode 100644 index 000000000..89f6108ec --- /dev/null +++ b/cli/tests/testdata/lsp/deno.lint.exclude.jsonc @@ -0,0 +1,18 @@ +{ + "lint": { + "files": { + "exclude": [ + "ignored.ts" + ] + }, + "rules": { + "exclude": [ + "camelcase" + ], + "include": [ + "ban-untagged-todo" + ], + "tags": [] + } + } +} |
