diff options
author | cjihrig <cjihrig@gmail.com> | 2020-02-29 02:34:59 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-11 18:42:41 +0300 |
commit | b4ca247ee1bf38f5080e59de951b6217a97590ae (patch) | |
tree | 74037b150d26a970f13b7e41ee11c3a067f5c2b2 /.eslintrc.js | |
parent | 6712e4a4279c04a87b0f9fc6c0dead4b12bd1c3d (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.js | 1 |
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', |