Some tweaks to improve CWV
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
2026-02-14 19:45:11 -03:00
parent 01463952bb
commit 614aad4a8b
5 changed files with 163 additions and 103 deletions

View File

@@ -13,7 +13,15 @@ export default [
}
},
rules: {
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }]
'no-undef': 'warn',
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'no-var': 'warn',
'prefer-arrow-callback': 'warn',
'prefer-const': 'warn',
'prefer-destructuring': 'warn',
'prefer-rest-params': 'warn',
'prefer-spread': 'warn',
'prefer-template': 'warn',
}
},
prettierConfig