Skip to content

Commit

Permalink
chore(deps): update typescript-eslint monorepo to v8 (major) (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Aug 4, 2024
1 parent 9d0ea50 commit de6cf8d
Show file tree
Hide file tree
Showing 37 changed files with 48,733 additions and 48,880 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import type { GameLobbyStartGameConfirmDialogStep } from "~/components/pages/game-lobby/GameLobbyFooter/GameLobbyStartGameButton/GameLobbyStartGameConfirmDialog/game-lobby-start-game-confirm-dialog.types";
import type GameLobbyStartGameConfirmDialogPlayersPositioned from "~/components/pages/game-lobby/GameLobbyFooter/GameLobbyStartGameButton/GameLobbyStartGameConfirmDialog/GameLobbyStartGameConfirmDialogContent/GameLobbyStartGameConfirmDialogPlayersPositioned/GameLobbyStartGameConfirmDialogPlayersPositioned.vue";
import type GameLobbyStartGameConfirmDialogPlayersReady from "~/components/pages/game-lobby/GameLobbyFooter/GameLobbyStartGameButton/GameLobbyStartGameConfirmDialog/GameLobbyStartGameConfirmDialogContent/GameLobbyStartGameConfirmDialogPlayersReady/GameLobbyStartGameConfirmDialogPlayersReady.vue";

type GameLobbyStartGameConfirmDialogContentProps = {
currentConfirmStep: GameLobbyStartGameConfirmDialogStep;
};

type GameLobbyStartGameConfirmDialogContentEmits = {
confirmStep: [],
rejectPlayersPositionStep: [],
confirmStep: [];
rejectPlayersPositionStep: [];
};

type GameLobbyStartGameConfirmDialogStepComponents =
| typeof GameLobbyStartGameConfirmDialogPlayersPositioned
| typeof GameLobbyStartGameConfirmDialogPlayersReady;
type GameLobbyStartGameConfirmDialogStepComponents = typeof GameLobbyStartGameConfirmDialogPlayersPositioned;

export type {
GameLobbyStartGameConfirmDialogContentProps,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Role } from "~/composables/api/role/types/role.class";

type GameLobbyRolePickerDescriptionContentProps = {
pickedRole: Role
pickedRole: Role;
};

export type { GameLobbyRolePickerDescriptionContentProps };
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const displayedPhase = computed<GamePhaseName>(() => {
return game.value.phase.name === "day" ? "night" : "day";
});
const displayedPhaseLottieComponent = computed<typeof GameDayPhaseLottie | typeof GameNightPhaseLottie>(() => {
const displayedPhaseLottieComponent = computed<typeof GameDayPhaseLottie >(() => {
if (displayedPhase.value === "day") {
return GameDayPhaseLottie;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,52 +1,7 @@
import type GameAccursedWolfFatherTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameAccursedWolfFatherTurnStartsEvent/GameAccursedWolfFatherTurnStartsEvent.vue";
import type GameActorTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameActorTurnStartsEvent/GameActorTurnStartsEvent.vue";
import type GameBigBadWolfTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameBigBadWolfTurnStartsEvent/GameBigBadWolfTurnStartsEvent.vue";
import type GameCharmedTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameCharmedTurnStartsEvent/GameCharmedTurnStartsEvent.vue";
import type GameCupidTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameCupidTurnStartsEvent/GameCupidTurnStartsEvent.vue";
import type GameDefenderTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameDefenderTurnStartsEvent/GameDefenderTurnStartsEvent.vue";
import type GameFoxTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameFoxTurnStartsEvent/GameFoxTurnStartsEvent.vue";
import type GameHunterTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameHunterTurnStartsEvent/GameHunterTurnStartsEvent.vue";
import type GameLoversTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameLoversTurnStartsEvent/GameLoversTurnStartsEvent.vue";
import type GamePiedPiperTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GamePiedPiperTurnStartsEvent/GamePiedPiperTurnStartsEvent.vue";
import type GameScandalmongerTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameScandalmongerTurnStartsEvent/GameScandalmongerTurnStartsEvent.vue";
import type GameScapegoatTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameScapegoatTurnStartsEvent/GameScapegoatTurnStartsEvent.vue";
import type GameSeerTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameSeerTurnStartsEvent/GameSeerTurnStartsEvent.vue";
import type GameSheriffTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameSheriffTurnStartsEvent/GameSheriffTurnStartsEvent.vue";
import type GameStutteringJudgeTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameStutteringJudgeTurnStartsEvent/GameStutteringJudgeTurnStartsEvent.vue";
import type GameSurvivorsTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameSurvivorsTurnStartsEvent/GameSurvivorsTurnStartsEvent.vue";
import type GameThiefTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameThiefTurnStartsEvent/GameThiefTurnStartsEvent.vue";
import type GameThreeBrothersTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameThreeBrothersTurnStartsEvent/GameThreeBrothersTurnStartsEvent.vue";
import type GameTwoSistersTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameTwoSistersTurnStartsEvent/GameTwoSistersTurnStartsEvent.vue";
import type GameWerewolvesTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameWerewolvesTurnStartsEvent/GameWerewolvesTurnStartsEvent.vue";
import type GameWhiteWerewolfTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameWhiteWerewolfTurnStartsEvent/GameWhiteWerewolfTurnStartsEvent.vue";
import type GameWildChildTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameWildChildTurnStartsEvent/GameWildChildTurnStartsEvent.vue";
import type GameWitchTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameWitchTurnStartsEvent/GameWitchTurnStartsEvent.vue";
import type GameWolfHoundTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameWolfHoundTurnStartsEvent/GameWolfHoundTurnStartsEvent.vue";

type GameTurnStartsEventTypeComponent =
| typeof GameAccursedWolfFatherTurnStartsEvent
| typeof GameActorTurnStartsEvent
| typeof GameBigBadWolfTurnStartsEvent
| typeof GameCharmedTurnStartsEvent
| typeof GameCupidTurnStartsEvent
| typeof GameDefenderTurnStartsEvent
| typeof GameFoxTurnStartsEvent
| typeof GameHunterTurnStartsEvent
| typeof GameLoversTurnStartsEvent
| typeof GamePiedPiperTurnStartsEvent
| typeof GameScandalmongerTurnStartsEvent
| typeof GameScapegoatTurnStartsEvent
| typeof GameSeerTurnStartsEvent
| typeof GameSheriffTurnStartsEvent
| typeof GameStutteringJudgeTurnStartsEvent
| typeof GameSurvivorsTurnStartsEvent
| typeof GameThiefTurnStartsEvent
| typeof GameThreeBrothersTurnStartsEvent
| typeof GameTwoSistersTurnStartsEvent
| typeof GameWerewolvesTurnStartsEvent
| typeof GameWhiteWerewolfTurnStartsEvent
| typeof GameWildChildTurnStartsEvent
| typeof GameWitchTurnStartsEvent
| typeof GameWolfHoundTurnStartsEvent;
type GameTurnStartsEventTypeComponent = typeof GameAccursedWolfFatherTurnStartsEvent

;

export type { GameTurnStartsEventTypeComponent };
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import type GamePhaseStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GamePhaseStartsEvent/GamePhaseStartsEvent.vue";
import type GamePlayerDiesEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameDeathEvent/GameDeathEvent.vue";
import type GameSeerHasSeenEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameSeerHasSeenEvent/GameSeerHasSeenEvent.vue";
import type GameStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameStartsEvent/GameStartsEvent.vue";
import type GameTurnStartsEvent from "~/components/pages/game/GamePlaying/GameEventsMonitor/GameEventsMonitorCurrentEvent/GameTurnStartsEvent/GameTurnStartsEvent.vue";
import type { GameEvent } from "~/composables/api/game/game-event/game-event.class";

type GameEventsMonitorEventTypeComponent =
typeof GamePhaseStartsEvent | typeof GamePlayerDiesEvent | typeof GameSeerHasSeenEvent | typeof GameStartsEvent | typeof GameTurnStartsEvent;
type GameEventsMonitorEventTypeComponent = typeof GamePhaseStartsEvent;

type CurrentGameEventProps = {
event: GameEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
import type GameBuryDeadBodiesPlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameBuryDeadBodiesPlayground/GameBuryDeadBodiesPlayground.vue";
import type GameChooseCardPlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameChooseCardPlayground/GameChooseCardPlayground.vue";
import type GameChooseSidePlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameChooseSidePlayground/GameChooseSidePlayground.vue";
import type GameNoActionPlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameNoActionPlayground/GameNoActionPlayground.vue";
import type GameRequestAnotherVotePlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameRequestAnotherVotePlayground/GameRequestAnotherVotePlayground.vue";
import type GameTargetPlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameTargetPlayground/GameTargetPlayground.vue";
import type GameUsePotionsPlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameUsePotionsPlayground/GameUsePotionsPlayground.vue";
import type GameVotePlayground from "~/components/pages/game/GamePlaying/GamePlayground/GamePlaygroundContent/GameVotePlayground/GameVotePlayground.vue";

type GamePlaygroundTypeComponent =
| typeof GameBuryDeadBodiesPlayground
| typeof GameChooseCardPlayground
| typeof GameChooseSidePlayground
| typeof GameNoActionPlayground
| typeof GameRequestAnotherVotePlayground
| typeof GameTargetPlayground
| typeof GameUsePotionsPlayground
| typeof GameVotePlayground;
type GamePlaygroundTypeComponent = typeof GameBuryDeadBodiesPlayground;

export type { GamePlaygroundTypeComponent };
6 changes: 3 additions & 3 deletions app/components/shared/role/RoleImage/role-image.types.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { RoleName } from "~/composables/api/role/types/role.types";

type RoleImageProps = {
alt?: string,
roleName?: RoleName,
sizes?: string,
alt?: string;
roleName?: RoleName;
sizes?: string;
definition?: "normal" | "small";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function useFetchGameHistoryRecords(): UseFetchGameHistory {
async function getGameHistoryRecords(gameId: string): Promise<ReturnType<typeof $fetch<GameHistoryRecord[]>> | null> {
try {
return await fetchWerewolvesAssistantApi<GameHistoryRecord[]>(`/games/${gameId}/history`, { method: "GET" });
} catch (error) {
} catch {
return null;
}
}
Expand Down
8 changes: 4 additions & 4 deletions app/composables/api/game/useFetchGames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ function useFetchGames(): UseFetchGames {
method: "POST",
body: JSON.stringify(createGameDto),
});
} catch (error) {
} catch {
return null;
}
}

async function getGame(gameId: string): Promise<ReturnType<typeof $fetch<Game>> | null> {
try {
return await fetchWerewolvesAssistantApi<Game>(`/games/${gameId}`, { method: "GET" });
} catch (error) {
} catch {
return null;
}
}

async function cancelGame(gameId: string): Promise<ReturnType<typeof $fetch<Game>> | null> {
try {
return await fetchWerewolvesAssistantApi<Game>(`/games/${gameId}`, { method: "DELETE" });
} catch (error) {
} catch {
return null;
}
}
Expand All @@ -46,7 +46,7 @@ function useFetchGames(): UseFetchGames {
method: "POST",
body: JSON.stringify(makeGamePlayDto),
});
} catch (error) {
} catch {
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/composables/api/role/useFetchRoles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function useFetchRoles(): UseFetchRoles {
async function fetchRoles(): Promise<ReturnType<typeof $fetch<Role[]>> | null> {
try {
return await fetchWerewolvesAssistantApi<Role[]>(`/roles`, { method: "GET" });
} catch (error) {
} catch {
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/pages/game/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import type { GameStatus } from "~/composables/api/game/types/game.types";
import { useAudioStore } from "~/stores/audio/useAudioStore";
import { useGameStore } from "~/stores/game/useGameStore";
type GameStatusComponent = typeof GameCanceled | typeof GameOver | typeof GamePlaying;
type GameStatusComponent = typeof GameCanceled ;
const route = useRoute();
const gameStore = useGameStore();
Expand Down
26 changes: 17 additions & 9 deletions config/eslint/flat-configs/eslint.global-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
},
},
rules: {
// ---- ESLint Rules -----
// - Possible Problems (https://eslint.org/docs/rules/#possible-problems)
/*
* ---- ESLint Rules -----
* - Possible Problems (https://eslint.org/docs/rules/#possible-problems)
*/
"array-callback-return": ERROR,
"constructor-super": ERROR,
"for-direction": ERROR,
Expand All @@ -58,6 +60,7 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
"no-compare-neg-zero": ERROR,
"no-cond-assign": ERROR,
"no-const-assign": ERROR,
"no-constant-binary-expression": ERROR,
"no-constant-condition": ERROR,
"no-constructor-return": ERROR,
"no-control-regex": ERROR,
Expand Down Expand Up @@ -100,20 +103,23 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
"no-unused-private-class-members": ERROR,
"no-unused-vars": ERROR,
"no-use-before-define": ERROR,
"no-useless-assignment": ERROR,
"no-useless-backreference": ERROR,
"require-atomic-updates": OFF,
"use-isnan": ERROR,
"valid-typeof": ERROR,
// ---- ESLint Rules -----
// - Suggestions (https://eslint.org/docs/rules/#suggestions)
/*
* ---- ESLint Rules -----
* - Suggestions (https://eslint.org/docs/rules/#suggestions)
*/
"accessor-pairs": ERROR,
"arrow-body-style": [ERROR, "as-needed"],
"block-scoped-var": ERROR,
"camelcase": [ERROR, { allow: ["npm_package_version"] }],
"capitalized-comments": [ERROR, NEVER, { ignorePattern: "TODO|Stryker" }],
"class-methods-use-this": ERROR,
"complexity": ERROR,
"consistent-return": ERROR,
"consistent-return": OFF,
"consistent-this": ERROR,
"curly": ERROR,
"default-case": ERROR,
Expand All @@ -138,7 +144,6 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
"max-nested-callbacks": [ERROR, MAX_NESTED_CALLBACK],
"max-params": [ERROR, MAX_PARAMS],
"max-statements": OFF,
"multiline-comment-style": [ERROR, "separate-lines"],
"new-cap": ERROR,
"no-alert": ERROR,
"no-array-constructor": ERROR,
Expand All @@ -152,6 +157,7 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
"no-else-return": ERROR,
"no-empty": ERROR,
"no-empty-function": ERROR,
"no-empty-static-block": ERROR,
"no-eq-null": ERROR,
"no-eval": ERROR,
"no-extend-native": ERROR,
Expand Down Expand Up @@ -195,6 +201,7 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
"no-regex-spaces": ERROR,
"no-restricted-exports": OFF,
"no-restricted-globals": OFF,
"no-restricted-imports": OFF,
"no-restricted-properties": OFF,
"no-restricted-syntax": [ERROR, "SwitchStatement", "SwitchCase", "DoWhileStatement"],
"no-return-assign": ERROR,
Expand Down Expand Up @@ -249,9 +256,10 @@ const ESLINT_GLOBAL_CONFIG = Object.freeze({
"symbol-description": ERROR,
"vars-on-top": ERROR,
"yoda": ERROR,
// ---- ESLint Rules -----
// - Layout & Formatting (https://eslint.org/docs/rules/#layout-formatting)
"line-comment-position": ERROR,
/*
* ---- ESLint Rules -----
* - Layout & Formatting (https://eslint.org/docs/rules/#layout-formatting)
*/
"unicode-bom": ERROR,
},
});
Expand Down
6 changes: 4 additions & 2 deletions config/eslint/flat-configs/eslint.import-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ const ESLINT_IMPORT_CONFIG = {
},
},
rules: {
// ---- ESLint Import Rules -----
// - Helpful warnings (https://github.com/import-js/eslint-plugin-import#helpful-warnings)
/*
* ---- ESLint Import Rules -----
* - Helpful warnings (https://github.com/import-js/eslint-plugin-import#helpful-warnings)
*/
"import/export": ERROR,
"import/no-deprecated": ERROR,
"import/no-empty-named-blocks": ERROR,
Expand Down
8 changes: 7 additions & 1 deletion config/eslint/flat-configs/eslint.stylistic-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const ESLINT_STYLISTIC_CONFIG = {
"@stylistic/dot-location": [ERROR, "property"],
"@stylistic/eol-last": [ERROR, NEVER],
"@stylistic/function-call-argument-newline": [ERROR, "consistent"],
"@stylistic/func-call-spacing": ERROR,
"@stylistic/function-call-spacing": ERROR,
"@stylistic/function-paren-newline": [ERROR, "multiline"],
"@stylistic/generator-star-spacing": [
Expand All @@ -51,11 +52,12 @@ const ESLINT_STYLISTIC_CONFIG = {
"@stylistic/jsx-curly-spacing": ERROR,
"@stylistic/jsx-equals-spacing": ERROR,
"@stylistic/jsx-first-prop-new-line": ERROR,
"@stylistic/jsx-indent": ERROR,
"@stylistic/jsx-function-call-newline": ERROR,
"@stylistic/jsx-indent-props": ERROR,
"@stylistic/jsx-max-props-per-line": ERROR,
"@stylistic/jsx-newline": ERROR,
"@stylistic/jsx-one-expression-per-line": ERROR,
"@stylistic/jsx-pascal-case": ERROR,
"@stylistic/jsx-props-no-multi-spaces": ERROR,
"@stylistic/jsx-quotes": ERROR,
"@stylistic/jsx-self-closing-comp": ERROR,
Expand All @@ -64,15 +66,19 @@ const ESLINT_STYLISTIC_CONFIG = {
"@stylistic/jsx-wrap-multilines": ERROR,
"@stylistic/key-spacing": [ERROR, { mode: "strict" }],
"@stylistic/keyword-spacing": ERROR,
"@stylistic/line-comment-position": ERROR,
"@stylistic/linebreak-style": ERROR,
"@stylistic/lines-around-comment": OFF,
"@stylistic/lines-between-class-members": [ERROR, ALWAYS],
"@stylistic/max-len": [
ERROR, {
...MAX_LENGTH_DEFAULT_CONFIG,
ignoreComments: true,
},
],
"@stylistic/member-delimiter-style": ERROR,
"@stylistic/max-statements-per-line": [ERROR, { max: 1 }],
"@stylistic/multiline-comment-style": ERROR,
"@stylistic/multiline-ternary": [ERROR, NEVER],
"@stylistic/new-parens": ERROR,
"@stylistic/newline-per-chained-call": OFF,
Expand Down
1 change: 1 addition & 0 deletions config/eslint/flat-configs/eslint.tests-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const ESLINT_TESTS_CONFIG = {
"import/no-namespace": OFF,
"@typescript-eslint/init-declarations": OFF,
"@typescript-eslint/no-magic-numbers": OFF,
"@typescript-eslint/prefer-destructuring": OFF,
"vitest/consistent-test-filename": [ERROR, { pattern: "^(.+\\.spec)\\.ts$" }],
"vitest/consistent-test-it": [ERROR, { fn: "it" }],
"vitest/expect-expect": ERROR,
Expand Down
Loading

0 comments on commit de6cf8d

Please sign in to comment.