From e4c7b24d50895fa9bbd53004ecf66bb7736ebe03 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Thu, 3 Oct 2024 09:30:36 +0100 Subject: [PATCH] chore: warn on switch with fall through (#25355) --- plugin-server/.eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-server/.eslintrc.js b/plugin-server/.eslintrc.js index 8254eee22d8..697443f6478 100644 --- a/plugin-server/.eslintrc.js +++ b/plugin-server/.eslintrc.js @@ -35,6 +35,7 @@ module.exports = { '@typescript-eslint/no-floating-promises': 'error', '@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }], curly: 'error', + 'no-fallthrough': 'warn', }, overrides: [ {