chore: add more eslint rules

- Added `func-call-spacing`
- Added `rest-spread-spacing`
This commit is contained in:
Isaac 2021-05-31 23:53:48 +01:00
parent 609a996d57
commit c56a35fd11
No known key found for this signature in database
GPG Key ID: F6812DBC6719B4E3

View File

@ -72,6 +72,10 @@ module.exports = {
'eqeqeq': [ 'eqeqeq': [
'error' 'error'
], ],
'func-call-spacing': [
'error',
'never'
],
'indent': [ 'indent': [
'error', 'error',
'tab' 'tab'
@ -159,6 +163,10 @@ module.exports = {
'error', 'error',
'single' 'single'
], ],
'rest-spread-spacing': [
'error',
'never'
],
'semi': [ 'semi': [
'error', 'error',
'always' 'always'