From 5d3f498138bfdf30406178ca68cac9db6ceee74c Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Sat, 15 Dec 2018 16:41:27 +0100 Subject: [PATCH] chore: enable react/jsx-boolean-value as error --- .eslintrc | 2 +- src/webui/components/AutoComplete/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index edda9865d..239d4b37d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -72,7 +72,7 @@ "logical": "parens", "prop": "parens" }], - "react/jsx-boolean-value": ["warn", "always"], + "react/jsx-boolean-value": ["error", "always"], "react/jsx-closing-tag-location": ["warn"], "react/jsx-curly-spacing": ["error", "never"], "react/jsx-equals-spacing": ["warn", "never"], diff --git a/src/webui/components/AutoComplete/index.js b/src/webui/components/AutoComplete/index.js index 917006d1a..cd00a273d 100644 --- a/src/webui/components/AutoComplete/index.js +++ b/src/webui/components/AutoComplete/index.js @@ -19,7 +19,7 @@ const renderInputComponent = (inputProps): Node => { const { ref, startAdornment, disableUnderline, onKeyDown, ...others } = inputProps; return ( { ref(node);