lib/lint-dirty-modules-plugin.js
function LintDirtyModulesPlugin(compiler, options) {
  this.startTime = Date.now();
  this.prevTimestamps = {};
  this.isFirstRun = true;
  this.compiler = compiler;
  this.options = options;

  // bind(this) is here to prevent context overriding by webpack
  compiler.plugin('emit', this.lint.bind(this));
}
function LintDirtyModulesPlugin(compiler, options) {
  this.startTime = Date.now();
  this.prevTimestamps = {};
  this.isFirstRun = true;
  this.compiler = compiler;
  this.options = options;

  // bind(this) is here to prevent context overriding by webpack
  compiler.plugin('emit', this.lint.bind(this));
}
function LintDirtyModulesPlugin ( compiler , options ) { this . startTime = Date . now ( ) ; this . prevTimestamps = { } ; this . isFirstRun = true ; this . compiler = compiler ; this . options = options ; // bind(this) is here to prevent context overriding by webpack compiler . plugin ( 'emit' , this . lint . bind ( this ) ) ; }
Binds callback with provided options and stores initial values.

@param compiler - webpack compiler object
@param options - stylelint nodejs options
Binds callback with provided options and stores initial values .