Argulint

Tired of your linter not making you feel like the terrible developer you really are? Welcome.

Click here to read about contributing

Argulint is a little linter wrapper that runs the standardjs 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 under the hood

under the hood Which means it still works with standard options in the package.json as well as the --fix argument in the CLI

as well as the 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

is the actual picked insult linting error is the actual error that was found

is the actual error that was found lines is the line(s) and column(s) of the error in this format: line:column

is the line(s) and column(s) of the error in this format: ending is the chosen ending from our endings list

Example

Example output looks something like this: