mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-27 15:50:39 +08:00
[ReactNative] Turn of lint warning for constant conditions
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
"rules": {
|
||||
"no-cond-assign": 1, // disallow assignment in conditional expressions
|
||||
"no-console": 0, // disallow use of console (off by default in the node environment)
|
||||
"no-constant-condition": 1, // disallow use of constant expressions in conditions
|
||||
"no-constant-condition": 0, // disallow use of constant expressions in conditions
|
||||
"no-comma-dangle": 0, // disallow trailing commas in object literals
|
||||
"no-control-regex": 1, // disallow control characters in regular expressions
|
||||
"no-debugger": 1, // disallow use of debugger
|
||||
|
||||
Reference in New Issue
Block a user