mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
💫 fix: catch constant conditions in recoil state usage (#3513)
* chore: modify eslintrc * fix: apply new rules, avoid using getter/setter tuples in conditions --------- Co-authored-by: Alexandre Germain <nihilivin@gmail.com>
This commit is contained in:
parent
e15d0d354d
commit
cd326c4cf0
6 changed files with 14 additions and 12 deletions
|
|
@ -118,6 +118,8 @@ module.exports = {
|
|||
],
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-unnecessary-condition': 'warn',
|
||||
'@typescript-eslint/strict-boolean-expressions': 'warn',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue