Mute problem reports

pull/382/head
aldycool 4 years ago
parent a585a880cf
commit fe85d7406b
  1. 3
      analysis_options.yaml
  2. 6
      example/windows/flutter/generated_plugin_registrant.cc

@ -4,6 +4,9 @@ analyzer:
errors:
undefined_prefixed_name: ignore
unsafe_html: ignore
# Just for not cluttering my vscode main project problems, enable these later for pull requests
todo: ignore
unused_element: ignore
linter:
rules:
- always_declare_return_types

@ -4,9 +4,9 @@
#include "generated_plugin_registrant.h"
#include <url_launcher_windows/url_launcher_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
UrlLauncherPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}

Loading…
Cancel
Save