0.1.0 • Published 1 year ago

smartlint-unix v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

smartlint-unix

Tool for lint entire codebase with single CLI script

Installation

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

Environment variables

NameValue
USE_QUICKLINTSet or unset

Prepare

Markdown

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

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:

'ls-lint' | 'eslint' | 'stylelint' | 'markdown' | 'jsonymllint' | 'biome' | 'prettier' | 'dockerfile' | 'htmlhint'

Default:

['ls-lint', 'eslint', 'markdown', 'biome'];

Example: smartlint --linters=eslint,stylelint .

You can change order of linting if you need

License

MIT

0.1.0

1 year ago

0.0.5

1 year ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.1

2 years ago