diff --git a/.eslintrc b/.eslintrc index 09f051f..80fa6bf 100644 --- a/.eslintrc +++ b/.eslintrc @@ -58,7 +58,8 @@ "no-trailing-spaces": ["warn"], "no-undef": ["error"], "no-unexpected-multiline": ["warn"], - "no-unused-vars": ["warn", {"caughtErrors":"all", "caughtErrorsIgnorePattern": "^unused($|[A-Z].*$)"}], + "no-unreachable": ["warn"], + "no-unused-vars": ["warn", {"caughtErrors":"all", "caughtErrorsIgnorePattern": "^unused($|[A-Z].*$)", "argsIgnorePattern": "^unused($|[A-Z].*$)", "varsIgnorePattern": "^unused($|[A-Z].*$)" }], "no-use-before-define": ["error", {"functions":false}], "one-var": ["warn", "never"], "quotes": ["warn", "single", {"avoidEscape":false, "allowTemplateLiterals":true}], diff --git a/.travis.yml b/.travis.yml index f240d06..3d4b29b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,3 @@ branches: notifications: email: - ci@sailsjs.com -