Skip to content

Commit

Permalink
Add repository.directory rule to npm-package-json-lint-config (fix Wo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Mar 1, 2019
1 parent 8ddfa58 commit 3c725a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
}
],
"require-publishConfig": "error",
"require-repository-directory": "off",
"valid-values-author": [
"error",
[
Expand Down
1 change: 1 addition & 0 deletions packages/npm-package-json-lint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const defaultConfig = {
'require-private': 'off',
'require-publishConfig': 'off',
'require-repository': 'error',
'require-repository-directory': 'error',
'require-scripts': 'off',
'require-version': 'error',
'scripts-type': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/npm-package-json-lint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"main": "index.js",
"peerDependencies": {
"npm-package-json-lint": ">=3.3.1"
"npm-package-json-lint": ">=3.6.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"eslint": "^5.12.1",
"jest": "^24.1.0",
"jest-puppeteer": "^4.0.0",
"npm-package-json-lint": "^3.3.1",
"npm-package-json-lint": "^3.6.0",
"puppeteer": "1.6.1",
"read-pkg-up": "^1.0.1",
"resolve-bin": "^0.4.0",
Expand Down

0 comments on commit 3c725a0

Please sign in to comment.