A CSS linter to check for custom warnings and common errors teams face during development.
- Ruby
- A computer with ruby installed.
git clone https://github.com/KabohaJeanMark/linter/
cd linter
bin/main.rb
- Rspec is used to run the tests checking both negative and positive edge cases for the public methods in the LinterCheck class.
- Change directory into the main project directory and run the rspec command.
cd linter
rspec
- git clone this repo to your local machine and navigate (cd ) to the top directory containing the main.rb file
- run the following command
ruby bin/main.rb
- It shows all of the linter checks being executed on a file.
- The user is then prompted to check another file by typing in 'csslint'
csslint
- The user is prompted to input 'read' to view a file with no errors
read
This table shows the different CSS files side by side showing the errors and how to easily prevent making the same mistakes with a fun spot the difference game :)
CSS file without errors | CSS file with errors |
---|---|
👤 Kaboha Jean Mark
- GitHub: @githubhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to Microverse.
This project is MIT licensed.