Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/frontend-config / lint-staged.js
Size: Mime:
/**
 * 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'],
};