ignore CamelCase for sodium-native, ignore sodium-native import false positives

This commit is contained in:
Ulf Gebhardt 2023-06-06 12:21:47 +02:00
parent e408497ee0
commit 6160492e15
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -25,10 +25,12 @@ module.exports = {
},
node: true,
},
// the parser cannot handle the split sodium import
'import/ignore': ['sodium-native'],
},
rules: {
'no-console': 'error',
camelcase: ['error', { allow: ['FederationClient_*'] }],
camelcase: ['error', { allow: ['FederationClient_*', 'crypto_*', 'randombytes_random'] }],
'no-debugger': 'error',
'prettier/prettier': [
'error',