Fix linting errors

This commit is contained in:
Alice Gaudon 2021-11-09 19:45:20 +01:00
parent e31598fe4e
commit d6483af1a9
4 changed files with 5 additions and 5 deletions

View File

@ -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: [
{ {

View File

@ -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 {

View File

@ -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";

View File

@ -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";