diff --git a/src/util/resolveConfig.js b/src/util/resolveConfig.js index d301def10c89..ad9c22529881 100644 --- a/src/util/resolveConfig.js +++ b/src/util/resolveConfig.js @@ -68,7 +68,9 @@ const configUtils = { }, rgb(property) { if (!property.startsWith('--')) { - throw new Error("The rgb() helper requires a custom property name to be passed as the first argument.") + throw new Error( + 'The rgb() helper requires a custom property name to be passed as the first argument.' + ) } return ({ opacityValue }) => { @@ -81,7 +83,9 @@ const configUtils = { }, hsl(property) { if (!property.startsWith('--')) { - throw new Error("The hsl() helper requires a custom property name to be passed as the first argument.") + throw new Error( + 'The hsl() helper requires a custom property name to be passed as the first argument.' + ) } return ({ opacityValue }) => {