Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit 556f1f6

Browse files
author
Petr Hanák
committed
console.log warning in optional ruleset
1 parent 13c184b commit 556f1f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: environments/react/optional.js

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ module.exports = {
1818
// that should be replaced with less obtrusive, custom UIs.
1919
'no-alert': 'warn',
2020

21+
// Custom logging logic should be implemented, everything else will be considered as debugging
22+
// statement developer forget to remove
23+
'no-console': 'warn',
24+
2125
// Enforce propTypes declarations alphabetical sorting
2226
'react/sort-prop-types': ['warn', {
2327
ignoreCase: true,

0 commit comments

Comments
 (0)