Skip to content

Commit

Permalink
Fix eslint configuration and remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hichemfantar committed Oct 16, 2024
1 parent 7f839c1 commit 45fcb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var config = [
plugins: {},
rules: {
...js.configs.recommended.rules,
// "no-unused-vars": "warn",
"no-unused-vars": "warn",
"prefer-const": "off",
// "no-undef" will show up a lot due client functions being in separate files so they aren't aware of each other
"no-undef": "warn",
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ var path = require("path");

var BrowserWindow = require("browser-window");
var mainWindow = null;
let bbb;
var unityHomeDir = path.join(__dirname, "../../WebPlayer");

// If running in non-packaged / development mode, this dir will be slightly different
if (process.env.npm_node_execpath) {
unityHomeDir = path.join(app.getAppPath(), "/build/WebPlayer");
Expand Down

0 comments on commit 45fcb51

Please sign in to comment.