Преглед на файлове

fix: Temporarily disabled eslint for moduleManager import

Owen Diffey преди 2 години
родител
ревизия
3f9a50d479

+ 1 - 0
backend/logic/actions/activities.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isLoginRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/apis.js

@@ -4,6 +4,7 @@ import axios from "axios";
 
 import { isAdminRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const UtilsModule = moduleManager.modules.utils;

+ 1 - 0
backend/logic/actions/dataRequests.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isAdminRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/hooks/adminRequired.js

@@ -1,5 +1,6 @@
 import async from "async";
 
+// eslint-disable-next-line
 import moduleManager from "../../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/hooks/loginRequired.js

@@ -1,5 +1,6 @@
 import async from "async";
 
+// eslint-disable-next-line
 import moduleManager from "../../../index";
 
 const CacheModule = moduleManager.modules.cache;

+ 1 - 0
backend/logic/actions/hooks/ownerRequired.js

@@ -1,5 +1,6 @@
 import async from "async";
 
+// eslint-disable-next-line
 import moduleManager from "../../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/news.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isAdminRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/playlists.js

@@ -3,6 +3,7 @@ import config from "config";
 
 import { isAdminRequired, isLoginRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/punishments.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isAdminRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/reports.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isAdminRequired, isLoginRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/songs.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isAdminRequired, isLoginRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/stations.js

@@ -4,6 +4,7 @@ import config from "config";
 
 import { isLoginRequired, isOwnerRequired, isAdminRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/users.js

@@ -7,6 +7,7 @@ import bcrypt from "bcrypt";
 import sha256 from "sha256";
 import { isAdminRequired, isLoginRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const DBModule = moduleManager.modules.db;

+ 1 - 0
backend/logic/actions/utils.js

@@ -2,6 +2,7 @@ import async from "async";
 
 import { isAdminRequired } from "./hooks";
 
+// eslint-disable-next-line
 import moduleManager from "../../index";
 
 const UtilsModule = moduleManager.modules.utils;