diff --git a/src/memory/swc.js b/src/memory/swc.js index c06d93a..3aabd51 100644 --- a/src/memory/swc.js +++ b/src/memory/swc.js @@ -14,5 +14,8 @@ swcTransform(sourceText, { } }, preserveAllComments: false, + experimental: { + disableAllLints: true + } } }); diff --git a/src/transform.bench.ts b/src/transform.bench.ts index 26c7cbf..f5871b4 100644 --- a/src/transform.bench.ts +++ b/src/transform.bench.ts @@ -39,6 +39,9 @@ function swc(options: RunOptions) { }, }, preserveAllComments: false, + experimental: { + disableAllLints: true + } }, }); }