mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Enforce node: schema for builtins, import extensions
This commit is contained in:
@@ -100,6 +100,14 @@ const rules = {
|
||||
|
||||
// We prefer named exports
|
||||
'import/prefer-default-export': 'off',
|
||||
'import/enforce-node-protocol-usage': ['error', 'always'],
|
||||
'import/extensions': [
|
||||
'error',
|
||||
'ignorePackages',
|
||||
{
|
||||
checkTypeImports: true,
|
||||
},
|
||||
],
|
||||
|
||||
// Prefer functional components with default params
|
||||
'react/require-default-props': 'off',
|
||||
|
||||
Reference in New Issue
Block a user