Statements (53)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Library
|
gptkbp:bfsLayer |
5
|
gptkbp:bfsParent |
gptkb:Vite
|
gptkbp:author |
gptkb:Tomasz_Okon
|
gptkbp:command_structure |
gptkb:lint-staged
|
gptkbp:community |
open-source community
|
gptkbp:contribution |
improves code quality
|
gptkbp:dependency |
gptkb:eslint
gptkb:stylelint prettier |
gptkbp:example |
"*.css": ["stylelint --fix"]
"*.js": ["eslint --fix"] "*.md": ["prettier --write"] |
gptkbp:features |
configurable via CLI
provides a simple API can be integrated with CI/ CD can be used in monorepos can be used with Bitbucket Pipelines can be used with CI tools can be used with Docker can be used with Git Hub Actions can be used with Git Lab CI can be used with Type Script can be used with Yarn can be used with any linter can be used with various editors can run multiple commands provides error reporting provides hooks for Git provides performance improvements supports custom error messages supports custom scripts supports glob patterns supports multiple file types supports npm scripts supports pre-commit and pre-push hooks can be used with hooks in other version control systems |
gptkbp:has_documentation |
https://lint-staged.js.org/docs/
|
https://www.w3.org/2000/01/rdf-schema#label |
Lint-staged
|
gptkbp:input_output |
only modified files are linted
|
gptkbp:installation |
npm install lint-staged --save-dev
|
gptkbp:integrates_with |
works with Husky
|
gptkbp:language |
gptkb:Library
|
gptkbp:latest_version |
12.0.0
|
gptkbp:license |
gptkb:MIT
|
gptkbp:platform |
cross-platform
|
gptkbp:purpose |
run linters on pre-committed files
|
gptkbp:release_date |
2017-06-01
|
gptkbp:repository |
https://github.com/okonet/lint-staged
|
gptkbp:setting |
.lintstagedrc
configured in package.json |
gptkbp:supports |
multiple linters
|
gptkbp:uses |
used in Git pre-commit hooks
|