Revise require imports (#3071)

- order (external first)
- remove superfluous file extensions
- new line after imports
- deconstruct (only one time (in `check_config.js`))
- fix path (only one time (in `global-setup.js`))
This commit is contained in:
Kristjan ESPERANTO 2023-03-22 23:53:10 +01:00 committed by GitHub
parent d5395ee3f8
commit 5f38c53260
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 451 additions and 50 deletions

View file

@ -1,7 +1,7 @@
const fetch = require("./fetch");
const fs = require("fs");
const path = require("path");
const Log = require("logger");
const fetch = require("./fetch");
/**
* Gets the config.