src/components/Login/Login.js
Function Login
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Login = (props) => {
if(props.registration === 'fail')
return <Confirmation content="Não foi possível logar, confira seus dados"
onConfirmOk={props.onConfirmOk}
There should be no space before '=' Open
Open
style ={{color: inputs[key].color}}>
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images. Open
Open
<img src={eyeImg} onClick={props.togglePass} className="see-password"/> : null
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/