Fix yarn lint (#332)

Summary:
Eslint / prettier are unhappy with the formatting of the FlowFixMe
comment, but the suggested solution is really ugly. Let's disable
the lint for now and remove this once it's addressed.
Pull Request resolved: https://github.com/facebook/flipper/pull/332

Reviewed By: jknoxville

Differential Revision: D13156552

Pulled By: passy

fbshipit-source-id: 680d151ea1022912e0e4a83fa42dc51005631c30
This commit is contained in:
Pascal Hartig
2018-11-22 06:32:07 -08:00
committed by Facebook Github Bot
parent bbdbb94415
commit 9e6a86923a

View File

@@ -19,6 +19,8 @@ type Props = {
preferDevice: (device: string) => void,
};
// Remove this if the flow fixme at the bottom is addressed (or has already been removed).
/* eslint-disable prettier/prettier */
class DevicesButton extends Component<Props> {
launchEmulator = (name: string) => {
const child = spawn('emulator', [`@${name}`], {
@@ -96,7 +98,8 @@ class DevicesButton extends Component<Props> {
}
/* $FlowFixMe(>=0.86.0) This comment suppresses an error found when Flow v0.86
* was deployed. To see the error, delete this comment and run Flow. */
* was deployed. To see the error, delete this comment and run Flow.
*/
export default connect(
({connections: {devices, androidEmulators, selectedDevice}}) => ({
devices,