summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-12 20:43:49 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-04-12 20:43:49 +1000
commit5771552408898a3c33a7432a207fcfa51ad5f5df (patch)
tree1f6ed6ea734edf0620b61a6cd70c78d7944ccec5 /scripts
parentRemove unnecessary stresstest folder (diff)
downloadserver-5771552408898a3c33a7432a207fcfa51ad5f5df.tar.xz
Set eslint env properly
Diffstat (limited to 'scripts')
-rw-r--r--scripts/changelog.js2
-rw-r--r--scripts/license.js2
-rw-r--r--scripts/openapi.js2
-rw-r--r--scripts/rights.js2
-rw-r--r--scripts/schema.js2
-rw-r--r--scripts/syncronise.js2
6 files changed, 0 insertions, 12 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index f6329a46..658193ba 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -26,8 +26,6 @@
 	This grabs the new changelog from `spacebarchat/server/assets/changelog.txt`
 */
 
-/* eslint-env node */
-
 const fetch = require("node-fetch");
 const fs = require("fs/promises");
 const path = require("path");
diff --git a/scripts/license.js b/scripts/license.js
index d36165bb..b12080dd 100644
--- a/scripts/license.js
+++ b/scripts/license.js
@@ -5,8 +5,6 @@
 	Does not prepend is file contains @fc-license-skip
 */
 
-/* eslint-env node */
-
 const Path = require("path");
 const fs = require("fs");
 const walk = require("./util/walk");
diff --git a/scripts/openapi.js b/scripts/openapi.js
index b5001829..49d5dfde 100644
--- a/scripts/openapi.js
+++ b/scripts/openapi.js
@@ -16,8 +16,6 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-/* eslint-env node */
-
 require("module-alias/register");
 const getRouteDescriptions = require("./util/getRouteDescriptions");
 const path = require("path");
diff --git a/scripts/rights.js b/scripts/rights.js
index 148570eb..bf79ef79 100644
--- a/scripts/rights.js
+++ b/scripts/rights.js
@@ -20,8 +20,6 @@
 	Calculates a discord.com-like rights value.
 */
 
-/* eslint-env node */
-
 require("module-alias/register");
 const { Rights } = require("..");
 
diff --git a/scripts/schema.js b/scripts/schema.js
index 2a19ea26..c29d5bab 100644
--- a/scripts/schema.js
+++ b/scripts/schema.js
@@ -20,8 +20,6 @@
 	Regenerates the `spacebarchat/server/assets/schemas.json` file, used for API/Gateway input validation.
 */
 
-/* eslint-env node */
-
 const path = require("path");
 const fs = require("fs");
 const TJS = require("typescript-json-schema");
diff --git a/scripts/syncronise.js b/scripts/syncronise.js
index 5f6987c3..34cd0ddd 100644
--- a/scripts/syncronise.js
+++ b/scripts/syncronise.js
@@ -25,8 +25,6 @@
 	it doesn't break the below, thus we're left with this :sob:
 */
 
-/* eslint-env node */
-
 require("module-alias/register");
 require("dotenv").config();
 const { initDatabase } = require("..");