From: Kevin Sawicki Date: Tue, 19 Jan 2016 18:21:18 +0000 (-0800) Subject: Clean up no-unreachable lint errors X-Git-Tag: v0.36.5~11^2~11 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=45ddbb6d6790094b322cd95d7c19a8ac9801a95c;p=electron.git Clean up no-unreachable lint errors --- diff --git a/atom/renderer/api/lib/remote.js b/atom/renderer/api/lib/remote.js index c43b52c2..db5862de 100644 --- a/atom/renderer/api/lib/remote.js +++ b/atom/renderer/api/lib/remote.js @@ -111,7 +111,6 @@ var metaToValue = function(meta) { return new Date(meta.value); case 'exception': throw new Error(meta.message + "\n" + meta.stack); - break; default: if (meta.type === 'function') { // A shadow class to represent the remote function object. diff --git a/script/eslintrc-base.json b/script/eslintrc-base.json index 5c9f15eb..b85be99c 100644 --- a/script/eslintrc-base.json +++ b/script/eslintrc-base.json @@ -19,7 +19,6 @@ "linebreak-style": 0, "no-console": 0, "no-undef": 0, - "no-unreachable": 0, "no-unused-vars": 0 }, "env": {