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