Lint and style fixes
This commit is contained in:
parent
4e7ec6a1da
commit
898a9d822f
4 changed files with 29 additions and 30 deletions
|
|
@ -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 }],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue