I have been using this plugin in my jekyll project where I need frontmatter in javascript files. Sample code:
Now eslint will say 'error' is assigned a value but never used. However, the red squiggly line in vscode appears two lines below where the actual error is.
Solution: maybe instead of removing the dashes/frontmatter, commenting these lines could resolve this
I have been using this plugin in my jekyll project where I need frontmatter in javascript files. Sample code:
Now eslint will say 'error' is assigned a value but never used. However, the red squiggly line in vscode appears two lines below where the actual error is.
Solution: maybe instead of removing the dashes/frontmatter, commenting these lines could resolve this