-
Notifications
You must be signed in to change notification settings - Fork 0
Linters formatting
To make sure my code was easy to read for anyone who views my files, i decided to add a linter to my project
Visual Studio code already comes with one, but a very popular one to add is Stylelint,
Stylelint gives you extra information regarding your html and css' structure and gives you error messages if something doesnt fit the standards.
to get it working, you must first install a plugin into your visual studio code, then the easiest way to get it up and running is to create a .stylelintrc.json file and write your rules into it. for ease, i've decided to get a standard template that has the most common rules in it.
for me, the best formatter to use within Visual Studio Code is beautify, its simple and doesnt change all too much, i already had it installed so i continued using it through this project.