Some tweaks to improve CWV
This commit is contained in:
@@ -13,7 +13,15 @@ export default [
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }]
|
||||
'no-undef': 'warn',
|
||||
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
||||
'no-var': 'warn',
|
||||
'prefer-arrow-callback': 'warn',
|
||||
'prefer-const': 'warn',
|
||||
'prefer-destructuring': 'warn',
|
||||
'prefer-rest-params': 'warn',
|
||||
'prefer-spread': 'warn',
|
||||
'prefer-template': 'warn',
|
||||
}
|
||||
},
|
||||
prettierConfig
|
||||
|
||||
Reference in New Issue
Block a user