Skip to content

Commit

Permalink
Do not ignore library package.json indent issue anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Dec 21, 2017
1 parent 3af7677 commit 20e3d53
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/valid-packages-test.js
Expand Up @@ -216,9 +216,6 @@ packages.map(function (pkg) {
var orig = fs.readFileSync(pkg, 'utf8');
var correct = JSON.stringify(JSON.parse(orig), null, 2) + '\n';
var content = JSON.parse(correct);
if (content.version === undefined) {
return;
}

assert.ok(orig === correct,
pkgName(pkg) + ': package.json wrong indent, please use 2-spaces as indent, remove trailing spaces, you can use our tool: tools/fixFormat.js to fix it for you, here is an example: (Please ignore the first 2 spaces and the wildcard symbol in autoupadte config due to a bug)\n' + correct + '\n');
Expand Down

0 comments on commit 20e3d53

Please sign in to comment.