Add no-throw-literal rule to eslintrc

This commit is contained in:
Stromwerk 2022-08-11 21:43:36 +03:00
parent d73e438ab2
commit ceebed3709

View File

@ -42,6 +42,7 @@ module.exports = {
'indent': ['error', 4, { 'SwitchCase': 1 }],
'jsx-quotes': ['error', 'prefer-single'],
'keyword-spacing': ['error'],
'no-throw-literal': ['error'],
'max-statements-per-line': ['error'],
'no-duplicate-imports': ['error'],
'no-empty-function': ['error'],