Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sublime plugin and script tags in html #526

Closed
ncrawlins opened this issue May 19, 2016 · 1 comment

Comments

@ncrawlins
Copy link

commented May 19, 2016

If the script tag is indented, is there a way to get standard to not complain about the space before the closing script tag?

  <script>
    console.log('hello')
  </script>

this will give the error for trailing spaces not allowed as well as no newline at and of file, but if I don't indent the closing script tag, it's fine, but my OCD hates having script tags nested in other tags not be indented.

is there a way to suppress that error without having to add an ignore rule to every script tag block?

@feross

This comment has been minimized.

Copy link
Member

commented May 19, 2016

Yeah, I've run into this before too because I use Sublime Text. But this is really an issue for SublimeLinter-contrib-standard. Can you open this issue there?

@feross feross closed this May 19, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.