diff --git a/package.json b/package.json index 87b66d86..b98d93e6 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ }, "eslintConfig": { "parserOptions": { + "ecmaVersion": "2022", "sourceType": "module" }, "extends": "@architect/eslint-config", diff --git a/src/landing/elements/manifest-examples.mjs b/src/landing/elements/manifest-examples.mjs index 6f62011c..c8ef7e84 100644 --- a/src/landing/elements/manifest-examples.mjs +++ b/src/landing/elements/manifest-examples.mjs @@ -4,7 +4,7 @@ const { cloudFormation: helloWorldCf, arc: helloWorldArc } = await renderHelloWo const { cloudFormation: arcCodesCf, arc: arcCodesArc } = await renderArcCodes() const { cloudFormation: kitchenSinkCf, arc: kitchenSinkArc } = await renderKitchenSink() -export default function CloudFormation({ html }) { +export default function CloudFormation ({ html }) { return html`