2

I'm using visual code and It really annoying to see the red dashed line on each sentence because whitespace or tslint qoutemark. I tried to install typescript globally but nothing changed. how can i disable it? enter image description here

2
  • You're typing sentences into a TypeScript file? Commented Aug 22, 2017 at 21:02
  • Yes. I edited my post you can see the photo Commented Aug 22, 2017 at 21:07

2 Answers 2

2

To get rid of all TSLint errors, uninstall or disable the TSLint extension.

enter image description here

In other words, open the Extensions view, search for tslint, click on the gear icon, and then choose the appropriate selection.

Sign up to request clarification or add additional context in comments.

Comments

1

You have 3 options here:

  • Disable the rules -> Put the cursor on the error, and click the lamp on the gutter.
  • Change the rules -> Edit your tslint.json
  • Follow the rules -> Best! Click Ctrl-. for auto fix.

2 Comments

Option 2 - how i change the rules?
Added a link to the tslint config.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.