1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-08 23:28:18 -05:00
denoland-deno/cli/tests/testdata/test
Bartek Iwańczuk 5874fc3d0a
feat: add support for globs in the config file and CLI arguments for files (#19102)
Follow up to https://github.com/denoland/deno/pull/19084.

This commit adds support for globs in the configuration file as well 
as CLI arguments for files. 

With this change users can now use glob syntax for "include" and 
"exclude" fields, like so:

```json
{
  "lint": {
    "include": [
      "directory/test*.ts",
      "other_dir/"
    ],
    "exclude": [
      "other_dir/foo*.ts",
      "nested/nested2/*"
    ]
  },
  "test": {
    "include": [
      "data/test*.ts",
      "nested/",
      "tests/test[1-9].ts"
    ],
    "exclude": [
      "nested/foo?.ts",
      "nested/nested2/*"
    ]
  }
}
```

Or in CLI args like so:
```
// notice quotes here; these values will be passed to Deno verbatim
// and deno will perform glob expansion

$ deno fmt --ignore="data/*.ts"
$ deno lint "data/**/*.ts"
```

Closes https://github.com/denoland/deno/issues/17971
Closes https://github.com/denoland/deno/issues/6365
2023-05-23 03:39:59 +02:00
..
collect feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04:00
doc_only
filter
glob feat: add support for globs in the config file and CLI arguments for files (#19102) 2023-05-23 03:39:59 +02:00
shuffle
steps chore: fix flaky tests checking ms when CI is slow (#18559) 2023-04-06 23:48:07 +02:00
trace_ops_caught_error fix(test): handle scenario where --trace-ops would cause an unhandled promise rejection (#16970) 2022-12-06 15:58:18 -05:00
aggregate_error.out
aggregate_error.ts
allow_all.out
allow_all.ts
allow_none.out
allow_none.ts
before_unload_prevent_default.out fix(test): disable preventDefault() for beforeunload event (#18911) 2023-05-03 23:10:51 +02:00
before_unload_prevent_default.ts fix(test): disable preventDefault() for beforeunload event (#18911) 2023-05-03 23:10:51 +02:00
captured_output.ts feat(lint): add Deno.run to no-deprecated-deno-api (#18869) 2023-04-27 02:52:52 +00:00
captured_output.worker.js
check_local_by_default.out
check_local_by_default.ts
check_local_by_default2.out
check_local_by_default2.ts
clear_timeout.out
clear_timeout.ts
collect.deprecated.out feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04:00
collect.out
collect2.out
collect_with_malformed_config.out feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04:00
deno.glob.json feat: add support for globs in the config file and CLI arguments for files (#19102) 2023-05-23 03:39:59 +02:00
deno_custom_jsx.json
doc.out fix(check): include dts files in tsc roots (#18026) 2023-03-05 12:47:04 -05:00
doc.ts fix(check): include dts files in tsc roots (#18026) 2023-03-05 12:47:04 -05:00
doc_only.out refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
exit_sanitizer.out
exit_sanitizer.ts
fail.out
fail.ts
fail_fast.out
fail_fast.ts
fail_fast_with_val.out
fail_fast_with_val.ts
file_protocol.out
file_protocol.ts
filter.out
finally_timeout.out
finally_timeout.ts
hello_world.out
hello_world.ts
ignore.out
ignore.ts
ignore_permissions.out
ignore_permissions.ts
interval.out
interval.ts
load_unload.out
load_unload.ts
markdown.md
markdown.out
markdown_full_block_names.md
markdown_full_block_names.out
markdown_windows.md
markdown_windows.out
markdown_with_comment.md
markdown_with_comment.out
meta.out
meta.ts
no_check.out
no_check.ts
no_color.ts
no_prompt_by_default.out chore: fix flaky tests checking ms when CI is slow (#18559) 2023-04-06 23:48:07 +02:00
no_prompt_by_default.ts
no_prompt_with_denied_perms.out chore: fix flaky tests checking ms when CI is slow (#18559) 2023-04-06 23:48:07 +02:00
no_prompt_with_denied_perms.ts
no_run.out
no_run.ts
non_error_thrown.out
non_error_thrown.ts
only.out
only.ts
ops_sanitizer_missing_details.out feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
ops_sanitizer_missing_details.ts chore: update std submodule and its imports (#17408) 2023-01-15 21:09:26 +01:00
ops_sanitizer_multiple_timeout_tests.out feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
ops_sanitizer_multiple_timeout_tests.ts
ops_sanitizer_multiple_timeout_tests_no_trace.out feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
ops_sanitizer_nexttick.out chore: update deno_std submodule to 0.178.0 (#18003) 2023-03-03 19:11:10 +00:00
ops_sanitizer_nexttick.ts chore: update deno_std submodule to 0.178.0 (#18003) 2023-03-03 19:11:10 +00:00
ops_sanitizer_timeout_failure.out
ops_sanitizer_timeout_failure.ts
ops_sanitizer_unstable.out fix(test): don't swallow sanitizer errors with permissions (#18550) 2023-04-01 16:20:16 -04:00
ops_sanitizer_unstable.ts fix(test): don't swallow sanitizer errors with permissions (#18550) 2023-04-01 16:20:16 -04:00
overloads.out
overloads.ts
parallel_output.out chore: fix flaky tests checking ms when CI is slow (#18559) 2023-04-06 23:48:07 +02:00
parallel_output.ts
pass.out
pass.ts
quiet.out
quiet.ts
recursive_permissions_pledge.js refactor: remove Deno.core (#16881) 2023-01-24 18:54:10 +01:00
report_error.out fix(test): handle dispatched exceptions from test functions (#18853) 2023-04-27 14:40:03 +02:00
report_error.ts fix(test): handle dispatched exceptions from test functions (#18853) 2023-04-27 14:40:03 +02:00
resource_sanitizer.out feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
resource_sanitizer.ts
short-pass-jobs-flag-warning.out
short-pass.out
short-pass.ts
shuffle.out refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
sigint_with_hanging_test.out feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
sigint_with_hanging_test.ts feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
text.md
text.out refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
uncaught_errors.out
uncaught_errors_1.ts
uncaught_errors_2.ts
uncaught_errors_3.ts
unhandled_rejection.out
unhandled_rejection.ts
unresolved_promise.out
unresolved_promise.ts