Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JasonKaz opened this issue Feb 13, 2015 · 0 comments

Comments

@JasonKaz
Copy link

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
/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant