update eslint to allow short circuit ternary chains

This commit is contained in:
John Mitchell 2019-04-08 11:46:11 -04:00
parent 84f45d122d
commit af3419c2dd
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -48,6 +48,7 @@
"object-curly-newline": "off",
"space-before-function-paren": ["error", "always"],
"no-trailing-spaces": ["error"],
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
"react/prefer-stateless-function": "off",
"react/prop-types": "off",
"jsx-a11y/label-has-for": "off",