jscodesniffer
jscodesniffer copied to clipboard
Missing a colon in "readme documentation"
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