diff --git a/.eslintrc.js b/.eslintrc.js index 174ae300d..efcb0be86 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -105,6 +105,7 @@ module.exports = { 'no-compare-neg-zero': 'error', 'no-cond-assign': 'error', 'no-confusing-arrow': 'off', + 'no-console': 'error', 'no-const-assign': 'error', 'no-constant-condition': 'error', 'no-control-regex': 'error', diff --git a/__tests__/perf/bench.mjs b/__tests__/perf/bench.mjs index 2d57f1bfe..e85ff3f1e 100644 --- a/__tests__/perf/bench.mjs +++ b/__tests__/perf/bench.mjs @@ -13,6 +13,7 @@ suite ) }) .on('cycle', event => { + // eslint-disable-next-line no-console console.log(String(event.target)) }) .run() diff --git a/src/utils/fsHelper.ts b/src/utils/fsHelper.ts index b7381a04a..c666fd186 100644 --- a/src/utils/fsHelper.ts +++ b/src/utils/fsHelper.ts @@ -44,7 +44,6 @@ export const copyFiles = async (config: Config, src: string) => { } } catch (e) { /* empty */ - console.log(e) } }