Fix qa-core lint

This commit is contained in:
Adria Navarro 2023-11-17 16:06:01 +01:00
parent 4b5fa1dfd9
commit 27ba888ba0
6 changed files with 5 additions and 34 deletions

View File

@ -34,7 +34,6 @@
},
{
"files": ["**/*.ts"],
"excludedFiles": "qa-core/**/*",
"parser": "@typescript-eslint/parser",
"extends": ["eslint:recommended"],
"rules": {
@ -46,19 +45,6 @@
"no-prototype-builtins": "off",
"local-rules/no-budibase-imports": "error"
}
},
{
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"extends": ["eslint:recommended"],
"rules": {
"no-unused-vars": "off",
"no-inner-declarations": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
"no-undef": "off",
"no-prototype-builtins": "off"
}
}
],
"rules": {

View File

@ -1,8 +1,4 @@
import {
CreateRowParams,
Row,
SearchInputParams,
} from "@budibase/server/api/controllers/public/mapping/types"
import { CreateRowParams, Row, SearchInputParams } from "../../../types"
import { HeadersInit, Response } from "node-fetch"
import BudibasePublicAPIClient from "../BudibasePublicAPIClient"
import * as fixtures from "../../fixtures"

View File

@ -1,8 +1,4 @@
import {
Table,
SearchInputParams,
CreateTableParams,
} from "@budibase/server/api/controllers/public/mapping/types"
import { Table, SearchInputParams, CreateTableParams } from "../../../types"
import { HeadersInit, Response } from "node-fetch"
import { generateTable } from "../../fixtures/tables"
import BudibasePublicAPIClient from "../BudibasePublicAPIClient"

View File

@ -1,8 +1,4 @@
import {
CreateUserParams,
SearchInputParams,
User,
} from "@budibase/server/api/controllers/public/mapping/types"
import { CreateUserParams, SearchInputParams, User } from "../../../types"
import { Response } from "node-fetch"
import BudibasePublicAPIClient from "../BudibasePublicAPIClient"
import * as fixtures from "../../fixtures"

View File

@ -1,7 +1,4 @@
import {
CreateUserParams,
User,
} from "@budibase/server/api/controllers/public/mapping/types"
import { CreateUserParams, User } from "../../types"
import { generator } from "../../shared"
export const generateUser = (

View File

@ -1,4 +1,4 @@
import { Application } from "@budibase/server/api/controllers/public/mapping/types"
import { Application } from "../types"
import { Layout } from "@budibase/types"
import { Screen } from "@budibase/types"
// Create type for getAppPackage response