Skip to content

Commit

Permalink
fix: remove max-len linting bypasses
Browse files Browse the repository at this point in the history
The newest @npmcli/eslint-config allows these to be long
  • Loading branch information
wraithgar committed Jan 21, 2025
1 parent 0930f4e commit 526473b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ const normalize = async (pkg, { strict, steps, root, changes, allowLegacyCase })
// Some steps are isolated so we can do a limited subset of these in `fix`
if (steps.includes('fixRepositoryField') || steps.includes('normalizeData')) {
if (data.repositories) {
/* eslint-disable-next-line max-len */
changes?.push(`"repository" was set to the first entry in "repositories" (${data.repository})`)
data.repository = data.repositories[0]
}
Expand Down
1 change: 0 additions & 1 deletion test/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ for (const [name, testPrepare] of Object.entries(testMethods)) {
t.has(content, { type: undefined })
})

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

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

0 comments on commit 526473b

Please sign in to comment.