Fix linting, warnings, add noinspection suppression comments.

This commit is contained in:
Mikael Sand
2017-07-24 00:08:28 +03:00
parent 80b9ff9d57
commit 1a9a051ee9
21 changed files with 66 additions and 49 deletions

View File

@@ -18,8 +18,7 @@ export default function(props, styleProperties) {
return {
// default fill is black
/*eslint eqeqeq:0*/
fill: extractBrush(props.fill == null ? '#000' : props.fill),
fill: extractBrush(props.fill || '#000'),
fillOpacity: extractOpacity(props.fillOpacity),
fillRule: fillRules[props.fillRule] === 0 ? 0 : 1
};