We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46995be commit ecf8414Copy full SHA for ecf8414
index.js
@@ -71,7 +71,7 @@ var jsonLintPlugin = function(options) {
71
var tokens = jsonlint.tokenize(data, parserOptions)
72
// TODO: Support sorting tor the tokenized input too.
73
formatted = printer.print(tokens, {
74
- indent: new Array(options.indent + 1).join(' '),
+ indent: options.indent,
75
pruneComments: options.pruneComments,
76
stripObjectKeys: options.stripObjectKeys
77
}) + '\n'
0 commit comments