add lint/noDelete suppressions
MODIFY
packages/@romejs/core/master/bundler/Bundler.ts
packages/@romejs/core/master/bundler/Bundler.ts
@@ -344,6 +344,7 @@ export default class Bundler {
}
// TODO `{type: "module"}` will always fail since we've produced CJS bundles
+ // rome-suppress-next-line lint/noDelete
delete newManifest.type;
return newManifest;

MODIFY
packages/@romejs/js-ast-utils/removeLoc.ts
packages/@romejs/js-ast-utils/removeLoc.ts
@@ -34,6 +34,7 @@ const removeLocTransform: TransformVisitors = [
const escaped: any = newNode;
for (const key in newNode) {
if (escaped[key] === undefined) {
+ // rome-suppress-next-line lint/noDelete
delete escaped[key];
}
}

add lint/noDelete suppressions