Skip to content

Ignore Jekyll wrapping in JS files #6642

Open
@SeanKilleen

Description

@SeanKilleen

Description of the false positive

In some cases in Jekyll projects, a JS file may still receive a front-matter heading, which would look incorrect (and to just a JS parser, would indeed be incorrect.) But in this case, I believe the front-matter is necessary.

URL to the alert on the project page on LGTM.com

https://lgtm.com/projects/g/mmistakes/minimal-mistakes/snapshot/2d5eb9fb06827645b4bf5d55d96584353159dff0/files/assets/js/lunr/lunr-gr.js?sort=name&dir=ASC&mode=heatmap#x5ea38509661d9a53:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    JSacknowledgedGitHub staff acknowledges this issueenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions