Skip to content

Commit

Permalink
Chore: Fix issues related to Node 12 becoming LTS (#18054)
Browse files Browse the repository at this point in the history
* Chore: Fix issues related to Node 12 becoming LTS

* Include the root package.json file in the linting
This commit also moves the npm-package-json-lint config to the standalone file.

* Add changelog entries to @wordpress/scripts package
  • Loading branch information
gziolo committed Oct 22, 2019
1 parent 4df25af commit a2856b1
Show file tree
Hide file tree
Showing 6 changed files with 1,389 additions and 1,403 deletions.
39 changes: 39 additions & 0 deletions .npmpackagejsonlintrc.json
@@ -0,0 +1,39 @@
{
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"description-format": [
"error",
{
"requireCapitalFirstLetter": true,
"requireEndingPeriod": true
}
],
"prefer-no-devDependencies": "error",
"require-publishConfig": "error",
"require-repository-directory": "error",
"valid-values-author": [
"error",
[
"The WordPress Contributors"
]
],
"valid-values-publishConfig": [
"error",
[
{
"access": "public"
}
]
]
},
"overrides": [
{
"patterns": [ "./package.json" ],
"rules": {
"require-publishConfig": "off",
"require-repository-directory": "off",
"prefer-no-devDependencies": "off"
}
}
]
}

0 comments on commit a2856b1

Please sign in to comment.