Skip to content

Latest commit

 

History

History
executable file
·
93 lines (54 loc) · 2.75 KB

README.md

File metadata and controls

executable file
·
93 lines (54 loc) · 2.75 KB

Linter for CSS

This project was mainly around creating a linter that will check for comments, missing semicolons at the end of every line and also checking for the initial period to designate a class it displays the information back to the user where the mistake is showing if the line has commented code as well.

screenshot

Additional description about the project and its features.

Built With

  • Ruby
  • RSpec gem
  • Colorize gem
  • VS Code

Getting Started

To get a local copy up and running follow these simple example steps.

  • For starters you are going to need to clone the repo by clicking on the green button on top right corner that says "code" screenshot

  • Then you can open your terminal and type git clone + the link you got from clicking the button clone screenshot

  • Once you get a copy of the repo you have to navigate into the folder you cloned screenshot

  • You will need to run a few commands before you get to test it but don't worry just follow the instructions step by step

  • When the require gems are finally installed you can choose to open the project with any Code Editor of your choice.

Prerequisites

  • You will need Ruby installed in your machine

screenshot

  • You will need need a Code Editor

Install

  • You will need to install a few gems to run the project but here are the step by step instructions
  • Please run this in your terminal bundle install. This will install all of the dependecies for the project screenshot

Usage

  • In order to use the program you will need to provide the css file you want to evaluate please type this command

  • ruby bin/main.rb {filename} without the curly braces and just replace filename for the file you want to test screenshot

  • Now this are the examples of good practice vs bad practice so you can have an idea of what the program is evaluating

  • Bad Practice

screenshot

  • Good Practice

screenshot

Run tests

  • In order to run the RSpec you will need to type the following command in your terminal rspec

screenshot

Authors

👤 Devkc

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!