From 51d77d0fa32fcb2ed26be6cf12eb035a53a1d5b3 Mon Sep 17 00:00:00 2001 From: Greta Krafsig Date: Thu, 12 Oct 2023 21:56:40 -0400 Subject: [PATCH] fix: next/babel missing errors in vscode --- .eslintrc.json | 9 +++++++++ client/game.js | 1 - coverage/lcov-report/index.html | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 0c70e9c8..03ed3908 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,14 @@ { "extends": ["next/core-web-vitals"], + "overrides": [ + { + "files": ["*.js"], + "parser": "espree", + "parserOptions": { + "ecmaVersion": 2020 + } + } + ], "env": { "browser": true, "node": true, diff --git a/client/game.js b/client/game.js index 07fd717d..78fe22ff 100644 --- a/client/game.js +++ b/client/game.js @@ -1695,7 +1695,6 @@ export default class Game { getEntityAt(x, y, ignoreSelf) { log.debug('Game - getEntityAt()', x, y, ignoreSelf); - console.log('getEntityAt', this.entities.grids.renderingGrid); const entities = this.entities.grids.renderingGrid[y][x]; if (_.size(entities) > 0) { diff --git a/coverage/lcov-report/index.html b/coverage/lcov-report/index.html index cbab0832..825243b1 100644 --- a/coverage/lcov-report/index.html +++ b/coverage/lcov-report/index.html @@ -131,7 +131,7 @@

All files