spire-plugin-lint-staged
lint-staged plugin for Spire.
Hooks
-
setup
Prepares lint-staged arguments. -
precommit
Runs lint-staged.
Options
-
Plugin
['spire-plugin-lint-staged', options]
-
lintStagedConfig
<string> lint-staged configuration. Defaults to./config.js
. -
allowCustomConfig
<boolean> Whether to allow user-provided config. If this option isfalse
and there's custom lint-staged config found it will throw an error. Defaults totrue
.
-