Skip to content

Instantly share code, notes, and snippets.

@bibz
Created May 11, 2020 10:36
Show Gist options
  • Save bibz/b8c9888ce575ee2c692ed24e0ad4ba0e to your computer and use it in GitHub Desktop.
Save bibz/b8c9888ce575ee2c692ed24e0ad4ba0e to your computer and use it in GitHub Desktop.
nitpick fails to catch mismatching package.json dev. dependencies
[nitpick.JSONFile]
file_names = ["package.json"]
["package.json".contains_json]
devDependencies = """
{
"semantic-release": "^15.13.0"
}
"""
{
"license": "Apache-2.0",
"private": true,
"version": "0.0.0",
"devDependencies": {
"semantic-release": "^15.14.0"
}
}
[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
nitpick = "^0.22.1"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment