SharpLinter icon indicating copy to clipboard operation
SharpLinter copied to clipboard

File's global ignore list requires a trailing comma for the last item to be properly ignored

Open JasonKaz opened this issue 10 years ago • 0 comments

Not sure if this is a supported feature since I couldn't find any documentation about it, but I figured I'd try putting a global variable ignore on top of my file since it needs external variables. It turns out that it works, but will only work with all items in the list as long as it ends with a comma. Otherwise it will work with all but the last item.

For example: /global page,langList global/

Outputs: 'langList' is not defined. at character 9

The following will output no errors: /global page,langList, global/

JasonKaz avatar Feb 13 '15 16:02 JasonKaz