summaryrefslogtreecommitdiff
path: root/config/helpers/incremental_webpack_compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/helpers/incremental_webpack_compiler.js')
-rw-r--r--config/helpers/incremental_webpack_compiler.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/helpers/incremental_webpack_compiler.js b/config/helpers/incremental_webpack_compiler.js
index 786bb6071fa..5d4f9bd040d 100644
--- a/config/helpers/incremental_webpack_compiler.js
+++ b/config/helpers/incremental_webpack_compiler.js
@@ -1,3 +1,4 @@
+/* eslint-disable max-classes-per-file, no-underscore-dangle */
const fs = require('fs');
const path = require('path');
@@ -7,6 +8,7 @@ const log = (msg, ...rest) => console.log(`IncrementalWebpackCompiler: ${msg}`,
// Five seconds seem to work fine and the user can read the message
const TIMEOUT = 5000;
+/* eslint-disable class-methods-use-this */
class NoopCompiler {
constructor() {
this.enabled = false;
@@ -20,6 +22,7 @@ class NoopCompiler {
setupMiddleware() {}
}
+/* eslint-enable class-methods-use-this */
class IncrementalWebpackCompiler {
constructor(historyFilePath) {