Skip to content

Commit

Permalink
chore(deps): bump the eslint group with 2 updates (#363)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antoine ZANARDI <antoine.zanardi@epitech.eu>
  • Loading branch information
dependabot[bot] and antoinezanardi committed Aug 1, 2023
1 parent be65031 commit 5b1cf4a
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 93 deletions.
168 changes: 84 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
"@types/jest-when": "^3.5.2",
"@types/node": "^20.4.5",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.46.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.2.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BadRequestException } from "@nestjs/common";
import { BAD_GAME_PLAY_PAYLOAD_REASONS } from "../enums/bad-game-play-payload-error.enum";
import type { BAD_GAME_PLAY_PAYLOAD_REASONS } from "../enums/bad-game-play-payload-error.enum";

class BadGamePlayPayloadException extends BadRequestException {
public constructor(reason: BAD_GAME_PLAY_PAYLOAD_REASONS) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { BadRequestException } from "@nestjs/common";
import { upperFirst } from "lodash";
import { API_RESOURCES } from "../../api/enums/api.enum";
import type { API_RESOURCES } from "../../api/enums/api.enum";
import { getResourceSingularForm } from "../../api/helpers/api.helper";
import { BAD_RESOURCE_MUTATION_REASONS } from "../enums/bad-resource-mutation-error.enum";
import type { BAD_RESOURCE_MUTATION_REASONS } from "../enums/bad-resource-mutation-error.enum";

class BadResourceMutationException extends BadRequestException {
public constructor(resource: API_RESOURCES, id: string, reason?: BAD_RESOURCE_MUTATION_REASONS) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NotFoundException } from "@nestjs/common";
import { upperFirst } from "lodash";
import { API_RESOURCES } from "../../api/enums/api.enum";
import type { API_RESOURCES } from "../../api/enums/api.enum";
import { getResourceSingularForm } from "../../api/helpers/api.helper";
import { RESOURCE_NOT_FOUND_REASONS } from "../enums/resource-not-found-error.enum";
import type { RESOURCE_NOT_FOUND_REASONS } from "../enums/resource-not-found-error.enum";

class ResourceNotFoundException extends NotFoundException {
public constructor(resource: API_RESOURCES, id: string, reason?: RESOURCE_NOT_FOUND_REASONS) {
Expand Down
4 changes: 2 additions & 2 deletions src/shared/exception/types/unexpected-exception.type.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { InternalServerErrorException } from "@nestjs/common";
import { template } from "radash";
import { UNEXPECTED_EXCEPTION_REASONS } from "../enums/unexpected-exception.enum";
import { ExceptionInterpolations } from "./exception.type";
import type { UNEXPECTED_EXCEPTION_REASONS } from "../enums/unexpected-exception.enum";
import type { ExceptionInterpolations } from "./exception.type";

class UnexpectedException extends InternalServerErrorException {
public constructor(scope: string, reason: UNEXPECTED_EXCEPTION_REASONS, interpolations: ExceptionInterpolations = {}) {
Expand Down

0 comments on commit 5b1cf4a

Please sign in to comment.