chore: add max-params eslint rule

This commit is contained in:
Simon Chan 2024-06-23 05:31:04 +08:00
parent 3c2b57cfc5
commit 73a0af4613
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
17 changed files with 79 additions and 54 deletions

View file

@ -25,6 +25,12 @@ export default tslint.config(
maxBOF: 0,
},
],
"max-params": [
"error",
{
max: 4,
},
],
},
},
...tslint.configs.recommendedTypeChecked,