npm sherif 1.10.0
v1.10.0

12 hours ago

JSON configuration in root package.json

When using many CLI arguments, it might be easier to move to the configuration format. In your root package.json, add a sherif field containing the same options as the CLI, but in camelCase. Default values are shown below:

{
  "sherif": {
    "fix": false,
    "select": "highest", // "highest" | "lowest"
    "noInstall": false,
    "failOnWarnings": false,
    "ignoreDependency": [], // string[]
    "ignorePackage": [], // string[]
    "ignoreRule": [] // string[]
  }
}

--fail-on-warnings option

Add a new option --fail-on-warnings to exit with code 1 if any warning issues are found. By default, only error issues will make Sherif exit with code 1.

What's Changed

  • feat: add --fail-on-warnings option by @QuiiBz in #141
  • feat: add support for configuring via root package.json by @QuiiBz in #146

Full Changelog: v1.9.0...v1.10.0

Don't miss a new sherif release

NewReleases is sending notifications on new releases.