Fix linting errors
This commit is contained in:
parent
e31598fe4e
commit
d6483af1a9
@ -99,8 +99,10 @@ module.exports = {
|
||||
'jest.config.js',
|
||||
'dist/**/*',
|
||||
'config/**/*',
|
||||
'intermediates/**/*',
|
||||
'public/**/*',
|
||||
"scripts/**/*",
|
||||
'scripts/**/*',
|
||||
'src/frontend/register_svelte/register_svelte.js',
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ export abstract class HttpError extends WrappingError {
|
||||
return this.constructor.name;
|
||||
}
|
||||
|
||||
abstract get errorCode(): number;
|
||||
public abstract get errorCode(): number;
|
||||
}
|
||||
|
||||
export class BadRequestError extends HttpError {
|
||||
|
@ -1,7 +1,6 @@
|
||||
import {Options} from "nodemailer/lib/mailer";
|
||||
import {ParsedUrlQueryInput} from "querystring";
|
||||
|
||||
import {QueryParams, QueryParamsRecord} from "../common/Routing.js";
|
||||
import {QueryParamsRecord} from "../common/Routing.js";
|
||||
import MailError from "./MailError.js";
|
||||
import MailTemplate from "./MailTemplate.js";
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
import supertest from "supertest";
|
||||
|
||||
import AuthComponent from "../src/auth/AuthComponent.js";
|
||||
import AddApprovedFieldToUsersTableMigration from "../src/auth/migrations/AddApprovedFieldToUsersTableMigration.js";
|
||||
import AddNameToUsersMigration from "../src/auth/migrations/AddNameToUsersMigration.js";
|
||||
import MagicLink from "../src/auth/models/MagicLink.js";
|
||||
import PasswordAuthProof from "../src/auth/password/PasswordAuthProof.js";
|
||||
|
Loading…
Reference in New Issue
Block a user