jscodesniffer icon indicating copy to clipboard operation
jscodesniffer copied to clipboard

Missing a colon in "readme documentation"

Open leamarty opened this issue 9 years ago • 0 comments

In the readme.me file (https://github.com/dsheiko/jscodesniffer/blob/master/README.md), under "Declaring coding style", there is an example file.

Well, there is a colon missing in the "ParametersSpacing" option, in the 4th line of the "lastParam":

        "lastParam": {
          "for": [ "Identifier" ],
          "allowParamPrecedingWhitespaces": 1
          "allowParamTrailingWhitespaces": 0
        }

Should be:

        "lastParam": {
          "for": [ "Identifier" ],
          "allowParamPrecedingWhitespaces": 1,
          "allowParamTrailingWhitespaces": 0
        }

Thanks

leamarty avatar Sep 21 '15 20:09 leamarty