Remove // eslint-disable-next-line no-unused-vars
This commit is contained in:
parent
7e1afd8b73
commit
a88924a418
|
@ -1 +1 @@
|
||||||
Subproject commit e525e1c87322689436dba62794dd984f66e433f8
|
Subproject commit e2357a67de047c430908901889bbcb83767970ef
|
|
@ -115,7 +115,6 @@ class InMemoryQueue implements Partial<Queue> {
|
||||||
* a JSON message as this is required by Bull.
|
* a JSON message as this is required by Bull.
|
||||||
* @param repeat serves no purpose for the import queue.
|
* @param repeat serves no purpose for the import queue.
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
async add(data: any, opts?: JobOptions) {
|
async add(data: any, opts?: JobOptions) {
|
||||||
const jobId = opts?.jobId?.toString()
|
const jobId = opts?.jobId?.toString()
|
||||||
if (jobId && this._queuedJobIds.has(jobId)) {
|
if (jobId && this._queuedJobIds.has(jobId)) {
|
||||||
|
|
|
@ -4,8 +4,6 @@ import {
|
||||||
createDatasourceCreationStore,
|
createDatasourceCreationStore,
|
||||||
} from "./datasourceCreation"
|
} from "./datasourceCreation"
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
import { shouldIntegrationFetchTableNames } from "stores/selectors"
|
|
||||||
|
|
||||||
vi.mock("stores/selectors", () => ({
|
vi.mock("stores/selectors", () => ({
|
||||||
shouldIntegrationFetchTableNames: vi.fn(),
|
shouldIntegrationFetchTableNames: vi.fn(),
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import { it, expect, describe, beforeEach, vi } from "vitest"
|
import { it, expect, describe, beforeEach, vi } from "vitest"
|
||||||
import { createOnGoogleAuthStore } from "./onGoogleAuth"
|
import { createOnGoogleAuthStore } from "./onGoogleAuth"
|
||||||
import { writable, get } from "svelte/store"
|
import { writable, get } from "svelte/store"
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line
|
||||||
import { params } from "@roxi/routify"
|
import { params } from "@roxi/routify"
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line
|
||||||
import { integrations } from "stores/builder"
|
import { integrations } from "stores/builder"
|
||||||
import { IntegrationTypes } from "constants/backend"
|
import { IntegrationTypes } from "constants/backend"
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,6 @@ export function getAppService(path: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function updateDockerComposeService(
|
export function updateDockerComposeService(
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
updateFn: (service: DockerCompose) => void
|
updateFn: (service: DockerCompose) => void
|
||||||
) {
|
) {
|
||||||
const opts = ["docker-compose.yaml", "docker-compose.yml"]
|
const opts = ["docker-compose.yaml", "docker-compose.yml"]
|
||||||
|
|
|
@ -348,8 +348,7 @@ export default class DataFetch {
|
||||||
* Determine the feature flag for this datasource definition
|
* Determine the feature flag for this datasource definition
|
||||||
* @param definition
|
* @param definition
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line no-unused-vars
|
determineFeatureFlags(_definition) {
|
||||||
determineFeatureFlags(definition) {
|
|
||||||
return {
|
return {
|
||||||
supportsSearch: false,
|
supportsSearch: false,
|
||||||
supportsSort: false,
|
supportsSort: false,
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
import { features } from "@budibase/backend-core"
|
import { features } from "@budibase/backend-core"
|
||||||
import env from "./environment"
|
import env from "./environment"
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
enum AppFeature {
|
enum AppFeature {
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
API = "api",
|
API = "api",
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
AUTOMATIONS = "automations",
|
AUTOMATIONS = "automations",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ export const PostProcessorNames = {
|
||||||
CONVERT_LITERALS: "convert-literals",
|
CONVERT_LITERALS: "convert-literals",
|
||||||
}
|
}
|
||||||
|
|
||||||
/* eslint-disable no-unused-vars */
|
|
||||||
class Postprocessor {
|
class Postprocessor {
|
||||||
name: string
|
name: string
|
||||||
private fn: any
|
private fn: any
|
||||||
|
|
|
@ -9,7 +9,6 @@ export const PreprocessorNames = {
|
||||||
FINALISE: "finalise",
|
FINALISE: "finalise",
|
||||||
}
|
}
|
||||||
|
|
||||||
/* eslint-disable no-unused-vars */
|
|
||||||
class Preprocessor {
|
class Preprocessor {
|
||||||
name: string
|
name: string
|
||||||
private fn: any
|
private fn: any
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import { features } from "@budibase/backend-core"
|
import { features } from "@budibase/backend-core"
|
||||||
import env from "./environment"
|
import env from "./environment"
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
enum WorkerFeature {}
|
enum WorkerFeature {}
|
||||||
|
|
||||||
const featureList: WorkerFeature[] = features.processFeatureEnvVar(
|
const featureList: WorkerFeature[] = features.processFeatureEnvVar(
|
||||||
|
|
Loading…
Reference in New Issue