1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Upgrade prettier

This commit is contained in:
Simen Bekkhus 2017-11-11 09:12:39 +01:00
parent e8441f3111
commit 10ae1d8aa7
5 changed files with 1048 additions and 747 deletions

View File

@ -67,7 +67,7 @@
"babel-preset-stage-2": "^6.13.0",
"css-loader": "^0.28.4",
"eslint": "^4.5.0",
"eslint-config-finn": "^2.0.0",
"eslint-config-finn": "^3.0.0",
"eslint-config-finn-prettier": "^3.0.0",
"eslint-config-finn-react": "^2.0.0",
"eslint-plugin-react": "^7.3.0",
@ -75,7 +75,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^20.0.4",
"node-sass": "^4.5.3",
"prettier": "^1.6.0",
"prettier": "^1.8.2",
"react-test-renderer": "^15.6.1",
"redux-devtools": "^3.3.1",
"sass-loader": "^6.0.6",

View File

@ -162,9 +162,7 @@ export default class App extends Component {
target="_blank"
className={[styles.navigationLink, 'mdl-color-text--grey-900'].join(' ')}
>
<i
className={['material-icons', styles.navigationIcon, styles.iconGitHub].join(' ')}
/>GitHub
<i className={['material-icons', styles.navigationIcon, styles.iconGitHub].join(' ')} />GitHub
</a>
</Navigation>
</Drawer>

View File

@ -11,7 +11,9 @@ const mapStateToProps = createMapper({
let name;
try {
[, name] = document.location.hash.match(/name=([a-z0-9-_.]+)/i);
} catch (e) {}
} catch (e) {
// nothing
}
return { name };
},
});

View File

@ -52,7 +52,9 @@ export default connect(
let name;
try {
[, name] = document.location.hash.match(/name=([a-z0-9-_.]+)/i);
} catch (e) {}
} catch (e) {
// nothing
}
return { name };
},
}),

File diff suppressed because it is too large Load Diff