Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 470 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 470 Bytes

@linter/cli

This is the CLI for @linter.

Installation

You will need to install the cli and providers for the linting/formatting tools you wanna use.

npm i -D @linter/cli @linter/provider-eslint @linter/provider-prettier eslint prettier ...

Usage

linter [options] [globs..]

// Lint all files in project
linter

// Lint files matched by globs
linter "src/**/*.{js,ts}" "config/**/*.json"

// Format all files in project
linter --fix