Summary: Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.20.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p> <blockquote> <h2>v7.20.0</h2> <ul> <li><a href="f4ac3b0e70"><code>f4ac3b0</code></a> Docs: fix sibling selector descriptions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14099">#14099</a>) (Milos Djermanovic)</li> <li><a href="9d6063add9"><code>9d6063a</code></a> Fix: Crash with esquery when using JSX (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13639">#13639</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14072">#14072</a>) (Yosuke Ota)</li> <li><a href="a0871f1840"><code>a0871f1</code></a> Docs: Triage process (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14014">#14014</a>) (Nicholas C. Zakas)</li> <li><a href="ad9076183b"><code>ad90761</code></a> Update: add enforceForJSX option to no-unused-expressions rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14012">#14012</a>) (Duncan Beevers)</li> <li><a href="d6c84af673"><code>d6c84af</code></a> Fix: <code>--init</code> autoconfig shouldn't add deprecated rules (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14017">#14017</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14060">#14060</a>) (Milos Djermanovic)</li> <li><a href="9b277a16a7"><code>9b277a1</code></a> Fix: Support ENOTDIR error code in the folder existence checking utility (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13973">#13973</a>) (Constantine Genchevsky)</li> <li><a href="7aeb12798f"><code>7aeb127</code></a> Upgrade: pin babel/code-frame@7.12.11 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14067">#14067</a>) (Milos Djermanovic)</li> <li><a href="b4e2af5db1"><code>b4e2af5</code></a> Docs: Add more fields to bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14039">#14039</a>) (Nicholas C. Zakas)</li> <li><a href="96f1d49a46"><code>96f1d49</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="cb27b0abed"><code>cb27b0a</code></a> Build: package.json update for eslint-config-eslint release (ESLint Jenkins)</li> <li><a href="4cab165bf4"><code>4cab165</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> <h2>v7.19.0</h2> <ul> <li><a href="ce7f06121d"><code>ce7f061</code></a> Update: add shadowed variable loc to message in no-shadow (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13646">#13646</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13841">#13841</a>) (t-mangoe)</li> <li><a href="c60e23ff30"><code>c60e23f</code></a> Update: fix <code>let</code> logic in for-in and for-of loops in no-extra-parens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14011">#14011</a>) (Milos Djermanovic)</li> <li><a href="d76e8f69bd"><code>d76e8f6</code></a> Fix: no-useless-rename invalid autofix with parenthesized identifiers (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14032">#14032</a>) (Milos Djermanovic)</li> <li><a href="5800d92114"><code>5800d92</code></a> Docs: Clarify stylistic rule update policy (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14052">#14052</a>) (Brandon Mills)</li> <li><a href="0ccf6d2001"><code>0ccf6d2</code></a> Docs: remove configuring.md (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14036">#14036</a>) (Milos Djermanovic)</li> <li><a href="65bb0abde5"><code>65bb0ab</code></a> Chore: Clean up new issue workflow (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14040">#14040</a>) (Nicholas C. Zakas)</li> <li><a href="e1da90fc41"><code>e1da90f</code></a> Fix: nested indenting for offsetTernaryExpressions: true (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13971">#13971</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13972">#13972</a>) (Chris Brody)</li> <li><a href="1a078b9166"><code>1a078b9</code></a> Update: check ternary <code>:</code> even if <code>?</code> was reported in space-infix-ops (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13963">#13963</a>) (Milos Djermanovic)</li> <li><a href="fb27422624"><code>fb27422</code></a> Fix: extend prefer-const fixer range to whole declaration (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13899">#13899</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14033">#14033</a>) (Nitin Kumar)</li> <li><a href="e0b05c704f"><code>e0b05c7</code></a> Docs: add a correct example to no-unsafe-optional-chaining (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14029">#14029</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14050">#14050</a>) (armin yahya)</li> <li><a href="46e836d464"><code>46e836d</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="3fc4fa485c"><code>3fc4fa4</code></a> Docs: update configuring links (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14038">#14038</a>) (Milos Djermanovic)</li> <li><a href="8561c2116e"><code>8561c21</code></a> Docs: fix broken links in configuring/README.md (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14046">#14046</a>) (Milos Djermanovic)</li> <li><a href="1c309ebca4"><code>1c309eb</code></a> Update: fix no-invalid-regexp false negatives with no flags specified (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14018">#14018</a>) (Milos Djermanovic)</li> <li><a href="f6602d5694"><code>f6602d5</code></a> Docs: Reorganize Configuration Documentation (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13837">#13837</a>) (klkhan)</li> <li><a href="c753b442ef"><code>c753b44</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="a4fdb7001a"><code>a4fdb70</code></a> Docs: Fixed Typo (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14007">#14007</a>) (Yash Singh)</li> <li><a href="f7ca48165d"><code>f7ca481</code></a> Docs: Explain why we disable lock files (refs <a href="https://github-redirect.dependabot.com/eslint/tsc-meetings/issues/234">eslint/tsc-meetings#234</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14006">#14006</a>) (Brandon Mills)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/master/CHANGELOG.md">eslint's changelog</a>.</em></p> <blockquote> <p>v7.20.0 - February 12, 2021</p> <ul> <li><a href="f4ac3b0e70"><code>f4ac3b0</code></a> Docs: fix sibling selector descriptions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14099">#14099</a>) (Milos Djermanovic)</li> <li><a href="9d6063add9"><code>9d6063a</code></a> Fix: Crash with esquery when using JSX (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13639">#13639</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14072">#14072</a>) (Yosuke Ota)</li> <li><a href="a0871f1840"><code>a0871f1</code></a> Docs: Triage process (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14014">#14014</a>) (Nicholas C. Zakas)</li> <li><a href="ad9076183b"><code>ad90761</code></a> Update: add enforceForJSX option to no-unused-expressions rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14012">#14012</a>) (Duncan Beevers)</li> <li><a href="d6c84af673"><code>d6c84af</code></a> Fix: <code>--init</code> autoconfig shouldn't add deprecated rules (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14017">#14017</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14060">#14060</a>) (Milos Djermanovic)</li> <li><a href="9b277a16a7"><code>9b277a1</code></a> Fix: Support ENOTDIR error code in the folder existence checking utility (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13973">#13973</a>) (Constantine Genchevsky)</li> <li><a href="7aeb12798f"><code>7aeb127</code></a> Upgrade: pin babel/code-frame@7.12.11 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14067">#14067</a>) (Milos Djermanovic)</li> <li><a href="b4e2af5db1"><code>b4e2af5</code></a> Docs: Add more fields to bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14039">#14039</a>) (Nicholas C. Zakas)</li> <li><a href="96f1d49a46"><code>96f1d49</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="cb27b0abed"><code>cb27b0a</code></a> Build: package.json update for eslint-config-eslint release (ESLint Jenkins)</li> <li><a href="4cab165bf4"><code>4cab165</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> <p>v7.19.0 - January 30, 2021</p> <ul> <li><a href="ce7f06121d"><code>ce7f061</code></a> Update: add shadowed variable loc to message in no-shadow (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13646">#13646</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13841">#13841</a>) (t-mangoe)</li> <li><a href="c60e23ff30"><code>c60e23f</code></a> Update: fix <code>let</code> logic in for-in and for-of loops in no-extra-parens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14011">#14011</a>) (Milos Djermanovic)</li> <li><a href="d76e8f69bd"><code>d76e8f6</code></a> Fix: no-useless-rename invalid autofix with parenthesized identifiers (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14032">#14032</a>) (Milos Djermanovic)</li> <li><a href="5800d92114"><code>5800d92</code></a> Docs: Clarify stylistic rule update policy (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14052">#14052</a>) (Brandon Mills)</li> <li><a href="0ccf6d2001"><code>0ccf6d2</code></a> Docs: remove configuring.md (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14036">#14036</a>) (Milos Djermanovic)</li> <li><a href="65bb0abde5"><code>65bb0ab</code></a> Chore: Clean up new issue workflow (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14040">#14040</a>) (Nicholas C. Zakas)</li> <li><a href="e1da90fc41"><code>e1da90f</code></a> Fix: nested indenting for offsetTernaryExpressions: true (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13971">#13971</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13972">#13972</a>) (Chris Brody)</li> <li><a href="1a078b9166"><code>1a078b9</code></a> Update: check ternary <code>:</code> even if <code>?</code> was reported in space-infix-ops (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13963">#13963</a>) (Milos Djermanovic)</li> <li><a href="fb27422624"><code>fb27422</code></a> Fix: extend prefer-const fixer range to whole declaration (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13899">#13899</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14033">#14033</a>) (Nitin Kumar)</li> <li><a href="e0b05c704f"><code>e0b05c7</code></a> Docs: add a correct example to no-unsafe-optional-chaining (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14029">#14029</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14050">#14050</a>) (armin yahya)</li> <li><a href="46e836d464"><code>46e836d</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="3fc4fa485c"><code>3fc4fa4</code></a> Docs: update configuring links (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14038">#14038</a>) (Milos Djermanovic)</li> <li><a href="8561c2116e"><code>8561c21</code></a> Docs: fix broken links in configuring/README.md (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14046">#14046</a>) (Milos Djermanovic)</li> <li><a href="1c309ebca4"><code>1c309eb</code></a> Update: fix no-invalid-regexp false negatives with no flags specified (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14018">#14018</a>) (Milos Djermanovic)</li> <li><a href="f6602d5694"><code>f6602d5</code></a> Docs: Reorganize Configuration Documentation (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13837">#13837</a>) (klkhan)</li> <li><a href="c753b442ef"><code>c753b44</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="a4fdb7001a"><code>a4fdb70</code></a> Docs: Fixed Typo (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14007">#14007</a>) (Yash Singh)</li> <li><a href="f7ca48165d"><code>f7ca481</code></a> Docs: Explain why we disable lock files (refs <a href="https://github-redirect.dependabot.com/eslint/tsc-meetings/issues/234">eslint/tsc-meetings#234</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14006">#14006</a>) (Brandon Mills)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="a665b69381"><code>a665b69</code></a> 7.20.0</li> <li><a href="38293d5d84"><code>38293d5</code></a> Build: changelog update for 7.20.0</li> <li><a href="f4ac3b0e70"><code>f4ac3b0</code></a> Docs: fix sibling selector descriptions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14099">#14099</a>)</li> <li><a href="9d6063add9"><code>9d6063a</code></a> Fix: Crash with esquery when using JSX (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13639">#13639</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14072">#14072</a>)</li> <li><a href="a0871f1840"><code>a0871f1</code></a> Docs: Triage process (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14014">#14014</a>)</li> <li><a href="ad9076183b"><code>ad90761</code></a> Update: add enforceForJSX option to no-unused-expressions rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14012">#14012</a>)</li> <li><a href="d6c84af673"><code>d6c84af</code></a> Fix: <code>--init</code> autoconfig shouldn't add deprecated rules (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14017">#14017</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14060">#14060</a>)</li> <li><a href="9b277a16a7"><code>9b277a1</code></a> Fix: Support ENOTDIR error code in the folder existence checking utility (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13">https://github.com/facebook/flipper/issues/13</a>...</li> <li><a href="7aeb12798f"><code>7aeb127</code></a> Upgrade: pin babel/code-frame@7.12.11 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14067">#14067</a>)</li> <li><a href="b4e2af5db1"><code>b4e2af5</code></a> Docs: Add more fields to bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14039">#14039</a>)</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.18.0...v7.20.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/1927 Reviewed By: priteshrnandgaonkar Differential Revision: D26465602 Pulled By: passy fbshipit-source-id: fc00b778559aa4abc9693f5a13a4ab9a6e7feb21
Flipper
Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android. Visualize, inspect, and control your apps from a simple desktop interface. Use Flipper as is or extend it using the plugin API.
Table of Contents
- Mobile development
- Extending Flipper
- Contributing to Flipper
- In this repo
- Getting started
- Building from Source
- iOS SDK + Sample App
- Android SDK + Sample app
- Documentation
- Contributing
- License
Mobile development
Flipper aims to be your number one companion for mobile app development on iOS and Android. Therefore, we provide a bunch of useful tools, including a log viewer, interactive layout inspector, and network inspector.
Extending Flipper
Flipper is built as a platform. In addition to using the tools already included, you can create your own plugins to visualize and debug data from your mobile apps. Flipper takes care of sending data back and forth, calling functions, and listening for events on the mobile app.
Contributing to Flipper
Both Flipper's desktop app and native mobile SDKs are open-source and MIT licensed. This enables you to see and understand how we are building plugins, and of course, join the community and help to improve Flipper. We are excited to see what you will build on this platform.
In this repo
This repository includes all parts of Flipper. This includes:
- Flipper's desktop app built using Electron (
/desktop) - native Flipper SDKs for iOS (
/iOS) - native Flipper SDKs for Android (
/android) - Plugins:
- Logs (
/desktop/src/device-plugins/logs) - Layout inspector (
/desktop/plugins/layout) - Network inspector (
/desktop/plugins/network) - Shared Preferences/NSUserDefaults inspector (
/desktop/plugins/shared_preferences)
- Logs (
- website and documentation (
/website//docs)
Getting started
Please refer to our Getting Started guide to set up Flipper.
Requirements
- node >= 8
- yarn >= 1.5
- iOS developer tools (for developing iOS plugins)
- Android SDK and adb
Building from Source
Desktop
Running from source
git clone https://github.com/facebook/flipper.git
cd flipper/desktop
yarn
yarn start
NOTE: If you're on Windows, you need to use Yarn 1.5.1 until this issue is resolved.
Building standalone application
Provide either --mac, --win, --linux or any combination of them
to yarn build to build a release zip file for the given platform(s). E.g.
yarn build --mac --version $buildNumber
You can find the resulting artifact in the dist/ folder.
iOS SDK + Sample App
cd iOS/Sample
rm -f Podfile.lock
pod install --repo-update
open Sample.xcworkspace
<Run app from xcode>
You can omit --repo-update to speed up the installation, but watch out as you may be building against outdated dependencies.
Android SDK + Sample app
Start up an android emulator and run the following in the project root:
./gradlew :sample:installDebug
React Native SDK + Sample app
cd react-native/ReactNativeFlipperExample
yarn
yarn android
Note that the first 2 steps need to be done only once.
Alternatively, the app can be started on iOS by running yarn ios.
Troubleshooting
Older yarn versions might show an error / hang with the message 'Waiting for the other yarn instance to finish'. If that happens, run the command yarn first separately in the directory react-native/react-native-flipper.
Documentation
Find the full documentation for this project at fbflipper.com.
Our documentation is built with Docusaurus. You can build it locally by running this:
cd website
yarn
yarn start
Contributing
See the CONTRIBUTING file for how to help out.
License
Flipper is MIT licensed, as found in the LICENSE file.
