question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for "disable next line check"

See original GitHub issue

Hi all, great tool!

I am Using VS code 1.26.1

In a typescript file I have code like this

const Css = html`

<style>
/* would like to disable the ts-styled-plugin check for the next line */
bla bla bla
</style>`;

It would be cool to have ts-styled plugin not check the line with the text “bla bla bla”.

Is it possible to have something like /* ts-styled-plugin:disable-next-line */ which will disable the check ? Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
mjbvzcommented, Sep 11, 2018

Out of scope for this extension. You can disable validation entirely however as described here: https://github.com/Microsoft/typescript-styled-plugin#linting

4reactions
sbuschcommented, Oct 1, 2019

@hen42 why is this out of scope?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turning off eslint rule for a specific line - Stack Overflow
To disable next line: // eslint-disable-next-line no-use-before-define var thing = new Thing();. Or use the single line syntax:
Read more >
Ability to disable cop for next line · Issue #9505 - GitHub
Disabling a rule in a block using rubocop:disable and rubocop:enable . This could be cumbersome if I want to disable for a single...
Read more >
Disability Information and Access Line | ACL Administration for ...
An Easy Way to Get Connected to the Services You Need​​ The Disability Information and Access Line (DIAL) helps people with disabilities get ......
Read more >
Veterans Affairs: VA.gov Home
Disability · Check your claim or appeal status · View your payment history · Upload evidence to support your claim · File for...
Read more >
Disabling and enabling inspections - PhpStorm - JetBrains
Suppress an inspection in the editor ... Click the arrow next to the inspection you want to suppress, and select the necessary suppress...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found