Browse Source

chore(nocodb): lint error and warnings

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6315/head
mertmit 1 year ago
parent
commit
7bdbc79754
  1. 2
      packages/nocodb/src/Noco.ts
  2. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts
  3. 1
      packages/nocodb/src/interface/XcMetaMgr.ts

2
packages/nocodb/src/Noco.ts

@ -18,8 +18,6 @@ import type { Express } from 'express';
import type http from 'http';
import { MetaTable } from '~/utils/globals';
import Store from '~/models/Store';
import { NC_LICENSE_KEY } from '~/constants';
import { AppModule } from '~/app.module';
import { isEE } from '~/utils';

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -2176,7 +2176,7 @@ class BaseModelSqlv2 {
return res;
}
async updateByPk(id, data, trx?, cookie?, disableOptimization = false) {
async updateByPk(id, data, trx?, cookie?, _disableOptimization = false) {
try {
const updateObj = await this.model.mapAliasToColumn(
data,

1
packages/nocodb/src/interface/XcMetaMgr.ts

@ -1 +1,2 @@
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export default interface XcMetaMgr {}

Loading…
Cancel
Save