refactor(frontend): Linting errors wegwerken

This commit is contained in:
Tibo De Peuter 2025-04-19 10:19:01 +02:00
parent e2ec28bbfb
commit a5e095b852
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
10 changed files with 72 additions and 69 deletions

View file

@ -71,7 +71,7 @@ export default [
'init-declarations': 'off',
'@typescript-eslint/init-declarations': 'off',
'max-params': 'off',
'@typescript-eslint/max-params': ['error', { max: 6 }],
'@typescript-eslint/max-params': 'off',
'@typescript-eslint/member-ordering': 'error',
'@typescript-eslint/method-signature-style': 'off', // Don't care about TypeScript strict mode.
'@typescript-eslint/naming-convention': [
@ -87,6 +87,7 @@ export default [
modifiers: ['const'],
format: ['camelCase', 'UPPER_CASE'],
trailingUnderscore: 'allow',
leadingUnderscore: 'allow',
},
{
// Enforce that private members are prefixed with an underscore