perf: refs #8006 rules
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2025-04-01 00:47:02 +02:00
parent 3c68220903
commit 7dd28393dd
1 changed files with 7 additions and 5 deletions

View File

@ -47,13 +47,15 @@ export default {
'prefer-numeric-literals': 'warn',
'prefer-exponentiation-operator': 'warn',
'prefer-regex-literals': 'warn',
'one-var': {
let: 'never',
const: 'never',
},
'one-var': [
'error',
{
let: 'never',
const: 'never',
},
],
'no-void': 'warn',
'prefer-promise-reject-errors': 'error',
'space-before-function-paren': 'warn',
'multiline-ternary': 'warn',
'no-restricted-imports': 'warn',
'no-import-assign': 'warn',