From c62c95f9767f289217a384b0d3b41a390f4ca5f4 Mon Sep 17 00:00:00 2001 From: William Di Pasquale Date: Wed, 16 Dec 2020 12:35:57 +0000 Subject: [PATCH] fix: Update rules * fix: Allow vars to be unused if prefixed with _ * fix: Disable `no-await-in-loop` Closes #22 --- mixins/base.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mixins/base.js b/mixins/base.js index e7d0fd3..c71050b 100644 --- a/mixins/base.js +++ b/mixins/base.js @@ -14,8 +14,12 @@ module.exports = { "import/prefer-default-export": "off", "linebreak-style": "off", "max-len": "off", + "no-await-in-loop": "off", "no-restricted-syntax": "off", - "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], + "no-unused-vars": ["error", { + "argsIgnorePattern": "^_", + "varsIgnorePattern": "^_", + }], "prefer-destructuring": "off", }, };