From 23404f95acdf9310a4b513c233f9a6a2f64a2559 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sun, 16 Oct 2016 21:46:02 -0700 Subject: [PATCH] Quote all JSON keys for consistency. --- README.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 401b7399..1d21710e 100644 --- a/README.md +++ b/README.md @@ -371,8 +371,8 @@ Output: { "good.md": {}, "bad.md": { - MD010: [ 3 ], - MD018: [ 1, 3 ] + "MD010": [ 3 ], + "MD018": [ 1, 3 ] } } ``` @@ -403,24 +403,24 @@ And the `result` object becomes: { "good.md": [], "bad.md": [ - { lineNumber: 3, - ruleName: "MD010", - ruleAlias: "no-hard-tabs", - ruleDescription: "Hard tabs", - errorDetail: "Column: 17", - errorContext: null }, - { lineNumber: 1, - ruleName: "MD018", - ruleAlias: "no-missing-space-atx", - ruleDescription: "No space after hash on atx style header", - errorDetail: null, - errorContext: "#bad.md" }, - { lineNumber: 3, - ruleName: "MD018", - ruleAlias: "no-missing-space-atx", - ruleDescription: "No space after hash on atx style header", - errorDetail: null, - errorContext: "#This file fails\tsome rules." } + { "lineNumber": 3, + "ruleName": "MD010", + "ruleAlias": "no-hard-tabs", + "ruleDescription": "Hard tabs", + "errorDetail": "Column: 17", + "errorContext": null }, + { "lineNumber": 1, + "ruleName": "MD018", + "ruleAlias": "no-missing-space-atx", + "ruleDescription": "No space after hash on atx style header", + "errorDetail": null, + "errorContext": "#bad.md" }, + { "lineNumber": 3, + "ruleName": "MD018", + "ruleAlias": "no-missing-space-atx", + "ruleDescription": "No space after hash on atx style header", + "errorDetail": null, + "errorContext": "#This file fails\tsome rules." } ] } ```