Lint and style fixes

This commit is contained in:
Victor Hagelbäck 2021-02-01 21:36:40 +01:00
parent 4e7ec6a1da
commit 898a9d822f
4 changed files with 29 additions and 30 deletions

View file

@ -23,6 +23,7 @@ module.exports = {
function getRules() {
return {
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
// Allows modification of properties passed to functions.
// Notably used in array.forEach(e => {e.prop = val;})
'no-param-reassign': ['error', { props: false }],