troubleshootingLinter.md - brainchildservices/curriculum GitHub Wiki

Linting - Analyze and format given code for syntax errors

SLIDE-1

  • Linters
  • Another good option to choose is a so-called Linter application, which not only points out errors, but can also flag up warnings about bad practices in your CSS, and other points besides. Linters can generally be customized to be stricter or more relaxed in their error/warning reporting

  • There are many online linter applications, the best of which are probably,

SLIDE-2

  • These allows you to paste your code into a window, and it will flag up any errors with crosses, which can then be hovered to get an error message informing you what the problem is. Dirty Markup also allows you to make fixes to your markup using the Clean button

    image

SLIDE-3

However, it is not very convenient to have to copy and paste your code over to a web page to check its validity several times. What you really want is a linter that will fit into your standard workflow with the minimum of hassle. Click to Learn More


SLIDE-4

Tasks:-

  1. Learn About how to Use Linters in Code Editors.

  2. Learn how to use linters in VS code. (You can Use this Repo. Troubleshooting Reposittory).

  3. Fix the issues if you have any.