Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Add support for HTML linting / validation at build time #35

Open
thescientist13 opened this issue Jun 1, 2018 · 1 comment
Open

Add support for HTML linting / validation at build time #35

thescientist13 opened this issue Jun 1, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request JavaScript question Further information is requested

Comments

@thescientist13
Copy link
Member

A nice feature of JSX / React / ESLint was that if an HTML tag was missing it's closing tag (for example) a linting error could be raised, ex.

 @ ./.cache/sync-requires.js 30:67-185

 WAIT  Compiling...                                                                                                                 10:17:16

 ERROR  Failed to compile with 1 errors                                                                                             10:17:17

 error  in ./src/pages/blog/2018/06/01/index.jsx

Syntax Error: Expected corresponding JSX closing tag for <p> (24:8)

  22 |             we would be happy to have you join the convesation<p>
  23 |
> 24 |         </div>
     |         ^
  25 |       </BlogPost>
  26 |     );
  27 |   }



 @ ./.cache/sync-requires.js 30:67-185

Opened a corresponding issue over in lit-html

@thescientist13 thescientist13 added enhancement New feature or request JavaScript question Further information is requested labels Jun 1, 2018
@thescientist13
Copy link
Member Author

moved to polymer/tools

@thescientist13 thescientist13 self-assigned this Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request JavaScript question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant