QuiiBz / sherif

Opinionated, zero-config linter for JavaScript monorepos
MIT License
911 stars 13 forks source link

feat: new `unordered-dependencies` rule #94

Closed QuiiBz closed 3 months ago

QuiiBz commented 3 months ago

Closes https://github.com/QuiiBz/sherif/issues/93

Add a new unordered-dependencies rule as an error for all package.json files (the root package and each package in the workspace). Dependencies should be ordered alphabetically to prevent complex diffs when installing a new dependency via a package manager.