diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 4e6789f..1782de2 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -76,6 +76,8 @@ module.exports = { '@stylistic/lines-around-comment': [ 'error', { + allowBlockStart: true, + allowBlockEnd: true, beforeBlockComment: true } ], diff --git a/package.json b/package.json index 0717b52..0930f53 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@vue/eslint-config-typescript": "^12.0.0", "@vue/test-utils": "^2.4.1", "@vue/tsconfig": "^0.4.0", - "eslint": "^8.49.0", + "eslint": "^8.53.0", "eslint-plugin-vue": "^9.17.0", "jsdom": "^22.1.0", "npm-run-all2": "^6.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b368f0f..a92fab1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,7 +71,7 @@ devDependencies: specifier: ^0.4.0 version: 0.4.0 eslint: - specifier: ^8.49.0 + specifier: ^8.53.0 version: 8.53.0 eslint-plugin-vue: specifier: ^9.17.0 diff --git a/src/js/Bingo.ts b/src/js/Bingo.ts index 0db8ec4..1224337 100644 --- a/src/js/Bingo.ts +++ b/src/js/Bingo.ts @@ -56,18 +56,19 @@ export class BingoGame { } addGroup(group: BingoGroup): void { - // TODO: Right now we can do circular groups. - // 1.parent = 2, 2.parent = 1 - // This will loop the objects infinitely. - // Make sure that going through the tree we don't have this problem. - // - // Option B: - // Trash idea of groups-in-groups (parent system) - // Just have groups and be done with them. - // - // Option C: - // Bring back categories so we have categories + groups. - // _____________________________________________________ + /* + * TODO: Right now we can do circular groups. + * 1.parent = 2, 2.parent = 1 + * This will loop the objects infinitely. + * Make sure that going through the tree we don't have this problem. + * + * Option B: + * Trash idea of groups-in-groups (parent system) + * Just have groups and be done with them. + * + * Option C: + * Bring back categories so we have categories + groups. + */ if (this.groups.some(_group => stringCompare(_group.name, group.name))) return;