build: add import/order eslint rule (#44085)

* build: add import/order eslint rule

* chore: run lint:js --fix
This commit is contained in:
Samuel Attard 2024-10-02 19:10:44 -07:00 committed by GitHub
parent 684e345f68
commit 122685194a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
208 changed files with 794 additions and 441 deletions

View file

@ -1,5 +1,8 @@
/* eslint-disable camelcase */
const { BlobServiceClient } = require('@azure/storage-blob');
const minimist = require('minimist');
const path = require('node:path');
const { ELECTRON_ARTIFACTS_BLOB_STORAGE } = process.env;
@ -10,7 +13,7 @@ if (!ELECTRON_ARTIFACTS_BLOB_STORAGE) {
const blobServiceClient = BlobServiceClient.fromConnectionString(ELECTRON_ARTIFACTS_BLOB_STORAGE);
const args = require('minimist')(process.argv.slice(2));
const args = minimist(process.argv.slice(2));
let { prefix = '/', key_prefix = '', _: files } = args;
if (prefix && !prefix.endsWith(path.sep)) prefix = path.resolve(prefix) + path.sep;