New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

smartlint

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartlint

Tool for lint entire codebase with single CLI command

latest
Source
npmnpm
Version
7.0.7
Version published
Weekly downloads
18
-30.77%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

format

FAQs

Package last updated on 25 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts