This is a basic linter project created with ruby. The Linter is designed to scan the following errors in any inspected document:
- He will return each line in wich you are missing a bracket ('[ ]' - '( )' - '{ }').
- He will return an error if the first line on your file is a blank line.
- He will return an error if the total length on your file (Including blank spaces) is bigger than 100.
- He will return an error if the total length on a single line (Including blank spaces) is bigger than 120.
This project has been developed to accomplish the Ruby module capstone project at Microverse.
Links • Versions • Roadmap • Development guide • Deployment • Contact • Copyright
T. Rowe Price is an independent investment management firm focused on helping clients meet their objectives and achieve their long-term financial goals. Clients rely on our active management approach, which we call strategic investing, and our broad range of equity, fixed income, and multi-asset investment capabilities.
- React.
- Vite.
- Yarn.
- Typescript
- TailwindCss.
- Eslint.
- Prettier.
- Jest.
- Cypress.
- Storybook.
- SizeLimit.
- Commitizen.
- VictoryChart.
- Git.
Run the following command on your local directory.
$ git clone git@github.com:koombea/TRP-web.git
$ yarn install
$ yarn dev
It's recommended to install extensions related to the following libraries in your editor:
Run the following commands to set up Commitizen for pre-commits. This will prevent commits with linting errors.
$ npx commitizen init cz-conventional-changelog --save-dev --save-exact
Every time you want to add a new commit to this project instead of using git commit -m 'commit message'
you can use npx cz
to write commit messages with no lint errors. Additional info and docs can be found here.
Install Ruby on Your Own Machine. Install Git on Your Own Machine.
- Create new folder.
- Open your terminal.
- Run
git clone https://github.com/pipe2442/Linter.git
. - Enter root folder with command
cd Linter
. - Execute the program with command
ruby bin/main
. - You will find an examples folder in wich you can add any file you want to scan with the Linter. You just need to add the file and edit the path on the main.rb file.
👤 Luis Felipe Angulo Torres
- Github: pipe2442
- Twitter: @donCodigo_
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project! 🤝
- [Thanks Microverse][https://github.com/microverseinc]
This project is MIT licensed.