lint-staged (.lintstagedrc)
lint-staged config
| Type | advancedConfig | basicConfig |
|---|---|
| File match |
.lintstagedrc
.lintstagedrc.json
.lintstagedrc.yaml
.lintstagedrc.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/lint-staged-lintstagedrc/latest.json |
| Source | https://www.schemastore.org/lintstagedrc.schema.json |
Validate with Lintel
npx @lintel/lintel check
Any of
Definitions
keys (String) are glob patterns, values (Array
micromatch options to customize how glob patterns match files.
Controls if linters are run simultaneously for each glob pattern.
Max allowed chunk size based on number of files for glob pattern. This option is only applicable on Windows based systems to avoid command length limitations
micromatch options to customize how glob patterns match files.
2 nested properties
keys (String) are glob patterns, values (Array
array of glob patterns to entirely ignore from any task.
Controls concurrency for processing chunks generated for each linter. This option is only applicable on Windows. Execution is not concurrent by default.
If true it will give the relative path from your package.json directory to your linter arguments.