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 1fe98ef commit 1639356Copy full SHA for 1639356
lib/cli.js
@@ -72,7 +72,8 @@ function parse (source, file) {
72
try {
73
parsed = parser.parse(source, {
74
ignoreComments: options.comments,
75
- allowSingleQuotedStrings: options.singleQuotedStrings
+ allowSingleQuotedStrings: options.singleQuotedStrings,
76
+ limitedErrorInfo: !(options.comments || options.singleQuotedStrings)
77
})
78
if (options.sortKeys) {
79
parsed = sorter.sortObject(parsed)
0 commit comments