https://github.com/dhershman1/argulint
Tired of your linter not making you feel like the terrible developer you really are? Welcome.
https://github.com/dhershman1/argulint
cli command-line fun funny insult linter parody
Last synced: 7 months ago
JSON representation
Tired of your linter not making you feel like the terrible developer you really are? Welcome.
- Host: GitHub
- URL: https://github.com/dhershman1/argulint
- Owner: dhershman1
- License: mit
- Created: 2018-08-22T13:14:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T14:13:52.000Z (over 6 years ago)
- Last Synced: 2025-04-17T21:25:36.868Z (10 months ago)
- Topics: cli, command-line, fun, funny, insult, linter, parody
- Language: JavaScript
- Size: 96.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Argulint
Tired of your linter not making you feel like the terrible developer you really are? Welcome.
[](https://github.com/standard/standard)
[Click here to read about contributing](https://github.com/dhershman1/argulint/blob/master/.github/CONTRIBUTING.md)
Argulint is a little linter wrapper that runs the [`standardjs`](https://standardjs.com/) lint process but adds a fun twist to it.
The only goal is to have a little fun with your linting.
## Features
- A simple CLI tool, it's just running [`standardjs`](https://standardjs.com/) under the hood
- Which means it still works with standard options in the `package.json` as well as the `--fix` argument in the CLI
- Re formats the output with _some_ extra organization
- Insults your mistakes for fun
## How To
Intall:
`npm i -D argulint`
Once installed you would use argulint just like you can use the `standardjs` linter via the CLI. It supports the `--fix` flag as well as using the standard options built into your `package.json` file.
Usage example:
`argulint src/place/*.js`
Or with the flag:
`argulint --fix src/place/*.js`
**Note: There is no API this is strictly used within the CLI**
## Generation
Messages are generated in the following format:
```
{insult}
{linting error} {lines} {ending}
```
Where:
- `insult` is the actual picked insult
- `linting error` is the actual error that was found
- `lines` is the line(s) and column(s) of the error in this format: `line:column`
- `ending` is the chosen ending from our endings list
## Example
Example output looks something like this:
```
==============Totals==============
# of Errors: 6 - Alright you're done get out.
# Fixable: 5 - Put me in coach!
==================================
File: /path/to/argulint/tests/index.js
==============Stats==============
# of Errors: 6 - Uh oh!
# Fixable: 5 - I got this.
==================================
You garbage mammal!
Extra semicolon. on line 1:10 I think we're done here
You boner jockey!
Extra semicolon. on line 2:10 Thanks, I hate it
You're a capitalist pig!
Extra semicolon. on line 3:10 [Forced laughing]
Remind me to always bet against you.
Extra semicolon. on line 4:10 This is why I have trust issues
I think you are a general offense and everyone should beat you.
'g' is assigned a value but never used. between line 5:7 and 5:8 ctrl + a + del
Lying, crying, spying, prying ultra-pig!
Extra semicolon. on line 5:13 Thanks, I hate it
```