Skip to content

Commit

Permalink
fix: Update rules
Browse files Browse the repository at this point in the history
* fix: Allow vars to be unused if prefixed with _
* fix: Disable `no-await-in-loop`

Closes #22
  • Loading branch information
dipasqualew authored Dec 16, 2020
1 parent dbf1517 commit c62c95f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mixins/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
};

0 comments on commit c62c95f

Please sign in to comment.