/lint

Pre-commit multi-language code linter

Primary LanguageJavaScriptOtherNOASSERTION

Lint.dev Logo


Installation (local)

Install Lint.dev in your devDependencies (recommanded):

$ cd path/to/repository
$ npm install -D lint

NPX

You can use NPX to run Lint.dev commands from inside your repository:

$ npx lint [COMMAND]

To install Lint.dev's git hooks:

$ npx lint install

Installation (global)

You can install Lint.dev globally:

$ npm install -g lint

So you can use it like this:

$ lint [COMMAND]

To install Lint.dev's git hooks:

$ cd path/to/repository
$ lint install

Sign Up

Create your free Lint.dev account:

$ lint signup

Log In

Log in with your existing Lint.dev account:

$ lint login

Version

Print the CLI version:

$ lint version

Help

Print the list of available commands:

$ lint --help

Website

https://lint.dev