Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = (ast) => {
const printOptions = {
quote: 'single',
objectCurlySpacing: false,
};
const printed = print(ast, printOptions).code;
const code = fixStrictMode(printed);
return code;
};