Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-02-29 02:34:59 +0300
committerAnna Henningsen <anna@addaleax.net>2020-03-11 18:42:41 +0300
commitb4ca247ee1bf38f5080e59de951b6217a97590ae (patch)
tree74037b150d26a970f13b7e41ee11c3a067f5c2b2 /.eslintrc.js
parent6712e4a4279c04a87b0f9fc6c0dead4b12bd1c3d (diff)
tools: enable default-case-last lint rule
PR-URL: https://github.com/nodejs/node/pull/31400 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 59d585b9d35..2e3b55b0dfd 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',