mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
Only enable no-constant-condition for non-loops
"while (true)" is a useful pattern that eslint doesn't really need to flag as a problem.
This commit is contained in:
parent
60ac1aa1c7
commit
7def71aef7
@ -66,6 +66,6 @@ module.exports = {
|
||||
'use-isnan': 'off',
|
||||
'no-self-assign': 'off',
|
||||
'no-unsafe-negation': 'off',
|
||||
'no-constant-condition': 'off'
|
||||
'no-constant-condition': ['error', {checkLoops: false}]
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user