diff --git a/.eslintrc.js b/.eslintrc.js index adca9f333..569d6056b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -57,6 +57,7 @@ module.exports = { 'no-loop-func': 'error', 'no-nested-ternary': 'error', 'no-plusplus': ['error', { 'allowForLoopAfterthoughts': true }], + 'no-process-exit': 'error', 'no-prototype-builtins': 'error', 'no-useless-catch': 'error', 'no-useless-concat': 'error', @@ -143,6 +144,15 @@ module.exports = { // Mocha will re-assign `this` in a test context 'babel/no-invalid-this': 'off', }, + }, { + files: [ + 'development/**/*.js', + 'test/e2e/benchmark.js', + 'test/helper.js', + ], + rules: { + 'no-process-exit': 'off', + }, }], settings: {