From 8fefc226697b82c3fedd4a2041ce73cb59bfc243 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 22 Nov 2021 10:36:49 -0500 Subject: [PATCH] Add eslint rule for empty functions --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 19ccd168df..fa7afae712 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -42,6 +42,7 @@ module.exports = { 'jsx-quotes': ['error', 'prefer-single'], 'keyword-spacing': ['error'], 'max-statements-per-line': ['error'], + 'no-empty-function': ['error'], 'no-floating-decimal': ['error'], 'no-multi-spaces': ['error'], 'no-multiple-empty-lines': ['error', { 'max': 1 }],