style: 🚨 linter go brrrr

This commit is contained in:
Sebin Nyshkim 2021-04-26 19:22:26 +02:00
parent 9df1999391
commit 48d2a6f2f8
13 changed files with 73 additions and 79 deletions

View file

@ -37,14 +37,14 @@ export default {
props: {
dataset: {
type: Object,
required: true
}
required: true,
},
},
methods: {
isHexValue(value) {
return /^#[0-9a-f]{6}$/i.test(value) ? value : false;
}
}
},
},
};
</script>

View file

@ -22,11 +22,11 @@ export default {
{ href: "https://t.me/SebinNyshkim", text: "Telegram" },
{
href: "https://www.furaffinity.net/user/sonofdragons",
text: "Fur Affinity"
}
]
text: "Fur Affinity",
},
],
};
}
},
};
</script>

View file

@ -39,13 +39,13 @@ export default {
data() {
return {
activeImage: 0,
images: []
images: [],
};
},
computed: {
offset() {
return `margin-left: -${this.activeImage * 100}%`;
}
},
},
methods: {
setActive(index) {
@ -60,12 +60,12 @@ export default {
if (this.activeImage < this.images.length - 1) {
this.activeImage += 1;
}
}
},
},
mounted() {
const images = Array.from(this.$el.querySelectorAll("img"));
this.images = images;
}
},
};
</script>

View file

@ -38,7 +38,7 @@ import RefNavbar from "@components/Navbar.vue";
export default {
props: {
mainHeading: String,
subHeading: String
subHeading: String,
},
data() {
return {
@ -50,14 +50,14 @@ export default {
{ href: "#upperbody", label: "Upper Body", nsfw: false },
{ href: "#penis", label: "Penis", nsfw: true },
{ href: "#clothes", label: "Clothing Styles", nsfw: false },
{ href: "#abilities", label: "Abilities", nsfw: false }
]
{ href: "#abilities", label: "Abilities", nsfw: false },
],
};
},
components: {
NsfwSwitch,
RefNavbar
}
RefNavbar,
},
};
</script>

View file

@ -19,12 +19,12 @@ import debounce from "lodash/debounce";
export default {
props: {
navlinks: Array
navlinks: Array,
},
data() {
return {
isFixed: false,
offsetTop: null
offsetTop: null,
};
},
methods: {
@ -41,7 +41,7 @@ export default {
} else {
return this.$parent.$parent.nsfw === item;
}
}
},
},
mounted() {
window.addEventListener(
@ -60,7 +60,7 @@ export default {
this.checkIsFixed();
}, 100)
);
}
},
};
</script>

View file

@ -19,12 +19,12 @@
export default {
model: {
prop: "checked",
event: "change"
event: "change",
},
props: {
checked: Boolean,
id: { type: String, required: true }
}
id: { type: String, required: true },
},
};
</script>

View file

@ -26,8 +26,8 @@ export default {
this.$parent.nsfw = input;
this.$parent.isConfirmedHorny = input;
this.$parent.isWarn = false;
}
}
},
},
};
</script>

View file

@ -12,14 +12,14 @@
export default {
data() {
return {
isExpanded: false
isExpanded: false,
};
},
methods: {
toggle() {
this.isExpanded = !this.isExpanded;
}
}
},
},
};
</script>