pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

Option to allow Frontmatter #112

Open Tiliavir opened 8 years ago

Tiliavir commented 8 years ago

Pug allows having metadata in frontmatter/yaml notation (https://github.com/pugjs/pug/issues/1656), but pug-lint is logging errors.

Is there / shouldn't there be a setting to allow this as well?

edwin177 commented 4 years ago

@Tiliavir Did you figure out a workaround?

Tiliavir commented 4 years ago

Nope not for frontmatter unfortunately. I'm using global variables set in the very beginning of each page to describe them as a work around.