Skip to content

lint-staged

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • lint-staged

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"lint-staged": {
"config": [
"package.json",
"package.yaml",
"package.yml",
".lint-stagedrc",
".config/lint-stagedrc",
".lint-stagedrc.{json,js,cjs,mjs}",
"lint-staged.config.{js,cjs,mjs}",
".config/lint-stagedrc.{json,js,cjs,mjs}",
".lintstagedrc",
".config/lintstagedrc",
".lintstagedrc.{json,js,cjs,mjs}",
"lintstaged.config.{js,cjs,mjs}",
".config/lintstagedrc.{json,js,cjs,mjs}"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details.

ISC License © 2024 Lars Kappert