Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue with how config overrides get applied (#143)
* Fix an issue with how config overrides get applied Please see #123 for discussion with @simison. * Update getFileList.test.js
- Loading branch information
Showing
11 changed files
with
160 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": "npm-package-json-lint-config-default", | ||
"overrides": [ | ||
{ | ||
"patterns": ["packages/packageOne/**/package.json"], | ||
"rules": { | ||
"license-type": "warning" | ||
} | ||
}, | ||
{ | ||
"patterns": ["packages/packageTwo/**/package.json"], | ||
"rules": { | ||
"license-type": "warning", | ||
"valid-values-author": ["error", ["TC"]] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "npm-package-json-lint-errors", | ||
"version": "0.1.0", | ||
"description": "CLI app for linting package.json files.", | ||
"keywords": [ | ||
"lint" | ||
], | ||
"homepage": "https://github.com/tclindner/npm-package-json-lint", | ||
"author": "Thomas Lindner", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tclindner/npm-package-json-lint" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^2.4.5" | ||
}, | ||
"license": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "npm-package-json-lint-errors", | ||
"version": "0.1.0", | ||
"description": "CLI app for linting package.json files.", | ||
"keywords": [ | ||
"lint" | ||
], | ||
"homepage": "https://github.com/tclindner/npm-package-json-lint", | ||
"author": "Thomas Lindner", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tclindner/npm-package-json-lint" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^2.4.5" | ||
}, | ||
"license": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "npm-package-json-lint-errors", | ||
"version": "0.1.0", | ||
"description": "CLI app for linting package.json files.", | ||
"keywords": [ | ||
"lint" | ||
], | ||
"homepage": "https://github.com/tclindner/npm-package-json-lint", | ||
"author": "Thomas Lindner", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/tclindner/npm-package-json-lint" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^2.4.5" | ||
}, | ||
"license": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters