This commit is contained in:
syuilo 2021-09-05 14:37:00 +09:00
parent be3226ce47
commit 4f23e6424b
5 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,4 @@
node_modules
/built
/.eslintrc.js
/src/@types/**/*

View File

@ -36,6 +36,7 @@ module.exports = {
'no-async-promise-executor': ['off'],
'no-useless-escape': ['off'],
'no-multi-spaces': ['warn'],
'no-control-regex': ['warn'],
'@typescript-eslint/no-inferrable-types': ['warn'],
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-non-null-assertion': ['off'],

View File

@ -26,7 +26,7 @@
"watch-gulp": "gulp watch",
"clean": "gulp clean",
"cleanall": "gulp cleanall",
"lint": "eslint --quiet src/**/*.ts",
"lint": "eslint --quiet src/**/*.ts --ignore-pattern src/client/**/*.ts",
"cy:open": "cypress open",
"cy:run": "cypress run",
"e2e": "start-server-and-test start:test http://localhost cy:run",

View File

@ -28,7 +28,7 @@ export type DbUserImportJobData = {
fileId: DriveFile['id'];
};
export type ObjectStorageJobData = ObjectStorageFileJobData | {};
export type ObjectStorageJobData = ObjectStorageFileJobData | Record<string, unknown>;
export type ObjectStorageFileJobData = {
key: string;

View File

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/ban-types */
import * as fs from 'fs';
import { ILocalUser } from '@/models/entities/user';
import { IEndpointMeta } from './endpoints';