Skip to content

rohitdhas/shittier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 

Repository files navigation

๐Ÿ’ฉ Shittier

Shittier is a code formatting tool that aims to make your code look as terrible as possible. It is the exact opposite of popular tools like Prettier, which focus on improving code formatting and readability. Shittier embraces chaos, messiness, and confusion, making your code look shittier than ever before.

๐ŸŒŸ Features

  • Random Indentation: Shittier will randomly add inconsistent indentation throughout your code. Say goodbye to neatly aligned blocks of code!
  • Mixed Case Madness: Shittier loves to randomly mix uppercase and lowercase letters in variable names, function names, and even keywords. Who needs consistency, right?
  • Spacing Nightmares: Shittier will mess up your spacing by randomly adding or removing extra spaces, tabs, or line breaks. Enjoy deciphering a code jungle!
  • Incoherent Line Lengths: Shittier doesn't care about line length limits. It will create excessively long or hilariously short lines, making your code look like a never-ending or chopped-up mess.
  • Creative Comment Chaos: Shittier will insert random comments that have nothing to do with your code, often containing sarcastic or nonsensical remarks. Who doesn't enjoy a good laugh while debugging?

๐Ÿ“ฅ๏ธ Installation

To install Shittier, follow these steps:

  1. Make sure you have Node.js installed on your machine.
  2. Open a terminal and run the following command:
    npm install -g shittier
    

๐Ÿš€ Usage

After installing Shittier, you can run it on your codebase by executing the following command in your project's root directory:

shittier [options] [directory/file]

Options

  • -h, --help: Displays help information about Shittier and its available options.
  • -v, --version: Shows the installed version of Shittier.
  • -f, --force: Forces Shittier to overwrite files even if they have unsaved changes.

Examples

  • Format a single file:

    shittier myfile.js
    
  • Format an entire directory:

    shittier mydirectory/
    
  • Force overwrite of files with unsaved changes:

    shittier -f myfile.js
    

๐Ÿšฟ Un-shittifying

If you've had enough of the chaos and want to reset your code back to its original state, Shittier provides a handy un-shittifying feature. This feature will undo the shittifying changes made by Shittier and restore your code to its initial format.

To un-shittify your code, Run the un-shittifying command: Open a terminal in your project's root directory and execute the following command:

shittier unshittify [options] [directory/file]

The unshittify command will reverse the shittifying changes made by Shittier and restore your code to its original format.

๐Ÿค Contribution

Contributions to Shittier are more than welcome! If you have ideas for new shitty features, feel free to open an issue or submit a pull request on the GitHub repository. Please adhere to the existing code style, or rather, lack thereof.

โš ๏ธ Disclaimer

Shittier is a purely satirical project created for fun and entertainment purposes. It is not intended for use in any serious development environment. Using Shittier on production code may result in confusion, frustration, and a lot of head-scratching. Use it responsibly and at your own risk.


Enjoy the chaos and let Shittier transform your perfectly fine code into an unrecognizable mess! Remember, sometimes it's good to embrace the dark side of code formatting. Happy shittifying!