meronogbai / microverse-linters-setup

A bash script that lets you install and setup linters quickly for the programming languages used in the Microverse curriculum.

Home Page:https://raw.githubusercontent.com/meronokbay/microverse-linters-setup/main/setup_linters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microverse

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.

screenshot

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.

  1. mkdir -p ~/bin
  2. curl https://raw.githubusercontent.com/meronokbay/microverse-linters-setup/main/setup_linters -o ~/bin/setup_linters
  3. chmod +x ~/bin/setup_linters
  4. 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

  1. cd into your project directory.
  2. Run setup_linters --help to view the available languages.
  3. Run the script with the programming language of your project and you're good to go.

Author

👤 Meron Ogbai

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgements

Microverse Linters Config

📝 License

This project is MIT licensed.

About

A bash script that lets you install and setup linters quickly for the programming languages used in the Microverse curriculum.

https://raw.githubusercontent.com/meronokbay/microverse-linters-setup/main/setup_linters

License:MIT License


Languages

Language:Shell 100.0%