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