Commit ed276295 authored by Victor Amupitan's avatar Victor Amupitan Committed by Dan Abramov
Browse files

Changes no-unused-expressions lint from warning to error (#2319)

* Changes no-unused-expressions lint from warning to error

* Update index.js

* Update index.js
parent 272edffc
Showing with 1 addition and 1 deletion
+1 -1
...@@ -120,7 +120,7 @@ module.exports = { ...@@ -120,7 +120,7 @@ module.exports = {
'no-unexpected-multiline': 'warn', 'no-unexpected-multiline': 'warn',
'no-unreachable': 'warn', 'no-unreachable': 'warn',
'no-unused-expressions': [ 'no-unused-expressions': [
'warn', 'error',
{ {
allowShortCircuit: true, allowShortCircuit: true,
allowTernary: true, allowTernary: true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment