This commit is contained in:
Daniel Kluge 2022-06-21 18:47:42 +02:00
parent 9531ab7006
commit eb0031bf87
3 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"extends": "next/core-web-vitals", "extends": "next/core-web-vitals",
"rules": { "rules": {
"semi": ["warn", "always", { "omitLastInOneLineBlock": true }], "semi": ["warn", "always", { "omitLastInOneLineBlock": true }],
"quotes": ["warn", "double"], "quotes": ["warn", "double", { "avoidEscape": true }],
"eqeqeq": "error" "eqeqeq": "error"
} }
} }

View File

@ -257,8 +257,7 @@ const color: Command = {
switch(true) { switch(true) {
case color.hex().toLowerCase() === "#1f1e33": { case color.hex().toLowerCase() === "#1f1e33": {
// eslint-disable-next-line quotes if (cmdIf.callbacks?.setModalHTML) cmdIf.callbacks?.setModalHTML('<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/w4U9S5eX3eY" title="YouTube video player" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>');
if (cmdIf.callbacks?.setModalHTML) cmdIf.callbacks?.setModalHTML(`<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/w4U9S5eX3eY" title="YouTube video player" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>`);
if (cmdIf.callbacks?.setModalVisible) cmdIf.callbacks?.setModalVisible(true); if (cmdIf.callbacks?.setModalVisible) cmdIf.callbacks?.setModalVisible(true);
break; break;
} }

View File

@ -1,4 +1,4 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
module.exports = { module.exports = {
reactStrictMode: true, reactStrictMode: true,
} };