attilabuti / vscode-mjml

This repo is archived. MJML preview, lint, compile for Visual Studio Code.

Home Page:https://marketplace.visualstudio.com/items?itemName=attilabuti.vscode-mjml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code linting not working

ajitbohra opened this issue · comments

My Environment:

  • Windows 10
  • Visual Studio Code 1.19.1
  • mjml installed globally

Update:
Seems like its working partially, attaching the screenshot of markup.

Improper nesting of section is marked but ending tag for body & mjml not marked

linting

Hello @ajitbohra

MJML CLI:
Line 6 (mj-section) — mj-section cannot be used inside mj-column, only inside: mj-container, mj-wrapper

The issue is most likely related to the MJML. Please report the issue here: https://github.com/mjmlio/mjml/issues.

@attilabuti yes it is appropriate but if you look at line no 11 & 12 linting for the wrong closing tag is not working.

Please run the following command: mjml --validate your_file_name.mjml and after report the issue here: https://github.com/mjmlio/mjml/issues.