mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 08:13:09 +02:00
Add eslint prefer-const rule
thanks @soudblox
This commit is contained in:
parent
f2a706aa95
commit
740202d1e1
@ -24,6 +24,13 @@ module.exports = {
|
||||
'semi': [
|
||||
'error',
|
||||
'always'
|
||||
],
|
||||
'prefer-const': [
|
||||
'error',
|
||||
{
|
||||
'destructuring': 'any',
|
||||
'ignoreReadBeforeAssign': false
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user