Skip to content

Commit 526473b

Browse files
committed
fix: remove max-len linting bypasses
The newest @npmcli/eslint-config allows these to be long
1 parent 0930f4e commit 526473b

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

lib/normalize.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ const normalize = async (pkg, { strict, steps, root, changes, allowLegacyCase })
487487
// Some steps are isolated so we can do a limited subset of these in `fix`
488488
if (steps.includes('fixRepositoryField') || steps.includes('normalizeData')) {
489489
if (data.repositories) {
490-
/* eslint-disable-next-line max-len */
491490
changes?.push(`"repository" was set to the first entry in "repositories" (${data.repository})`)
492491
data.repository = data.repositories[0]
493492
}

test/prepare.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,6 @@ for (const [name, testPrepare] of Object.entries(testMethods)) {
617617
t.has(content, { type: undefined })
618618
})
619619

620-
// eslint-disable-next-line max-len
621620
// https://nodejs.org/api/esm.html#esm_writing_dual_packages_while_avoiding_or_minimizing_hazards
622621

623622
t.skip('handles esm modules', async t => {

0 commit comments

Comments
 (0)