mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-09 22:33: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': [
|
'semi': [
|
||||||
'error',
|
'error',
|
||||||
'always'
|
'always'
|
||||||
|
],
|
||||||
|
'prefer-const': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
'destructuring': 'any',
|
||||||
|
'ignoreReadBeforeAssign': false
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user