diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-10 18:09:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-10 18:09:11 +0300 |
commit | d2091d1e924e2887eb9db4fad761965a24d024f1 (patch) | |
tree | 482fe37d97a4169895ae3ddf6d6f42e6f632cbb9 /config/helpers/incremental_webpack_compiler.js | |
parent | 152b3268d701b54cac9b615a0e29e0e5726bfd99 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/helpers/incremental_webpack_compiler.js')
-rw-r--r-- | config/helpers/incremental_webpack_compiler.js | 3 |
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) { |