Linting
This commit is contained in:
parent
9531ab7006
commit
eb0031bf87
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
}
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user