npm sherif 0.8.0
v0.8.0

latest releases: 1.0.1, 1.0.0, 0.11.0...
9 months ago

Preserve the JSON indentation on autofix

If you're using a formatter (e.g. Prettier) for your package.json files, you might have noticed that Sherif ignores the indentation and always uses two spaces. This is no longer the case and Sherif will automatically detect and use the correct indentation (2 spaces, 4 spaces, tabs) when autofixing issues!

Yarn nohoist workspaces

We now support the Yarn nohoist workspaces configuration, where the root package.json's workspaces field looks like:

"workspaces": {
  "packages": ["packages/*"],
  "nohoist": []
}

Misc

  • The multiple-dependency-versions will now also report duplicated versions in peerDependencies
  • Reduce the binary size by half

What's Changed

  • perf: reduce binary size by @QuiiBz in #48
  • feat(multiple-dependency-versions): report peerDependencies by @QuiiBz in #50
  • chore: update ignoring with star example by @QuiiBz in #52
  • fix: clippy warnings by @QuiiBz in #55
  • feat: preserve JSON indentation by @QuiiBz in #56
  • feat: support Yarn nohoist workspaces by @QuiiBz in #57

Full Changelog: v0.7.0...v0.8.0

Don't miss a new sherif release

NewReleases is sending notifications on new releases.