Repository URL to install this package:
|
Version:
3.5.0-rc.0 ▾
|
@doodle/frontend-config
/
husky.js
|
|---|
/**
* This is the default Husky configuration.
* Note: changes to this file affect all projects that depend on it.
*
* How to use:
* Create a .huskyrc.js file in your project and extend this configuration as
* shown in the following example.
*
* @see https://github.com/typicode/husky
*
* @example
* // File: web-my-frontend/.huskyrc.js
* const defaultHuskyConfig = require('@doodle/frontend-config/husky');
*
* module.exports = {
* ...defaultHuskyConfig,
* // custom overrides
* };
*
*/
module.exports = {
hooks: {
'pre-commit': 'lint-staged',
},
};