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 node_modules
/built /built
/.eslintrc.js /.eslintrc.js
/src/@types/**/*

View File

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

View File

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

View File

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

View File

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