update eslint and adjust code for best practices

This commit is contained in:
Matt Walsh committed 2026-09-14 13:03:50 -05:00
1 parent 7ec5f34e78
commit 2b4f83cfc0
43 files changed
+2608 -660

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
// async https wrapper
import https from 'https';
import https from 'node:https';
const get = (url) => new Promise((resolve, reject) => {
const getHttps = (url) => new Promise((resolve, reject) => {
const headers = {};
headers['user-agent'] = '(WeatherStar 4000+ data generator, ws4000@netbymatt.com)';
@@ -22,4 +22,4 @@ const get = (url) => new Promise((resolve, reject) => {
});
});
export default get;
export default getHttps;