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:
committed by
Facebook Github Bot
parent
bbdbb94415
commit
9e6a86923a
@@ -19,6 +19,8 @@ type Props = {
|
|||||||
preferDevice: (device: string) => void,
|
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> {
|
class DevicesButton extends Component<Props> {
|
||||||
launchEmulator = (name: string) => {
|
launchEmulator = (name: string) => {
|
||||||
const child = spawn('emulator', [`@${name}`], {
|
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
|
/* $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(
|
export default connect(
|
||||||
({connections: {devices, androidEmulators, selectedDevice}}) => ({
|
({connections: {devices, androidEmulators, selectedDevice}}) => ({
|
||||||
devices,
|
devices,
|
||||||
|
|||||||
Reference in New Issue
Block a user