You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: map npm package links to npmx.dev and fix lint errors (#70)
Update README badge links from `npmjs.org` to `npmx.dev`.
- `[npm-url]` and `[download-url]` now point to
`https://npmx.dev/package/utility`
Fix all `npm run lint` errors by fixing the actual source code rather
than adding rule overrides. Changes include fixing param reassignments
with local variables, capitalizing comments, using template literals,
moving inline comments, removing `Error.captureStackTrace`, reordering
function definitions, splitting large test cases to reduce statement
counts, and more. Only 3 structural rule overrides were added
(`no-named-export`, `no-nodejs-modules`, `no-relative-parent-imports`)
since the library fundamentally uses named exports and Node.js module
imports.
Skip `npm run lint` on Node.js v16 since `oxlint` requires Node.js >=
18. Node.js v16 is split into a separate CI job in
`.github/workflows/nodejs.yml` that runs build and tests without the
lint step, while Node.js 18+ continues to use the reusable workflow with
lint included.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
0 commit comments