From 8d46dbd3115993517e6ac0356426f627bae421bd Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 2 Feb 2022 22:35:51 -0800 Subject: [PATCH] tools: enable no-empty ESLint rule Refs: https://eslint.org/docs/rules/no-empty --- .eslintrc.js | 1 - benchmark/.eslintrc.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 24c62e79502f4e..da17fd47acd4b9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -295,7 +295,6 @@ module.exports = { 'valid-typeof': ['error', { requireStringLiterals: true }], // ESLint recommended rules that we disable - 'no-empty': 'off', 'no-inner-declarations': 'off', // JSDoc recommended rules that we disable diff --git a/benchmark/.eslintrc.yaml b/benchmark/.eslintrc.yaml index d7c59654fbe46d..6871299adece7b 100644 --- a/benchmark/.eslintrc.yaml +++ b/benchmark/.eslintrc.yaml @@ -5,6 +5,5 @@ env: es6: true rules: - no-empty: error no-var: error prefer-arrow-callback: error