microverse-linters-setup
microverse-linters-setup copied to clipboard
A bash script that lets you install and setup linters quickly for the programming languages used in the Microverse curriculum.
Microverse Linters Setup
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 |
Dependencies
If you're on Linux or macOS, you should have these pre-installed by default.
- bash
- curl
Install
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://raw.githubusercontent.com/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
.
Update
Run the second and third commands in the install section.
Usage
-
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.
Author
👤 Meron Ogbai
- Github: @meronokbay
- Twitter: @MeronDev
- Linkedin: Meron Ogbai
🤝 Contributing
Contributions, issues, and feature requests are welcome!
Show your support
Give a ⭐️ if you like this project!
Acknowledgements
📝 License
This project is MIT licensed.