hunk.code_window:   }
     get basePath() { return this._basePath; }
     get compilation() { return this._compilation; }
     get compilerHost() { return this._compilerHost; }
     get compilerOptions() { return this._compilerOptions; }
  
hunk.labels: keep add keep keep keep keep
hunk.after_edit:   get options() { return this._options; }
  
hunk.file_path: packages/@ngtools/webpack/src/plugin.ts
hunk.type: add
file: import { ng } from '../../utils/process';
  import { writeFile } from '../../utils/fs';
  import { oneLine } from 'common-tags';
  
  export default function () {
    const fileName = 'src/app/foo.ts';
  
    return Promise.resolve()
      .then(() => ng('set', 'lint.0.exclude', '"**/foo.ts"'))
      .then(() => writeFile(fileName, 'const foo = "";\n'))
      .then(() => ng('lint'))
      .then((output) => {
        if (!output.match(/All files pass linting\./)) {
          throw new Error(oneLine`
            Expected to match "All files pass linting."
            in ${output}.
          `);
        }
      });
  }
  