mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 04:13:08 +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