Add eslint no-console rule

This commit is contained in:
Bartłomiej Sęk 2024-12-17 11:12:06 +01:00
parent ac3cb634f1
commit 33606ff8b3

View file

@ -17,7 +17,8 @@ export default [
'indent': ['error', 4],
'semi': ['error', 'always'],
'comma-dangle': ['error', 'never'],
'quotes': ['error', 'single']
'quotes': ['error', 'single'],
'no-console': ['error', {'allow': ['warn', 'error']}]
}
}
];