feat: enable prefer-node-protocol
This commit is contained in:
@@ -337,6 +337,8 @@ module.exports = {
|
||||
'unicorn/prefer-type-error': 'error',
|
||||
// Use new when throwing error
|
||||
'unicorn/throw-new-error': 'error',
|
||||
// Prefer using the node: protocol
|
||||
'unicorn/prefer-node-protocol': 'error',
|
||||
|
||||
'no-use-before-define': ['error', { functions: false, classes: false, variables: true }],
|
||||
'eslint-comments/disable-enable-pair': 'off',
|
||||
|
Reference in New Issue
Block a user