smartlint
TypeScript icon, indicating that this package has built-in type declarations

6.0.9 • Public • Published

smartlint

Tool for lint entire codebase with single CLI command

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

Readme

Keywords

Package Sidebar

Install

npm i smartlint

Weekly Downloads

31

Version

6.0.9

License

MIT

Unpacked Size

7.26 kB

Total Files

6

Last publish

Collaborators

  • dalisoft