March 12, 2025

Subject: Biome vs. Prettier & ESLint; ESLint flat config improvements; returning from async functions; pros and cons of monorepos; Dependabot improvements; npm 11.2.0

Is Biome ready to replace Prettier & ESLint?

medium.com 

ESLint: Evolving flat config with extends

eslint.org @nzakas@fosstodon.org @eslint@fosstodon.org

[Quoting the blog post:]

[...] we were consistently hearing the same three pieces of feedback [for the new configuration system]:

  • Use with TypeScript was clunky.
  • It was difficult and frustrating to extend other configurations.
  • Global ignores are confusing.

JavaScript best practice: use return await

advancedweb.hu @sashee@infosec.exchange

I love monorepos – except when they are annoying

bret.io @bcomnes@fosstodon.org

“I love monorepos, but monorepos can be annoying, especially in open source. They make sense in some cases, but they come with a lot of baggage and patterns I’ve noticed over the years—so I need to write about them.”

Easily distinguish between direct and transitive dependencies of npm packages (in Dependabot alerts etc.)

github.blog github.com/npm

“GitHub’s dependency graph now tracks direct and transitive dependencies for npm packages. This helps you triage, prioritize, and remediate your Dependabot alerts.”

npm 11.2.0: npm init --init-type, managing the npx cache, and more

github.com github.com/npm

Highlights:
  • npm init --init-type specifies the value for property "type" in package.json.
  • Managing the npx cache via npm cache npx.
  • If a package version is specified when using npx, the cache is updated if possible.
  • Warning if an CLI flag or a config option is unknown

This email was sent to {{ email | default }}. You can unsubscribe from this list here or update your preferences.