Skip to content

Latest commit

 

History

History

smartlint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

smartlint

Tool for lint entire codebase with single CLI command

Deprecated

This package deprecated and recommend use of smartlint-unix package

Installation

npm install smartlint --save-dev
# or
yarn add smartlint -D

Prepare

Markdown

  • Install dprint locally as dev-dependencies
  • Run dprint init or follow this guide
  • Follow this guide

Dependencies

These dependencies are comes built-in and you have no requirement to install these

For more information about each dependencies, click to dependecy link to learn about configs, features and how they work

Peer dependencies

For working properly, you may need one or all of these dependencies.

For more information about each dependencies, click to dependecy link to learn about configs, features and how they work

* - These packages may contain security issues

Usage

yarn smartlint --linters=eslint,prettier .

Arguments

--linters

Linters to run

Type: String

Allowed values:

'lslint' | 'eslint' | 'stylelint' | 'markdown' | 'jsonymllint' | 'biome' | 'prettier' | 'dockerfile'

Default:

['lslint', 'eslint', 'markdownlint', 'jsonymllint', 'biome'];

Example: yarn smartlint --linters=eslint,stylelint .

You can change order of linting if you need

License

MIT