Use node plugin for Eslint

The Node.js specific rules for Eslint were deprecated in favour of the
node plugin for Eslint.  Add node plugin for eslint and switch over to
using its rules, fixing any issues detected.
This commit is contained in:
Hornwitser committed 2021-05-15 23:22:37 +02:00
1 parent 95b2262cc3
commit b0067eccc6
22 files changed
+129 -39

No files matched your search

+7 -4
View File
@@ -1,12 +1,15 @@
/* eslint-disable global-require */
/**
* Library for interfacing with Factorio Servers and saves.
* @module lib/factorio
* @author Hornwitser
*/
"use strict";
const export_ = require("./export");
const patch = require("./patch");
const server = require("./server");
module.exports = {
...require("./export"),
...require("./patch"),
...require("./server"),
...export_,
...patch,
...server,
};