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

pug-lint bugs #407

Open
brianhelba opened this issue May 10, 2017 · 0 comments
Open

pug-lint bugs #407

brianhelba opened this issue May 10, 2017 · 0 comments

Comments

@brianhelba
Copy link
Member

Girder's .pug-lintrc file enables the rules requireLowerCaseTags and validateAttributeSeparator, but both have buggy behavior.

  • requireLowerCaseTags fails with our use of SVG definitions elements. This is a known issue upstream: Add support of Array of allowed uppercase tags for requireLowerCaseAttributes  pugjs/pug-lint#108
  • validateAttributeSeparator is bugged when using multiLineSeparator. First, the tokenizer is buggy, causing unexpected matching of additional indentation whitespace. Second, the multiLineSeparator argument needs to take a RegEx, in order to accommodate variable spacing due to indentation.

To fully resolve this issue:

  • the bugs must be fixed upstream
  • upstream pug-lint must make a new release
  • Girder must upgrade to the new release
  • this plugin must upgrade to the new Girder
  • the commit 42d1adf must be reverted
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