specifies how to interpret whitespace which immediately follows a delimiter; if False, it means that whitespace immediately after a delimiter should be treated as part of the following field.
By this definition, the following CSV:
foo,bar, baz, bzz
should parse as follows if skipInitialSpace is true:
["foo", "bar", "baz", "bzz"]
What csvlint's code does is set the delimiter to , (the original delimiter, in this case ,, followed by a space). That parses the CSV as:
By this definition, the following CSV:
should parse as follows if
skipInitialSpace
is true:What csvlint's code does is set the delimiter to
,
(the original delimiter, in this case,
, followed by a space). That parses the CSV as:Which is clearly incorrect.