From d3c4210ea08605b41331eb42313279720e9f82ec Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 28 Feb 2020 18:34:59 -0500 Subject: [PATCH] tools: enable default-case-last lint rule PR-URL: https://github.com/nodejs/node/pull/31400 Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat Reviewed-By: Rich Trott --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 59d585b9d355bd..2e3b55b0dfde40 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -85,6 +85,7 @@ module.exports = { 'comma-style': 'error', 'computed-property-spacing': 'error', 'constructor-super': 'error', + 'default-case-last': 'error', 'dot-location': ['error', 'property'], 'dot-notation': 'error', 'eol-last': 'error',