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/ops/runtime_compiler.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/ops') diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index faa427ae7..50268b7eb 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.rs @@ -285,6 +285,7 @@ async fn op_emit( emit::BundleOptions { bundle_type: bundle.into(), ts_config, + emit_ignore_directives: true, }, )?; let mut files = HashMap::new(); -- cgit v1.2.3