diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2017-12-13 14:44:57 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-12-18 18:23:22 +0100 |
| commit | d2a472b0aee0822277c1b9ae3b6bba18beb51697 (patch) | |
| tree | 4e1f1c3e0b6421d36d2c6ab159f9adc1b4e33d5d | |
| parent | 98aee2588a0324b64a0f666056b2255d783169f9 (diff) | |
| download | mullvadvpn-d2a472b0aee0822277c1b9ae3b6bba18beb51697.tar.xz mullvadvpn-d2a472b0aee0822277c1b9ae3b6bba18beb51697.zip | |
Disable unused-vars warning for underscored variables
| -rw-r--r-- | .eslintrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,7 +25,11 @@ "comma-dangle": "off", "comma-spacing": "warn", "no-unused-expressions" : "off", // until fixed https://github.com/babel/babel-eslint/issues/158 - "no-unused-vars": ["error", {"args": "all", "argsIgnorePattern": "_.*"}], + "no-unused-vars": ["error", { + "args": "all", + "argsIgnorePattern": "_.*", + "varsIgnorePattern": "_.*" + }], "block-scoped-var": "off", // until fixed https://github.com/eslint/eslint/issues/2253 "react/prop-types": "off", "flowtype/define-flow-type": "warn", |
