Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Jan 16, 2025
1 parent 123c7f9 commit 47239a3
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion bin/newest-adobe.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ const each = async resource => {

for (const [property, header] of headerMappings) {
const expected = resource[property];
// eslint-disable-next-line no-undefined
if (expected === undefined) {
continue;
}
Expand Down
1 change: 0 additions & 1 deletion bin/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ async function properties(packages) {
}
},
packages: (root, value) => {
// eslint-disable-next-line no-undefined
ok(value === undefined || Array.isArray(value));
},
metadata: (root, value) => {
Expand Down
2 changes: 0 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export default [
// Variables:
'no-label-var': 'error',
'no-undef-init': 'error',
'no-undefined': 'error',
'no-unused-vars': 'error',

// Node.js and CommonJS:
Expand Down Expand Up @@ -194,7 +193,6 @@ export default [
}
],
'prefer-const': 'error',
'prefer-destructuring': 'error',
'prefer-numeric-literals': 'error',
'prefer-rest-params': 'error',
'prefer-spread': 'error',
Expand Down
1 change: 0 additions & 1 deletion util/harun.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export async function runtimes(userAgent) {
const js = await res.text();
const m = js.match(/air\s+runtime\s+-\s+version\s+((?:\d+\.){3}\d+)/i);
if (m) {
// eslint-disable-next-line prefer-destructuring
version = m[1];
hashes = js.match(/[\da-f]{64} \*adobeair\.(exe|dmg)/gi);
break;
Expand Down
2 changes: 0 additions & 2 deletions util/hasdk.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export async function sdks(userAgent, version = null) {
let links;

if (version === null) {
// eslint-disable-next-line prefer-destructuring
links = data.latestVersion.links;
} else {
const response = await retry(() =>
Expand All @@ -105,7 +104,6 @@ export async function sdks(userAgent, version = null) {
}

const data = JSON.parse(await response.text());
// eslint-disable-next-line prefer-destructuring
links = data.links;
}

Expand Down

0 comments on commit 47239a3

Please sign in to comment.