ESLint additional rules (#4186)

* Add eslint rule for consistent block padding

* Fix padding consistency issues

* Eslint test for duplicate imports

* Eslint closing bracket location

* Fix eslint jsx closing bracket

* missed a file

* Formatting

* Manual overrides for auto

* Manual overrides for auto

* More minor auto-override manual adjustments
This commit is contained in:
Jaco Greeff
2017-01-18 13:05:01 +01:00
committed by GitHub
parent d608ad2011
commit 08f80f2695
198 changed files with 1612 additions and 921 deletions

View File

@@ -112,7 +112,8 @@ class IdentityIcon extends Component {
background: '#eee',
height: size,
width: size
} } />
} }
/>
);
} else if (isNullAddress(address)) {
return (
@@ -123,7 +124,8 @@ class IdentityIcon extends Component {
background: '#333',
height: size,
width: size
} } />
} }
/>
);
}
@@ -133,7 +135,8 @@ class IdentityIcon extends Component {
data-address-img
height={ size }
width={ size }
src={ iconsrc } />
src={ iconsrc }
/>
);
}
}