Enforce console.error usage with context

Summary: We're down to zero!

Reviewed By: nikoant

Differential Revision: D32099777

fbshipit-source-id: af76a2e39b2bdf1523baa0a9cb219d8219818fa9
This commit is contained in:
Pascal Hartig
2021-11-03 06:52:04 -07:00
committed by Facebook GitHub Bot
parent dc6dd47a23
commit 03a824ea18

View File

@@ -103,7 +103,7 @@ module.exports = {
'node/no-sync': [1], 'node/no-sync': [1],
'flipper/no-relative-imports-across-packages': [2], 'flipper/no-relative-imports-across-packages': [2],
'flipper/no-electron-remote-imports': [1], 'flipper/no-electron-remote-imports': [1],
'flipper/no-console-error-without-context': [1], 'flipper/no-console-error-without-context': [2],
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}], 'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
// promise rules, see https://github.com/xjamundx/eslint-plugin-promise for details on each of them // promise rules, see https://github.com/xjamundx/eslint-plugin-promise for details on each of them