solidarity icon indicating copy to clipboard operation
solidarity copied to clipboard

Allow naming rules

Open kevinvangelder opened this issue 7 years ago • 0 comments

In some cases, like React Native, a version command returns versions for more than one thing. If we can put a name on each rule the resulting errors will be more readable and user-friendly.

    "react-native": [
      {
        "rule": "cli",
        "binary": "react-native",
        "semver": "2.0.1",
        "line": 1,
        "name": "React Native CLI"
      },
      {
        "rule": "cli",
        "binary": "react-native",
        "semver": "0.42.0",
        "line": 2,
        "name": "React Native"
      }
    ]

kevinvangelder avatar Oct 26 '17 02:10 kevinvangelder