Put in order · HTML and CSS course · Module 9: Modern CSS

Setting Up Stylelint in a Project

Arrange the steps of adding Stylelint to a project in the correct order:

Items to put in order

  • Run Stylelint to check the CSS files
  • Install the stylelint package and a config (npm install)
  • Create the .stylelintrc.json file with rules
  • Add a lint:css script in package.json

You can check the correct answer by solving this task in the CodeWorlds game.