Tools: Add more eslint/jest rules

This commit is contained in:
Laurent Cozic
2023-03-09 17:50:56 +00:00
parent 3eca4ada5a
commit 99c6c9b411
9 changed files with 18 additions and 57 deletions
+2
View File
@@ -92,6 +92,8 @@ module.exports = {
// "react-hooks/exhaustive-deps": "warn",
'jest/require-top-level-describe': ['error', { 'maxNumberOfTopLevelDescribes': 1 }],
'jest/no-identical-title': ['error'],
'jest/prefer-lowercase-title': ['error', { 'ignoreTopLevelDescribe': true }],
'promise/prefer-await-to-then': 'error',
'no-unneeded-ternary': 'error',