Skip to content

Commit

Permalink
Upgrade to ES6 and add additional config support
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandyn committed Feb 20, 2024
1 parent 3c703e5 commit d4aea5f
Show file tree
Hide file tree
Showing 18 changed files with 614 additions and 3,800 deletions.
23 changes: 11 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
module.exports = {
"env": {
"browser": true,
"es2021": true,
"amd": true,
"node": true
export default {
env: {
browser: true,
es2021: true,
amd: true,
node: true,
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},

}
};
14 changes: 7 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const web = require("./src/express");
const ts = require("./src/teamspeak");
const db = require("./src/database");
const discord = require("./src/discord");
const _ = require("lodash");
const teamspeakClientConnected = require("./src/actions/teamspeakClientConnected");
const synchroniseUser = require("./src/actions/synchronizeUser");
import web from "./src/express.js";
import ts from "./src/teamspeak.js";
import db from "./src/database.js";
import discord from "./src/discord.js";
import _ from "lodash";
import teamspeakClientConnected from "./src/actions/teamspeakClientConnected.js";
import synchroniseUser from "./src/actions/synchronizeUser.js";

// Initialize Connections to Servers
async function initialize() {
Expand Down
Loading

0 comments on commit d4aea5f

Please sign in to comment.