Summary: Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md">eslint-config-prettier's changelog</a>.</em></p> <blockquote> <h3>Version 8.0.0 (2021-02-21)</h3> <ul> <li> <p>Changed: All configs have been merged into one!</p> <p>To upgrade, change:</p> <pre lang="json"><code>{ "extends": [ "some-other-config-you-use", "prettier", "prettier/typescript-eslint", "prettier/babel", "prettier/flowtype", "prettier/react", "prettier/standard", "prettier/unicorn", "prettier/vue" ] } </code></pre> <p>Into:</p> <pre lang="json"><code>{ "extends": [ "some-other-config-you-use", "prettier" ] } </code></pre> <p>The <code>"prettier"</code> config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!</p> <p>So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (<a href="https://github.com/lydell"><code>lydell</code></a>) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (<a href="https://github.com/thorn0"><code>thorn0</code></a>) for pointing this out!</p> <p>If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:</p> <pre lang="json"><code>{ "extends": [ "some-other-config-you-use", "plugin:prettier/recommended" ] } </code></pre> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="0dd2a7ed26"><code>0dd2a7e</code></a> eslint-config-prettier v8.0.0</li> <li><a href="03c79b9306"><code>03c79b9</code></a> One config to rule them all (<a href="https://github-redirect.dependabot.com/prettier/eslint-config-prettier/issues/175">https://github.com/facebook/flipper/issues/175</a>)</li> <li><a href="72ce4d7ede"><code>72ce4d7</code></a> Update npm packages</li> <li>See full diff in <a href="https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.0.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/1950 Reviewed By: nikoant Differential Revision: D26578214 Pulled By: passy fbshipit-source-id: f1a94a1fc7bdbefed7f71eba25bdc994bc4533a0
flipper-sdk-api
SDK to build Flipper clients for JS based apps
Installation
yarn add flipper-client-sdk
Usage
Example
class SeaMammalPlugin extends AbsctractFlipperPlugin {
getId(): string {
return 'sea-mammals';
}
runInBackground(): boolean {
return true;
}
newRow(row: {id: string, url: string, title: string}) {
this.connection?.send("newRow", row)
}
}
const flipperClient = newWebviewClient();
cosnt plugin = new SeaMammalPlugin();
flipperClient.addPlugin();
flipperClient.start('Example JS App');
plugin.newRow({id: '1', title: 'Dolphin', url: 'example.com'})