README
smartlint
Tool for lint entire codebase with single CLI command
Installation
npm install smartlint --save-dev
# or
yarn add smartlint -D
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' | 'markdownlint' |
'jsonymllint' | 'prettier' | 'dockerfile'
Default:
['lslint', 'eslint', 'markdownlint', 'jsonymllint', 'prettier'];
Example: yarn smartlint --linters=eslint,stylelint .
You can change order of linting if you need
License
MIT