Skip to content

Commit

Permalink
swc disableAllLints
Browse files Browse the repository at this point in the history
closes #10
  • Loading branch information
Boshen committed Nov 26, 2024
1 parent 8206e16 commit 319ed86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/memory/swc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ swcTransform(sourceText, {
}
},
preserveAllComments: false,
experimental: {
disableAllLints: true
}
}
});
3 changes: 3 additions & 0 deletions src/transform.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ function swc(options: RunOptions) {
},
},
preserveAllComments: false,
experimental: {
disableAllLints: true
}
},
});
}
Expand Down

0 comments on commit 319ed86

Please sign in to comment.