From 50e8ab8a8630a272e9862f2fb7014107474405c6 Mon Sep 17 00:00:00 2001 From: juju Date: Wed, 12 Jan 2022 20:05:06 +0800 Subject: feat(cli): add ignore directives to bundled code (#13309) This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually. --- cli/tests/integration/bundle_tests.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/tests/integration/bundle_tests.rs') diff --git a/cli/tests/integration/bundle_tests.rs b/cli/tests/integration/bundle_tests.rs index 4ef48b7e3..36ea1f8dd 100644 --- a/cli/tests/integration/bundle_tests.rs +++ b/cli/tests/integration/bundle_tests.rs @@ -442,3 +442,8 @@ itest!(bundle_export_specifier_with_alias { args: "bundle bundle/file_tests-fixture16.ts", output: "bundle/fixture16.out", }); + +itest!(bundle_ignore_directives { + args: "bundle subdir/mod1.ts", + output: "bundle_ignore_directives.test.out", +}); -- cgit v1.2.3