mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
upgraded eslint, defined new rules & added ignore comments
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
let _type: MediaTypes;
|
||||
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
params.forEach((value, key) => {
|
||||
params.forEach((_, key) => {
|
||||
if (
|
||||
key !== MediaTypes.Movie &&
|
||||
key !== MediaTypes.Show &&
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
const overflow: Ref<boolean> = ref(false);
|
||||
const descriptionElement: Ref<HTMLElement> = ref(null);
|
||||
|
||||
// eslint-disable-next-line no-undef
|
||||
function removeElements(elems: NodeListOf<Element>) {
|
||||
elems.forEach(el => el.remove());
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
try {
|
||||
validate();
|
||||
} catch (error) {
|
||||
console.log("not valid!"); // eslint-disable-line no-console
|
||||
console.log("not valid! error:", error); // eslint-disable-line no-console
|
||||
}
|
||||
|
||||
// const body: ResetPasswordPayload = {
|
||||
|
||||
Reference in New Issue
Block a user