CINXE.COM
GitHub - mgechev/revive: 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
<!DOCTYPE html> <html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system" data-a11y-link-underlines="true" > <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> <link rel="preconnect" href="https://github.githubassets.com" crossorigin> <link rel="preconnect" href="https://avatars.githubusercontent.com"> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-74231a1f3bbb.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-8a995f0bacd4.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-f37fb7684b1f.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-9ac301c3ebe5.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-cd826e8636dc.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-f91b0f603451.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-83beb16e0ecf.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-6e122dab64fc.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-18119e682df0.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-primitives-225433424a87.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-cba26849680f.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-b6cb3703b934.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-ea73c9cb5377.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-4fce88777fa8.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-0210be90f4d3.css" /> <script type="application/json" id="client-env">{"locale":"en","featureFlags":["contentful_lp_flex_features_actions","contentful_lp_flex_features_codespaces","contentful_lp_flex_features_code_review","contentful_lp_flex_features_code_search","contentful_lp_flex_features_discussions","contentful_lp_flex_features_issues","copilot_immersive_issue_preview","copilot_new_references_ui","copilot_chat_repo_custom_instructions_preview","copilot_no_floating_button","copilot_topics_as_references","copilot_read_shared_conversation","copilot_duplicate_thread","dotcom_chat_client_side_skills","experimentation_azure_variant_endpoint","failbot_handle_non_errors","geojson_azure_maps","ghost_pilot_confidence_truncation_25","ghost_pilot_confidence_truncation_40","github_models_gateway_parse_params","github_models_o3_mini_streaming","insert_before_patch","issues_react_remove_placeholders","issues_react_blur_item_picker_on_close","issues_advanced_search_nested_ownership_filters","issues_dashboard_no_redirects","marketing_pages_search_explore_provider","primer_react_css_modules_ga","react_data_router_pull_requests","react_override_default_key","remove_child_patch","sample_network_conn_type","swp_enterprise_contact_form","site_proxima_australia_update","viewscreen_sandbox","issues_react_create_milestone","issues_react_cache_fix_workaround","lifecycle_label_name_updates","copilot_task_oriented_assistive_prompts","issue_types_prevent_private_type_creation","refresh_image_video_src","react_router_dispose_on_disconnect","codespaces_prebuild_region_target_update","turbo_app_id_restore","copilot_code_review_sign_up_closed"]}</script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/wp-runtime-55df3d927398.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover_js-9da652f58479.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_arianotify-polyfill_ariaNotify-polyfill_js-node_modules_github_mi-3abb8f-46b9f4874d95.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_failbot_failbot_ts-952d624642a1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/environment-f04cb2a9fc8c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_primer_behaviors_dist_esm_index_mjs-0dbb79f97f8f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-f690fd9ae3d5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_relative-time-element_dist_index_js-62d275b7ddd9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_text-expander-element_dist_index_js-78748950cb0c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-8e9f78-a90ac05d2469.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7-a1760ffda83d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_markdown-toolbar-element_dist_index_js-ceef33f593fa.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_primer_view-co-c44a69-efa32db3a345.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/github-elements-394f8eb34f19.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/element-registry-fdc7225e42cc.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-2906d7-2a07a295af40.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_lit-html_lit-html_js-be8cb88f481b.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c-a4a1922eb55f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-a03ee12d659a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f-b6294cf703b7.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_color-convert_index_js-e3180fe3bcb3.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-947061-e7a6c4a19f98.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_updatable-content_updatable-content_ts-62f3e9c52ece.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde-768abe60b1f8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_sticky-scroll-into-view_ts-3e000c5d31a9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-87a4ae-eda74b9de9cd.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-e429cff6ceb1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-c92ce7c6a557.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-f6223d90c7ba.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-global-01e85cd1be94.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js-94dc7a2157c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-70450e-4b93df70b903.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_ref-selector_ts-52913063a0b9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/codespaces-b419a25ee02f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-3eebbd-0763620ad7bf.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_decorators_js-node_modules_delegated-events_di-e161aa-9d41fb1b6c9e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_github_remote--3c9c82-b71ef90fbdc7.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/repositories-10217e4e5a53.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_catalyst_lib_inde-dbbea9-26cce2010167.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/code-menu-d6d3c94ee97e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-99bc880bd101.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-core-25e9ddbd9991.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-f1bca44e0926.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-cf2f2ab8dab4.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-434cb6-95f395b76298.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-e7dcdd-9a233856b02c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-55fea94174bf.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-subscriptions-menu-0e7e3f0bfc4b.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.7110f8bed75b67122d7a.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/notifications-subscriptions-menu.1bcff9205c241e99cff2.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.7110f8bed75b67122d7a.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/notifications-subscriptions-menu.1bcff9205c241e99cff2.module.css" /> <title>GitHub - mgechev/revive: 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint</title> <meta name="route-pattern" content="/:user_id/:repository" data-turbo-transient> <meta name="route-controller" content="files" data-turbo-transient> <meta name="route-action" content="disambiguate" data-turbo-transient> <meta name="current-catalog-service-hash" content="f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb"> <meta name="request-id" content="C002:39BE69:C91F7:10F4A5:67EF07AD" data-pjax-transient="true"/><meta name="html-safe-nonce" content="40055a6ca338df0aac457b39aff3a2dffa43cc1ab44bc3f20c9387cc22b3545e" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDAyOjM5QkU2OTpDOTFGNzoxMEY0QTU6NjdFRjA3QUQiLCJ2aXNpdG9yX2lkIjoiMTEwMzQxMDMwNDQ3ODI4MzY5MyIsInJlZ2lvbl9lZGdlIjoic291dGhlYXN0YXNpYSIsInJlZ2lvbl9yZW5kZXIiOiJzb3V0aGVhc3Rhc2lhIn0=" data-pjax-transient="true"/><meta name="visitor-hmac" content="fab2c3763b30845d5c21aa765e86c902319e660a1c1661864d5858958d964201" data-pjax-transient="true"/> <meta name="hovercard-subject-tag" content="repository:96237042" data-turbo-transient> <meta name="github-keyboard-shortcuts" content="repository,copilot" data-turbo-transient="true" /> <meta name="selected-link" value="repo_source" data-turbo-transient> <link rel="assets" href="https://github.githubassets.com/"> <meta name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"> <meta name="octolytics-url" content="https://collector.github.com/github/collect" /> <meta name="analytics-location" content="/<user-name>/<repo-name>" data-turbo-transient="true" /> <meta name="user-login" content=""> <meta name="viewport" content="width=device-width"> <meta name="description" content="🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint - mgechev/revive"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub"> <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub"> <meta property="fb:app_id" content="1401488693436528"> <meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/mgechev/revive" /> <meta name="twitter:image" content="https://repository-images.githubusercontent.com/96237042/02654200-7410-11e9-8fd2-f9e53ad47330" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="GitHub - mgechev/revive: 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint" /><meta name="twitter:description" content="🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint - mgechev/revive" /> <meta property="og:image" content="https://repository-images.githubusercontent.com/96237042/02654200-7410-11e9-8fd2-f9e53ad47330" /><meta property="og:image:alt" content="🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint - mgechev/revive" /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="GitHub - mgechev/revive: 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint" /><meta property="og:url" content="https://github.com/mgechev/revive" /><meta property="og:description" content="🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint - mgechev/revive" /> <meta name="hostname" content="github.com"> <meta name="expected-hostname" content="github.com"> <meta http-equiv="x-pjax-version" content="6fa14be29eda926f124b1f34188ddbf58c37171f539b192b1d6499a471c79f03" data-turbo-track="reload"> <meta http-equiv="x-pjax-csp-version" content="e26f9f0ba624ee85cc7ac057d8faa8618a4f25a85eab052c33d018ac0f6b1a46" data-turbo-track="reload"> <meta http-equiv="x-pjax-css-version" content="205838381d6e5f35c535dbb12458f905bc43e0b186c86bf75aabbd0c0f36537c" data-turbo-track="reload"> <meta http-equiv="x-pjax-js-version" content="f6d81115152bfed7ed44c2db20272fc2cd4fb00d79211b5b74dd209c04d0bd4b" data-turbo-track="reload"> <meta name="turbo-cache-control" content="no-preview" data-turbo-transient=""> <meta data-hydrostats="publish"> <meta name="go-import" content="github.com/mgechev/revive git https://github.com/mgechev/revive.git"> <meta name="octolytics-dimension-user_id" content="455023" /><meta name="octolytics-dimension-user_login" content="mgechev" /><meta name="octolytics-dimension-repository_id" content="96237042" /><meta name="octolytics-dimension-repository_nwo" content="mgechev/revive" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="false" /><meta name="octolytics-dimension-repository_network_root_id" content="96237042" /><meta name="octolytics-dimension-repository_network_root_nwo" content="mgechev/revive" /> <link rel="canonical" href="https://github.com/mgechev/revive" data-turbo-transient> <meta name="turbo-body-classes" content="logged-out env-production page-responsive"> <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats"> <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors"> <meta name="release" content="979ae4a10206ab8f2b9fcfb7c042cbb889cfd0b4"> <link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000"> <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://github.githubassets.com/favicons/favicon.png"> <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg" data-base-href="https://github.githubassets.com/favicons/favicon"> <meta name="theme-color" content="#1e2327"> <meta name="color-scheme" content="light dark" /> <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials"> </head> <body class="logged-out env-production page-responsive" style="word-wrap: break-word;"> <div data-turbo-body class="logged-out env-production page-responsive" style="word-wrap: break-word;"> <div class="position-relative header-wrapper js-header-wrapper "> <a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a> <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full"> <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span> </span> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_ui-commands_ui-commands_ts-ad009fc6c345.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-1edadb4bd04c.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.7110f8bed75b67122d7a.module.css" /> <react-partial partial-name="keyboard-shortcuts-dialog" data-ssr="false" data-attempted-ssr="false" > <script type="application/json" data-target="react-partial.embeddedData">{"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}</script> <div data-target="react-partial.reactRoot"></div> </react-partial> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-4898d1bf4b51.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/sessions-45d6658f8b6b.js"></script> <header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark> <h2 class="sr-only">Navigation Menu</h2> <button type="button" class="HeaderMktg-backdrop d-lg-none border-0 position-fixed top-0 left-0 width-full height-full js-details-target" aria-label="Toggle navigation"> <span class="d-none">Toggle navigation</span> </button> <div class="d-flex flex-column flex-lg-row flex-items-center px-3 px-md-4 px-lg-5 height-full position-relative z-1"> <div class="d-flex flex-justify-between flex-items-center width-full width-lg-auto"> <div class="flex-1"> <button aria-label="Toggle navigation" aria-expanded="false" type="button" data-view-component="true" class="js-details-target js-nav-padding-recalculate js-header-menu-toggle Button--link Button--medium Button d-lg-none color-fg-inherit p-1"> <span class="Button-content"> <span class="Button-label"><div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div></span> </span> </button> </div> <a class="mr-lg-3 color-fg-inherit flex-order-2 js-prevent-focus-on-mobile-nav" href="/" aria-label="Homepage" data-analytics-event="{"category":"Marketing nav","action":"click to go to homepage","label":"ref_page:Marketing;ref_cta:Logomark;ref_loc:Header"}"> <svg height="32" aria-hidden="true" viewBox="0 0 24 24" version="1.1" width="32" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12 1C5.9225 1 1 5.9225 1 12C1 16.8675 4.14875 20.9787 8.52125 22.4362C9.07125 22.5325 9.2775 22.2025 9.2775 21.9137C9.2775 21.6525 9.26375 20.7862 9.26375 19.865C6.5 20.3737 5.785 19.1912 5.565 18.5725C5.44125 18.2562 4.905 17.28 4.4375 17.0187C4.0525 16.8125 3.5025 16.3037 4.42375 16.29C5.29 16.2762 5.90875 17.0875 6.115 17.4175C7.105 19.0812 8.68625 18.6137 9.31875 18.325C9.415 17.61 9.70375 17.1287 10.02 16.8537C7.5725 16.5787 5.015 15.63 5.015 11.4225C5.015 10.2262 5.44125 9.23625 6.1425 8.46625C6.0325 8.19125 5.6475 7.06375 6.2525 5.55125C6.2525 5.55125 7.17375 5.2625 9.2775 6.67875C10.1575 6.43125 11.0925 6.3075 12.0275 6.3075C12.9625 6.3075 13.8975 6.43125 14.7775 6.67875C16.8813 5.24875 17.8025 5.55125 17.8025 5.55125C18.4075 7.06375 18.0225 8.19125 17.9125 8.46625C18.6138 9.23625 19.04 10.2125 19.04 11.4225C19.04 15.6437 16.4688 16.5787 14.0213 16.8537C14.42 17.1975 14.7638 17.8575 14.7638 18.8887C14.7638 20.36 14.75 21.5425 14.75 21.9137C14.75 22.2025 14.9563 22.5462 15.5063 22.4362C19.8513 20.9787 23 16.8537 23 12C23 5.9225 18.0775 1 12 1Z"></path> </svg> </a> <div class="flex-1 flex-order-2 text-right"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive" class="HeaderMenu-link HeaderMenu-button d-inline-flex d-lg-none flex-order-1 f5 no-underline border color-border-default rounded-2 px-2 py-1 color-fg-inherit js-prevent-focus-on-mobile-nav" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="245a2bbc56a7bccb1ea0983a35ea103b402b50add3c1b672ab1d1814c203eae9" data-analytics-event="{"category":"Marketing nav","action":"click to Sign in","label":"ref_page:Marketing;ref_cta:Sign in;ref_loc:Header"}" > Sign in </a> </div> </div> <div class="HeaderMenu js-header-menu height-fit position-lg-relative d-lg-flex flex-column flex-auto top-0"> <div class="HeaderMenu-wrapper d-flex flex-column flex-self-start flex-lg-row flex-auto rounded rounded-lg-0"> <nav class="HeaderMenu-nav" aria-label="Global"> <ul class="d-lg-flex list-style-none"> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Product <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_copilot","context":"product","tag":"link","label":"github_copilot_link_product_navbar"}" href="https://github.com/features/copilot"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Copilot</div> Write better code with AI </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_advanced_security","context":"product","tag":"link","label":"github_advanced_security_link_product_navbar"}" href="https://github.com/security/advanced-security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Advanced Security</div> Find and fix vulnerabilities </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"actions","context":"product","tag":"link","label":"actions_link_product_navbar"}" href="https://github.com/features/actions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-workflow color-fg-subtle mr-3"> <path d="M1 3a2 2 0 0 1 2-2h6.5a2 2 0 0 1 2 2v6.5a2 2 0 0 1-2 2H7v4.063C7 16.355 7.644 17 8.438 17H12.5v-2.5a2 2 0 0 1 2-2H21a2 2 0 0 1 2 2V21a2 2 0 0 1-2 2h-6.5a2 2 0 0 1-2-2v-2.5H8.437A2.939 2.939 0 0 1 5.5 15.562V11.5H3a2 2 0 0 1-2-2Zm2-.5a.5.5 0 0 0-.5.5v6.5a.5.5 0 0 0 .5.5h6.5a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5ZM14.5 14a.5.5 0 0 0-.5.5V21a.5.5 0 0 0 .5.5H21a.5.5 0 0 0 .5-.5v-6.5a.5.5 0 0 0-.5-.5Z"></path> </svg> <div> <div class="color-fg-default h4">Actions</div> Automate any workflow </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"codespaces","context":"product","tag":"link","label":"codespaces_link_product_navbar"}" href="https://github.com/features/codespaces"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-codespaces color-fg-subtle mr-3"> <path d="M3.5 3.75C3.5 2.784 4.284 2 5.25 2h13.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 18.75 13H5.25a1.75 1.75 0 0 1-1.75-1.75Zm-2 12c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v4a1.75 1.75 0 0 1-1.75 1.75H3.25a1.75 1.75 0 0 1-1.75-1.75ZM5.25 3.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h13.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Zm-2 12a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h17.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25Z"></path><path d="M10 17.75a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> <div> <div class="color-fg-default h4">Codespaces</div> Instant dev environments </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"issues","context":"product","tag":"link","label":"issues_link_product_navbar"}" href="https://github.com/features/issues"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-issue-opened color-fg-subtle mr-3"> <path d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Zm9.5 2a2 2 0 1 1-.001-3.999A2 2 0 0 1 12 14Z"></path> </svg> <div> <div class="color-fg-default h4">Issues</div> Plan and track work </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"code_review","context":"product","tag":"link","label":"code_review_link_product_navbar"}" href="https://github.com/features/code-review"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-review color-fg-subtle mr-3"> <path d="M10.3 6.74a.75.75 0 0 1-.04 1.06l-2.908 2.7 2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M1.5 4.25c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v12.5a1.75 1.75 0 0 1-1.75 1.75h-9.69l-3.573 3.573A1.458 1.458 0 0 1 5 21.043V18.5H3.25a1.75 1.75 0 0 1-1.75-1.75ZM3.25 4a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 .75.75v3.19l3.72-3.72a.749.749 0 0 1 .53-.22h10a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Review</div> Manage code changes </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"discussions","context":"product","tag":"link","label":"discussions_link_product_navbar"}" href="https://github.com/features/discussions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Discussions</div> Collaborate outside of code </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"code_search","context":"product","tag":"link","label":"code_search_link_product_navbar"}" href="https://github.com/features/code-search"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-square color-fg-subtle mr-3"> <path d="M10.3 8.24a.75.75 0 0 1-.04 1.06L7.352 12l2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25Zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Search</div> Find more, search less </div> </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="product-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="product-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"all_features","context":"product","tag":"link","label":"all_features_link_product_navbar"}" href="https://github.com/features"> All features </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"documentation","context":"product","tag":"link","label":"documentation_link_product_navbar"}" href="https://docs.github.com"> Documentation <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"github_skills","context":"product","tag":"link","label":"github_skills_link_product_navbar"}" href="https://skills.github.com"> GitHub Skills <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"blog","context":"product","tag":"link","label":"blog_link_product_navbar"}" href="https://github.blog"> Blog <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Solutions <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 pb-lg-3 mb-3 mb-lg-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-company-size-heading">By company size</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-company-size-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"enterprises","context":"solutions","tag":"link","label":"enterprises_link_solutions_navbar"}" href="https://github.com/enterprise"> Enterprises </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"small_and_medium_teams","context":"solutions","tag":"link","label":"small_and_medium_teams_link_solutions_navbar"}" href="https://github.com/team"> Small and medium teams </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"startups","context":"solutions","tag":"link","label":"startups_link_solutions_navbar"}" href="https://github.com/enterprise/startups"> Startups </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"nonprofits","context":"solutions","tag":"link","label":"nonprofits_link_solutions_navbar"}" href="/solutions/industry/nonprofits"> Nonprofits </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-use-case-heading">By use case</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-use-case-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devsecops","context":"solutions","tag":"link","label":"devsecops_link_solutions_navbar"}" href="/solutions/use-case/devsecops"> DevSecOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devops","context":"solutions","tag":"link","label":"devops_link_solutions_navbar"}" href="/solutions/use-case/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ci_cd","context":"solutions","tag":"link","label":"ci_cd_link_solutions_navbar"}" href="/solutions/use-case/ci-cd"> CI/CD </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all_use_cases","context":"solutions","tag":"link","label":"view_all_use_cases_link_solutions_navbar"}" href="/solutions/use-case"> View all use cases </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-industry-heading">By industry</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-industry-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"healthcare","context":"solutions","tag":"link","label":"healthcare_link_solutions_navbar"}" href="/solutions/industry/healthcare"> Healthcare </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"financial_services","context":"solutions","tag":"link","label":"financial_services_link_solutions_navbar"}" href="/solutions/industry/financial-services"> Financial services </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"manufacturing","context":"solutions","tag":"link","label":"manufacturing_link_solutions_navbar"}" href="/solutions/industry/manufacturing"> Manufacturing </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"government","context":"solutions","tag":"link","label":"government_link_solutions_navbar"}" href="/solutions/industry/government"> Government </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all_industries","context":"solutions","tag":"link","label":"view_all_industries_link_solutions_navbar"}" href="/solutions/industry"> View all industries </a></li> </ul> </div> </div> <div class="HeaderMenu-trailing-link rounded-bottom-2 flex-shrink-0 mt-lg-4 px-lg-4 py-4 py-lg-3 f5 text-semibold"> <a href="/solutions"> View all solutions <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right HeaderMenu-trailing-link-icon"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </a> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Resources <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-topics-heading">Topics</span> <ul class="list-style-none f5" aria-labelledby="resources-topics-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ai","context":"resources","tag":"link","label":"ai_link_resources_navbar"}" href="/resources/articles/ai"> AI </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devops","context":"resources","tag":"link","label":"devops_link_resources_navbar"}" href="/resources/articles/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"security","context":"resources","tag":"link","label":"security_link_resources_navbar"}" href="/resources/articles/security"> Security </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"software_development","context":"resources","tag":"link","label":"software_development_link_resources_navbar"}" href="/resources/articles/software-development"> Software Development </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all","context":"resources","tag":"link","label":"view_all_link_resources_navbar"}" href="/resources/articles"> View all </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="resources-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"learning_pathways","context":"resources","tag":"link","label":"learning_pathways_link_resources_navbar"}" href="https://resources.github.com/learn/pathways"> Learning Pathways <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"events_amp_webinars","context":"resources","tag":"link","label":"events_amp_webinars_link_resources_navbar"}" href="https://resources.github.com"> Events & Webinars <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ebooks_amp_whitepapers","context":"resources","tag":"link","label":"ebooks_amp_whitepapers_link_resources_navbar"}" href="https://github.com/resources/whitepapers"> Ebooks & Whitepapers </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"customer_stories","context":"resources","tag":"link","label":"customer_stories_link_resources_navbar"}" href="https://github.com/customer-stories"> Customer Stories </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"partners","context":"resources","tag":"link","label":"partners_link_resources_navbar"}" href="https://partner.github.com"> Partners <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"executive_insights","context":"resources","tag":"link","label":"executive_insights_link_resources_navbar"}" href="https://github.com/solutions/executive-insights"> Executive Insights </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Open Source <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"github_sponsors","context":"open_source","tag":"link","label":"github_sponsors_link_open_source_navbar"}" href="/sponsors"> <div> <div class="color-fg-default h4">GitHub Sponsors</div> Fund open source developers </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"the_readme_project","context":"open_source","tag":"link","label":"the_readme_project_link_open_source_navbar"}" href="https://github.com/readme"> <div> <div class="color-fg-default h4">The ReadME Project</div> GitHub community articles </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="open-source-repositories-heading">Repositories</span> <ul class="list-style-none f5" aria-labelledby="open-source-repositories-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"topics","context":"open_source","tag":"link","label":"topics_link_open_source_navbar"}" href="https://github.com/topics"> Topics </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"trending","context":"open_source","tag":"link","label":"trending_link_open_source_navbar"}" href="https://github.com/trending"> Trending </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"collections","context":"open_source","tag":"link","label":"collections_link_open_source_navbar"}" href="https://github.com/collections"> Collections </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Enterprise <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"enterprise_platform","context":"enterprise","tag":"link","label":"enterprise_platform_link_enterprise_navbar"}" href="/enterprise"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-stack color-fg-subtle mr-3"> <path d="M11.063 1.456a1.749 1.749 0 0 1 1.874 0l8.383 5.316a1.751 1.751 0 0 1 0 2.956l-8.383 5.316a1.749 1.749 0 0 1-1.874 0L2.68 9.728a1.751 1.751 0 0 1 0-2.956Zm1.071 1.267a.25.25 0 0 0-.268 0L3.483 8.039a.25.25 0 0 0 0 .422l8.383 5.316a.25.25 0 0 0 .268 0l8.383-5.316a.25.25 0 0 0 0-.422Z"></path><path d="M1.867 12.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path><path d="M1.867 16.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path> </svg> <div> <div class="color-fg-default h4">Enterprise platform</div> AI-powered developer platform </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="enterprise-available-add-ons-heading">Available add-ons</span> <ul class="list-style-none f5" aria-labelledby="enterprise-available-add-ons-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_advanced_security","context":"enterprise","tag":"link","label":"github_advanced_security_link_enterprise_navbar"}" href="https://github.com/security/advanced-security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Advanced Security</div> Enterprise-grade security features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"copilot_for_business","context":"enterprise","tag":"link","label":"copilot_for_business_link_enterprise_navbar"}" href="/features/copilot/copilot-business"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">Copilot for business</div> Enterprise-grade AI features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"premium_support","context":"enterprise","tag":"link","label":"premium_support_link_enterprise_navbar"}" href="/premium-support"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Premium Support</div> Enterprise-grade 24/7 support </div> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <a class="HeaderMenu-link no-underline px-0 px-lg-2 py-3 py-lg-2 d-block d-lg-inline-block" data-analytics-event="{"location":"navbar","action":"pricing","context":"global","tag":"link","label":"pricing_link_global_navbar"}" href="https://github.com/pricing">Pricing</a> </li> </ul> </nav> <div class="d-flex flex-column flex-lg-row width-full flex-justify-end flex-lg-items-center text-center mt-3 mt-lg-0 text-lg-left ml-lg-3"> <qbsearch-input class="search-input" data-scope="repo:mgechev/revive" data-custom-scopes-path="/search/custom_scopes" data-delete-custom-scopes-csrf="y5nO-G_1JtnC3bE-Farf7vMSD1KDwZiCcsDKP5HvQOOvjYg2TYTfgFxzQn-IbT23-xwKhPFzh5o0UjBtafAQeg" data-max-custom-scopes="10" data-header-redesign-enabled="false" data-initial-value="" data-blackbird-suggestions-path="/search/suggestions" data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations" data-current-repository="mgechev/revive" data-current-org="" data-current-owner="mgechev" data-logged-in="false" data-copilot-chat-enabled="false" data-nl-search-enabled="false" data-retain-scroll-position="true"> <div class="search-input-container search-with-dialog position-relative d-flex flex-row flex-items-center mr-4 rounded" data-action="click:qbsearch-input#searchInputContainerClicked" > <button type="button" class="header-search-button placeholder input-button form-control d-flex flex-1 flex-self-stretch flex-items-center no-wrap width-full py-0 pl-2 pr-0 text-left border-0 box-shadow-none" data-target="qbsearch-input.inputButton" aria-label="Search or jump to…" aria-haspopup="dialog" placeholder="Search or jump to..." data-hotkey=s,/ autocapitalize="off" data-analytics-event="{"location":"navbar","action":"searchbar","context":"global","tag":"input","label":"searchbar_input_global_navbar"}" data-action="click:qbsearch-input#handleExpand" > <div class="mr-2 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </div> <span class="flex-1" data-target="qbsearch-input.inputButtonText">Search or jump to...</span> <div class="d-flex" data-target="qbsearch-input.hotkeyIndicator"> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" aria-hidden="true" class="mr-1"><path fill="none" stroke="#979A9C" opacity=".4" d="M3.5.5h12c1.7 0 3 1.3 3 3v13c0 1.7-1.3 3-3 3h-12c-1.7 0-3-1.3-3-3v-13c0-1.7 1.3-3 3-3z"></path><path fill="#979A9C" d="M11.8 6L8 15.1h-.9L10.8 6h1z"></path></svg> </div> </button> <input type="hidden" name="type" class="js-site-search-type-field"> <div class="Overlay--hidden " data-modal-dialog-overlay> <modal-dialog data-action="close:qbsearch-input#handleClose cancel:qbsearch-input#handleClose" data-target="qbsearch-input.searchSuggestionsDialog" role="dialog" id="search-suggestions-dialog" aria-modal="true" aria-labelledby="search-suggestions-dialog-header" data-view-component="true" class="Overlay Overlay--width-large Overlay--height-auto"> <h1 id="search-suggestions-dialog-header" class="sr-only">Search code, repositories, users, issues, pull requests...</h1> <div class="Overlay-body Overlay-body--paddingNone"> <div data-view-component="true"> <div class="search-suggestions position-fixed width-full color-shadow-large border color-fg-default color-bg-default overflow-hidden d-flex flex-column query-builder-container" style="border-radius: 12px;" data-target="qbsearch-input.queryBuilderContainer" hidden > <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="query-builder-test-form" action="" accept-charset="UTF-8" method="get"> <query-builder data-target="qbsearch-input.queryBuilder" id="query-builder-query-builder-test" data-filter-key=":" data-view-component="true" class="QueryBuilder search-query-builder"> <div class="FormControl FormControl--fullWidth"> <label id="query-builder-test-label" for="query-builder-test" class="FormControl-label sr-only"> Search </label> <div class="QueryBuilder-StyledInput width-fit " data-target="query-builder.styledInput" > <span id="query-builder-test-leadingvisual-wrap" class="FormControl-input-leadingVisualWrap QueryBuilder-leadingVisualWrap"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search FormControl-input-leadingVisual"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </span> <div data-target="query-builder.styledInputContainer" class="QueryBuilder-StyledInputContainer"> <div aria-hidden="true" class="QueryBuilder-StyledInputContent" data-target="query-builder.styledInputContent" ></div> <div class="QueryBuilder-InputWrapper"> <div aria-hidden="true" class="QueryBuilder-Sizer" data-target="query-builder.sizer"></div> <input id="query-builder-test" name="query-builder-test" value="" autocomplete="off" type="text" role="combobox" spellcheck="false" aria-expanded="false" aria-describedby="validation-3f96456e-3f9b-4150-bac3-9215225a2144" data-target="query-builder.input" data-action=" input:query-builder#inputChange blur:query-builder#inputBlur keydown:query-builder#inputKeydown focus:query-builder#inputFocus " data-view-component="true" class="FormControl-input QueryBuilder-Input FormControl-medium" /> </div> </div> <span class="sr-only" id="query-builder-test-clear">Clear</span> <button role="button" id="query-builder-test-clear-button" aria-labelledby="query-builder-test-clear query-builder-test-label" data-target="query-builder.clearButton" data-action=" click:query-builder#clear focus:query-builder#clearButtonFocus blur:query-builder#clearButtonBlur " variant="small" hidden="hidden" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium mr-1 px-2 py-0 d-flex flex-items-center rounded-1 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x-circle-fill Button-visual"> <path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657ZM6.03 4.97a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.749.749 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.749.749 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.749.749 0 0 0-.734.215L8 6.94Z"></path> </svg> </button> </div> <template id="search-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </template> <template id="code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="file-code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-code"> <path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path> </svg> </template> <template id="history-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-history"> <path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path> </svg> </template> <template id="repo-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> </template> <template id="bookmark-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bookmark"> <path d="M3 2.75C3 1.784 3.784 1 4.75 1h6.5c.966 0 1.75.784 1.75 1.75v11.5a.75.75 0 0 1-1.227.579L8 11.722l-3.773 3.107A.751.751 0 0 1 3 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.91l3.023-2.489a.75.75 0 0 1 .954 0l3.023 2.49V2.75a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="plus-circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus-circle"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7.25-3.25v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> </template> <template id="trash-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-trash"> <path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75ZM4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.748 1.748 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15ZM6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Z"></path> </svg> </template> <template id="team-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-people"> <path d="M2 5.5a3.5 3.5 0 1 1 5.898 2.549 5.508 5.508 0 0 1 3.034 4.084.75.75 0 1 1-1.482.235 4 4 0 0 0-7.9 0 .75.75 0 0 1-1.482-.236A5.507 5.507 0 0 1 3.102 8.05 3.493 3.493 0 0 1 2 5.5ZM11 4a3.001 3.001 0 0 1 2.22 5.018 5.01 5.01 0 0 1 2.56 3.012.749.749 0 0 1-.885.954.752.752 0 0 1-.549-.514 3.507 3.507 0 0 0-2.522-2.372.75.75 0 0 1-.574-.73v-.352a.75.75 0 0 1 .416-.672A1.5 1.5 0 0 0 11 5.5.75.75 0 0 1 11 4Zm-5.5-.5a2 2 0 1 0-.001 3.999A2 2 0 0 0 5.5 3.5Z"></path> </svg> </template> <template id="project-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-project"> <path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25ZM11.75 3a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-1.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0ZM8 3a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 3Z"></path> </svg> </template> <template id="pencil-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil"> <path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"></path> </svg> </template> <template id="copilot-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot"> <path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="copilot-error-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot-error"> <path d="M16 11.24c0 .112-.072.274-.21.467L13 9.688V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-.198 0-.388-.009-.571-.029L6.833 5.226a4.01 4.01 0 0 0 .17-.782c.117-.935-.037-1.395-.241-1.614-.193-.206-.637-.413-1.682-.297-.683.076-1.115.231-1.395.415l-1.257-.91c.579-.564 1.413-.877 2.485-.996 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095Zm-5.083-8.707c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Zm2.511 11.074c-1.393.776-3.272 1.428-5.43 1.428-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.18-.455-.241-.963-.252-1.475L.31 4.107A.747.747 0 0 1 0 3.509V3.49a.748.748 0 0 1 .625-.73c.156-.026.306.047.435.139l14.667 10.578a.592.592 0 0 1 .227.264.752.752 0 0 1 .046.249v.022a.75.75 0 0 1-1.19.596Zm-1.367-.991L5.635 7.964a5.128 5.128 0 0 1-.889.073c-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433 1.539 0 3.089-.505 4.063-.934Z"></path> </svg> </template> <template id="workflow-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-workflow"> <path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="book-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> </template> <template id="code-review-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-review"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 13H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25v-8.5C0 1.784.784 1 1.75 1ZM1.5 2.75v8.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm5.28 1.72a.75.75 0 0 1 0 1.06L5.31 7l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.75.75 0 0 1 1.06 0Zm2.44 0a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.69 7 9.22 5.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="codespaces-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-codespaces"> <path d="M0 11.25c0-.966.784-1.75 1.75-1.75h12.5c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm2-9.5C2 .784 2.784 0 3.75 0h8.5C13.216 0 14 .784 14 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-8.5A1.75 1.75 0 0 1 2 6.75Zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25Zm-2 9.5a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-3a.25.25 0 0 0-.25-.25Z"></path><path d="M7 12.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> </template> <template id="comment-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment"> <path d="M1 2.75C1 1.784 1.784 1 2.75 1h10.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 13.25 12H9.06l-2.573 2.573A1.458 1.458 0 0 1 4 13.543V12H2.75A1.75 1.75 0 0 1 1 10.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h4.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="comment-discussion-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> </template> <template id="organization-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-organization"> <path d="M1.75 16A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 0 0 .25-.25V8.285a.25.25 0 0 0-.111-.208l-1.055-.703a.749.749 0 1 1 .832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0 1 14.25 16h-3.5a.766.766 0 0 1-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 0 1-.75-.75V14h-1v1.25a.75.75 0 0 1-.75.75Zm-.25-1.75c0 .138.112.25.25.25H4v-1.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 .75.75v1.25h2.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM3.75 6h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 3.75A.75.75 0 0 1 3.75 3h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 3.75Zm4 3A.75.75 0 0 1 7.75 6h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 7 6.75ZM7.75 3h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 9.75A.75.75 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 9.75ZM7.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="rocket-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-rocket"> <path d="M14.064 0h.186C15.216 0 16 .784 16 1.75v.186a8.752 8.752 0 0 1-2.564 6.186l-.458.459c-.314.314-.641.616-.979.904v3.207c0 .608-.315 1.172-.833 1.49l-2.774 1.707a.749.749 0 0 1-1.11-.418l-.954-3.102a1.214 1.214 0 0 1-.145-.125L3.754 9.816a1.218 1.218 0 0 1-.124-.145L.528 8.717a.749.749 0 0 1-.418-1.11l1.71-2.774A1.748 1.748 0 0 1 3.31 4h3.204c.288-.338.59-.665.904-.979l.459-.458A8.749 8.749 0 0 1 14.064 0ZM8.938 3.623h-.002l-.458.458c-.76.76-1.437 1.598-2.02 2.5l-1.5 2.317 2.143 2.143 2.317-1.5c.902-.583 1.74-1.26 2.499-2.02l.459-.458a7.25 7.25 0 0 0 2.123-5.127V1.75a.25.25 0 0 0-.25-.25h-.186a7.249 7.249 0 0 0-5.125 2.123ZM3.56 14.56c-.732.732-2.334 1.045-3.005 1.148a.234.234 0 0 1-.201-.064.234.234 0 0 1-.064-.201c.103-.671.416-2.273 1.15-3.003a1.502 1.502 0 1 1 2.12 2.12Zm6.94-3.935c-.088.06-.177.118-.266.175l-2.35 1.521.548 1.783 1.949-1.2a.25.25 0 0 0 .119-.213ZM3.678 8.116 5.2 5.766c.058-.09.117-.178.176-.266H3.309a.25.25 0 0 0-.213.119l-1.2 1.95ZM12 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </template> <template id="shield-check-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield-check"> <path d="m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="heart-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-heart"> <path d="m8 14.25.345.666a.75.75 0 0 1-.69 0l-.008-.004-.018-.01a7.152 7.152 0 0 1-.31-.17 22.055 22.055 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5 0 2.836 2.086 1 4.25 1 5.797 1 7.153 1.802 8 3.02 8.847 1.802 10.203 1 11.75 1 13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22.066 22.066 0 0 1-3.744 2.584l-.018.01-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3 0 2.15 1.58 4.144 3.365 5.682A20.58 20.58 0 0 0 8 13.393a20.58 20.58 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5Z"></path> </svg> </template> <template id="server-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-server"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v4c0 .372-.116.717-.314 1 .198.283.314.628.314 1v4a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 12.75v-4c0-.358.109-.707.314-1a1.739 1.739 0 0 1-.314-1v-4C0 1.784.784 1 1.75 1ZM1.5 2.75v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm.25 5.75a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25ZM7 4.75A.75.75 0 0 1 7.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 7 4.75ZM7.75 10h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM3 4.75A.75.75 0 0 1 3.75 4h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 4.75ZM3.75 10h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="globe-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-globe"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM5.78 8.75a9.64 9.64 0 0 0 1.363 4.177c.255.426.542.832.857 1.215.245-.296.551-.705.857-1.215A9.64 9.64 0 0 0 10.22 8.75Zm4.44-1.5a9.64 9.64 0 0 0-1.363-4.177c-.307-.51-.612-.919-.857-1.215a9.927 9.927 0 0 0-.857 1.215A9.64 9.64 0 0 0 5.78 7.25Zm-5.944 1.5H1.543a6.507 6.507 0 0 0 4.666 5.5c-.123-.181-.24-.365-.352-.552-.715-1.192-1.437-2.874-1.581-4.948Zm-2.733-1.5h2.733c.144-2.074.866-3.756 1.58-4.948.12-.197.237-.381.353-.552a6.507 6.507 0 0 0-4.666 5.5Zm10.181 1.5c-.144 2.074-.866 3.756-1.58 4.948-.12.197-.237.381-.353.552a6.507 6.507 0 0 0 4.666-5.5Zm2.733-1.5a6.507 6.507 0 0 0-4.666-5.5c.123.181.24.365.353.552.714 1.192 1.436 2.874 1.58 4.948Z"></path> </svg> </template> <template id="issue-opened-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </template> <template id="device-mobile-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-mobile"> <path d="M3.75 0h8.5C13.216 0 14 .784 14 1.75v12.5A1.75 1.75 0 0 1 12.25 16h-8.5A1.75 1.75 0 0 1 2 14.25V1.75C2 .784 2.784 0 3.75 0ZM3.5 1.75v12.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path> </svg> </template> <template id="package-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-package"> <path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"></path> </svg> </template> <template id="credit-card-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-credit-card"> <path d="M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"></path><path d="M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z"></path> </svg> </template> <template id="play-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </template> <template id="gift-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-gift"> <path d="M2 2.75A2.75 2.75 0 0 1 4.75 0c.983 0 1.873.42 2.57 1.232.268.318.497.668.68 1.042.183-.375.411-.725.68-1.044C9.376.42 10.266 0 11.25 0a2.75 2.75 0 0 1 2.45 4h.55c.966 0 1.75.784 1.75 1.75v2c0 .698-.409 1.301-1 1.582v4.918A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25V9.332C.409 9.05 0 8.448 0 7.75v-2C0 4.784.784 4 1.75 4h.55c-.192-.375-.3-.8-.3-1.25ZM7.25 9.5H2.5v4.75c0 .138.112.25.25.25h4.5Zm1.5 0v5h4.5a.25.25 0 0 0 .25-.25V9.5Zm0-4V8h5.5a.25.25 0 0 0 .25-.25v-2a.25.25 0 0 0-.25-.25Zm-7 0a.25.25 0 0 0-.25.25v2c0 .138.112.25.25.25h5.5V5.5h-5.5Zm3-4a1.25 1.25 0 0 0 0 2.5h2.309c-.233-.818-.542-1.401-.878-1.793-.43-.502-.915-.707-1.431-.707ZM8.941 4h2.309a1.25 1.25 0 0 0 0-2.5c-.516 0-1 .205-1.43.707-.337.392-.646.975-.879 1.793Z"></path> </svg> </template> <template id="code-square-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-square"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Zm7.47 3.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L10.69 8 9.22 6.53a.75.75 0 0 1 0-1.06ZM6.78 6.53 5.31 8l1.47 1.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="device-desktop-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-desktop"> <path d="M14.25 1c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 14.25 12h-3.727c.099 1.041.52 1.872 1.292 2.757A.752.752 0 0 1 11.25 16h-6.5a.75.75 0 0 1-.565-1.243c.772-.885 1.192-1.716 1.292-2.757H1.75A1.75 1.75 0 0 1 0 10.25v-7.5C0 1.784.784 1 1.75 1ZM1.75 2.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25ZM9.018 12H6.982a5.72 5.72 0 0 1-.765 2.5h3.566a5.72 5.72 0 0 1-.765-2.5Z"></path> </svg> </template> <div class="position-relative"> <ul role="listbox" class="ActionListWrap QueryBuilder-ListWrap" aria-label="Suggestions" data-action=" combobox-commit:query-builder#comboboxCommit mousedown:query-builder#resultsMousedown " data-target="query-builder.resultsList" data-persist-list=false id="query-builder-test-results" ></ul> </div> <div class="FormControl-inlineValidation" id="validation-3f96456e-3f9b-4150-bac3-9215225a2144" hidden="hidden"> <span class="FormControl-inlineValidation--visual"> <svg aria-hidden="true" height="12" viewBox="0 0 12 12" version="1.1" width="12" data-view-component="true" class="octicon octicon-alert-fill"> <path d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 0 1-1.146 1.954H1.33A1.313 1.313 0 0 1 .183 9.058ZM7 7V3H5v4Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path> </svg> </span> <span></span> </div> </div> <div data-target="query-builder.screenReaderFeedback" aria-live="polite" aria-atomic="true" class="sr-only"></div> </query-builder></form> <div class="d-flex flex-row color-fg-muted px-3 text-small color-bg-default search-feedback-prompt"> <a target="_blank" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax" data-view-component="true" class="Link color-fg-accent text-normal ml-2">Search syntax tips</a> <div class="d-flex flex-1"></div> </div> </div> </div> </div> </modal-dialog></div> </div> <div data-action="click:qbsearch-input#retract" class="dark-backdrop position-fixed" hidden data-target="qbsearch-input.darkBackdrop"></div> <div class="color-fg-default"> <dialog-helper> <dialog data-target="qbsearch-input.feedbackDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="feedback-dialog" aria-modal="true" aria-labelledby="feedback-dialog-title" aria-describedby="feedback-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="feedback-dialog-title"> Provide feedback </h1> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="feedback-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="feedback-dialog-title"> <div data-view-component="true" class="Overlay-body"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="code-search-feedback-form" data-turbo="false" action="/search/feedback" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="1IjtSZYVNeLYSZwUQ01wxtkLTMGtsNCcf7LB3JRGdu6HoBfbfnf8EpV1e5oMeqJH4IWFfmbSTdZSlPKhAoNc+g==" /> <p>We read every piece of feedback, and take your input very seriously.</p> <textarea name="feedback" class="form-control width-full mb-2" style="height: 120px" id="feedback"></textarea> <input name="include_email" id="include_email" aria-label="Include my email address so I can be contacted" class="form-control mr-2" type="checkbox"> <label for="include_email" style="font-weight: normal">Include my email address so I can be contacted</label> </form></div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd"> <button data-close-dialog-id="feedback-dialog" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="code-search-feedback-form" data-action="click:qbsearch-input#submitFeedback" type="submit" data-view-component="true" class="btn-primary btn"> Submit feedback </button> </div> </dialog></dialog-helper> <custom-scopes data-target="qbsearch-input.customScopesManager"> <dialog-helper> <dialog data-target="custom-scopes.customScopesModalDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="custom-scopes-dialog" aria-modal="true" aria-labelledby="custom-scopes-dialog-title" aria-describedby="custom-scopes-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header Overlay-header--divided"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="custom-scopes-dialog-title"> Saved searches </h1> <h2 id="custom-scopes-dialog-description" class="Overlay-description">Use saved searches to filter your results more quickly</h2> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="custom-scopes-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="custom-scopes-dialog-title"> <div data-view-component="true" class="Overlay-body"> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <div hidden class="create-custom-scope-form" data-target="custom-scopes.createCustomScopeForm"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="custom-scopes-dialog-form" data-turbo="false" action="/search/custom_scopes" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="V39i0XPCK0czpSXFFOsYBIx3le73/jDuTIIZQuEMeMdp3xwqVmLY4G0pwrEK3H5TK1xBL/oBoq/vFMNPuFvORg==" /> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <input type="hidden" id="custom_scope_id" name="custom_scope_id" data-target="custom-scopes.customScopesIdField"> <div class="form-group"> <label for="custom_scope_name">Name</label> <auto-check src="/search/custom_scopes/check_name" required only-validate-on-blur="false"> <input type="text" name="custom_scope_name" id="custom_scope_name" data-target="custom-scopes.customScopesNameField" class="form-control" autocomplete="off" placeholder="github-ruby" required maxlength="50"> <input type="hidden" data-csrf="true" value="bLJpQLKzuDeVGHBJ3f//i07dOfZ8nBHr5UJRUtI6TWWluYY5dDiKl+bnT4LeC0GTQfyr+KEMXoLmDouB3rYdDA==" /> </auto-check> </div> <div class="form-group"> <label for="custom_scope_query">Query</label> <input type="text" name="custom_scope_query" id="custom_scope_query" data-target="custom-scopes.customScopesQueryField" class="form-control" autocomplete="off" placeholder="(repo:mona/a OR repo:mona/b) AND lang:python" required maxlength="500"> </div> <p class="text-small color-fg-muted"> To see all available qualifiers, see our <a class="Link--inTextBlock" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax">documentation</a>. </p> </form> </div> <div data-target="custom-scopes.manageCustomScopesForm"> <div data-target="custom-scopes.list"></div> </div> </div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd Overlay-footer--divided"> <button data-action="click:custom-scopes#customScopesCancel" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="custom-scopes-dialog-form" data-action="click:custom-scopes#customScopesSubmit" data-target="custom-scopes.customScopesSubmitButton" type="submit" data-view-component="true" class="btn-primary btn"> Create saved search </button> </div> </dialog></dialog-helper> </custom-scopes> </div> </qbsearch-input> <div class="position-relative HeaderMenu-link-wrap d-lg-inline-block"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive" class="HeaderMenu-link HeaderMenu-link--sign-in HeaderMenu-button flex-shrink-0 no-underline d-none d-lg-inline-flex border border-lg-0 rounded rounded-lg-0 px-2 py-1" style="margin-left: 12px;" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="245a2bbc56a7bccb1ea0983a35ea103b402b50add3c1b672ab1d1814c203eae9" data-analytics-event="{"category":"Marketing nav","action":"click to go to homepage","label":"ref_page:Marketing;ref_cta:Sign in;ref_loc:Header"}" > Sign in </a> </div> <a href="/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=mgechev%2Frevive" class="HeaderMenu-link HeaderMenu-link--sign-up HeaderMenu-button flex-shrink-0 d-flex d-lg-inline-flex no-underline border color-border-default rounded px-2 py-1" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="245a2bbc56a7bccb1ea0983a35ea103b402b50add3c1b672ab1d1814c203eae9" data-analytics-event="{"category":"Sign up","action":"click to sign up for account","label":"ref_page:/<user-name>/<repo-name>;ref_cta:Sign up;ref_loc:header logged out"}" > Sign up </a> <button type="button" class="sr-only js-header-menu-focus-trap d-block d-lg-none">Reseting focus</button> </div> </div> </div> </div> </header> <div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <button id="icon-button-a08437bb-45f3-4473-82f2-2305bb789b77" aria-labelledby="tooltip-7b423301-db18-4439-9620-ea02f7411b58" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button><tool-tip id="tooltip-7b423301-db18-4439-9620-ea02f7411b58" for="icon-button-a08437bb-45f3-4473-82f2-2305bb789b77" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip> </div> </div> <div id="start-of-content" class="show-on-focus"></div> <div id="js-flash-container" class="flash-container" data-turbo-replace> <template class="js-flash-template"> <div class="flash flash-full {{ className }}"> <div > <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div aria-atomic="true" role="alert" class="js-flash-alert"> <div>{{ message }}</div> </div> </div> </div> </template> </div> <div class="application-main " data-commit-hovercards-enabled data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled data-project-hovercards-enabled > <div itemscope itemtype="http://schema.org/SoftwareSourceCode" class=""> <main id="js-repo-pjax-container" > <div id="repository-container-header" class="pt-3 hide-full-screen" style="background-color: var(--page-header-bgColor, var(--color-page-header-bg));" data-turbo-replace> <div class="d-flex flex-nowrap flex-justify-end mb-3 px-3 px-lg-5" style="gap: 1rem;"> <div class="flex-auto min-width-0 width-fit"> <div class=" d-flex flex-wrap flex-items-center wb-break-word f3 text-normal"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo color-fg-muted mr-2"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> <span class="author flex-self-stretch" itemprop="author"> <a class="url fn" rel="author" data-hovercard-type="user" data-hovercard-url="/users/mgechev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/mgechev"> mgechev </a> </span> <span class="mx-1 flex-self-stretch color-fg-muted">/</span> <strong itemprop="name" class="mr-2 flex-self-stretch"> <a data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/mgechev/revive">revive</a> </strong> <span></span><span class="Label Label--secondary v-align-middle mr-1">Public</span> </div> </div> <div id="repository-details-container" class="flex-shrink-0" data-turbo-replace style="max-width: 70%;"> <ul class="pagehead-actions flex-shrink-0 d-none d-md-inline" style="padding: 2px 0;"> <li> <a href="/login?return_to=%2Fmgechev%2Frevive" rel="nofollow" id="repository-details-watch-button" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="777ff51496ab00ade0582530607142780f40042eaecb80f4f529812c11582a95" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bell mr-2"> <path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16ZM3 5a5 5 0 0 1 10 0v2.947c0 .05.015.098.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.255.255 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556a.017.017 0 0 0-.003.01l.001.006c0 .002.002.004.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007a.017.017 0 0 0-.003-.01l-1.703-2.554a1.745 1.745 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5Z"></path> </svg>Notifications </a> <tool-tip id="tooltip-8661edef-f4e7-49c7-ac00-1b8a4ecde949" for="repository-details-watch-button" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You must be signed in to change notification settings</tool-tip> </li> <li> <a icon="repo-forked" id="fork-button" href="/login?return_to=%2Fmgechev%2Frevive" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":96237042,"auth_type":"LOG_IN","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="acfc16ae82793787bb3ba3828e0b465012806011fe648b8299c64b708b9f2b01" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg>Fork <span id="repo-network-counter" data-pjax-replace="true" data-turbo-replace="true" title="290" data-view-component="true" class="Counter">290</span> </a> </li> <li> <div data-view-component="true" class="BtnGroup d-flex"> <a href="/login?return_to=%2Fmgechev%2Frevive" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":96237042,"auth_type":"LOG_IN","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="da3c275b83e8e83e92f42a01fa7cf50916eae94339a7b3dbda3569c15b770277" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-sw btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg><span data-view-component="true" class="d-inline"> Star </span> <span id="repo-stars-counter-star" aria-label="5096 users starred this repository" data-singular-suffix="user starred this repository" data-plural-suffix="users starred this repository" data-turbo-replace="true" title="5,096" data-view-component="true" class="Counter js-social-count">5.1k</span> </a></div> </li> </ul> </div> </div> <div id="responsive-meta-container" data-turbo-replace> <div class="d-block d-md-none mb-2 px-3 px-md-4 px-lg-5"> <p class="f4 mb-3 "> 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint </p> <div class="mb-2 d-flex flex-items-center Link--secondary"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link flex-shrink-0 mr-2"> <path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path> </svg> <span class="flex-auto min-width-0 css-truncate css-truncate-target width-fit"> <a title="https://revive.run" role="link" target="_blank" class="text-bold" rel="noopener noreferrer" href="https://revive.run">revive.run</a> </span> </div> <h3 class="sr-only">License</h3> <div class="mb-2"> <a href="/mgechev/revive/blob/master/LICENSE" class="Link--muted" data-analytics-event="{"category":"Repository Overview","action":"click","label":"location:sidebar;file:license"}" > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-law mr-2"> <path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path> </svg> MIT license </a> </div> <div class="mb-3"> <a class="Link--secondary no-underline mr-3" href="/mgechev/revive/stargazers"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star mr-1"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg> <span class="text-bold">5.1k</span> stars </a> <a class="Link--secondary no-underline mr-3" href="/mgechev/revive/forks"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-1"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg> <span class="text-bold">290</span> forks </a> <a class="Link--secondary no-underline mr-3 d-inline-block" href="/mgechev/revive/branches"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-branch mr-1"> <path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path> </svg> <span>Branches</span> </a> <a class="Link--secondary no-underline d-inline-block" href="/mgechev/revive/tags"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-tag mr-1"> <path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path> </svg> <span>Tags</span> </a> <a class="Link--secondary no-underline d-inline-block" href="/mgechev/revive/activity"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pulse mr-1"> <path d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.751.751 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77 4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.751.751 0 0 1 6 2Z"></path> </svg> <span>Activity</span> </a> </div> <div class="d-flex flex-wrap gap-2"> <div class="flex-1"> <div data-view-component="true" class="BtnGroup d-flex"> <a href="/login?return_to=%2Fmgechev%2Frevive" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":96237042,"auth_type":"LOG_IN","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="da3c275b83e8e83e92f42a01fa7cf50916eae94339a7b3dbda3569c15b770277" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-sw btn-sm btn btn-block"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg><span data-view-component="true" class="d-inline"> Star </span> </a></div> </div> <div class="flex-1"> <a href="/login?return_to=%2Fmgechev%2Frevive" rel="nofollow" id="files-overview-watch-button" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/mgechev/revive","user_id":null}}" data-hydro-click-hmac="777ff51496ab00ade0582530607142780f40042eaecb80f4f529812c11582a95" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn btn-block"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bell mr-2"> <path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16ZM3 5a5 5 0 0 1 10 0v2.947c0 .05.015.098.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.255.255 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556a.017.017 0 0 0-.003.01l.001.006c0 .002.002.004.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007a.017.017 0 0 0-.003-.01l-1.703-2.554a1.745 1.745 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5Z"></path> </svg>Notifications </a> <tool-tip id="tooltip-1e44933e-b566-4736-bf57-8edb9fa778d1" for="files-overview-watch-button" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You must be signed in to change notification settings</tool-tip> </div> <span> </span> </div> </div> </div> <nav data-pjax="#js-repo-pjax-container" aria-label="Repository" data-view-component="true" class="js-repo-nav js-sidenav-container-pjax js-responsive-underlinenav overflow-hidden UnderlineNav px-3 px-md-4 px-lg-5"> <ul data-view-component="true" class="UnderlineNav-body list-style-none"> <li data-view-component="true" class="d-inline-flex"> <a id="code-tab" href="/mgechev/revive" data-tab-item="i0code-tab" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages repo_deployments repo_attestations /mgechev/revive" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g c" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Code","target":"UNDERLINE_NAV.TAB"}" aria-current="page" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item selected"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code UnderlineNav-octicon d-none d-sm-inline"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> <span data-content="Code">Code</span> <span id="code-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="issues-tab" href="/mgechev/revive/issues" data-tab-item="i1issues-tab" data-selected-links="repo_issues repo_labels repo_milestones /mgechev/revive/issues" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g i" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Issues","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> <span data-content="Issues">Issues</span> <span id="issues-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="40" data-view-component="true" class="Counter">40</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="pull-requests-tab" href="/mgechev/revive/pulls" data-tab-item="i2pull-requests-tab" data-selected-links="repo_pulls checks /mgechev/revive/pulls" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g p" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Pull requests","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> <span data-content="Pull requests">Pull requests</span> <span id="pull-requests-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="3" data-view-component="true" class="Counter">3</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="actions-tab" href="/mgechev/revive/actions" data-tab-item="i3actions-tab" data-selected-links="repo_actions /mgechev/revive/actions" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g a" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Actions","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> <span data-content="Actions">Actions</span> <span id="actions-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="projects-tab" href="/mgechev/revive/projects" data-tab-item="i4projects-tab" data-selected-links="repo_projects new_repo_project repo_project /mgechev/revive/projects" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g b" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Projects","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-table UnderlineNav-octicon d-none d-sm-inline"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"></path> </svg> <span data-content="Projects">Projects</span> <span id="projects-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="0" hidden="hidden" data-view-component="true" class="Counter">0</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="security-tab" href="/mgechev/revive/security" data-tab-item="i5security-tab" data-selected-links="security overview alerts policy token_scanning code_scanning /mgechev/revive/security" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g s" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Security","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield UnderlineNav-octicon d-none d-sm-inline"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span data-content="Security">Security</span> <include-fragment src="/mgechev/revive/security/overall-count" accept="text/fragment+html"></include-fragment> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="insights-tab" href="/mgechev/revive/pulse" data-tab-item="i6insights-tab" data-selected-links="repo_graphs repo_contributors dependency_graph dependabot_updates pulse people community /mgechev/revive/pulse" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Insights","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> <span data-content="Insights">Insights</span> <span id="insights-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> </ul> <div style="visibility:hidden;" data-view-component="true" class="UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0"> <action-menu data-select-variant="none" data-view-component="true"> <focus-group direction="vertical" mnemonics retain> <button id="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-button" popovertarget="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-overlay" aria-controls="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-list" aria-haspopup="true" aria-labelledby="tooltip-de3d2947-bf7e-46bc-8553-97f3801913ee" type="button" data-view-component="true" class="Button Button--iconOnly Button--secondary Button--medium UnderlineNav-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal Button-visual"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </button><tool-tip id="tooltip-de3d2947-bf7e-46bc-8553-97f3801913ee" for="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-button" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Additional navigation options</tool-tip> <anchored-position data-target="action-menu.overlay" id="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-overlay" anchor="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true"> <div data-view-component="true" class="Overlay Overlay--size-auto"> <div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <action-list> <div data-view-component="true"> <ul aria-labelledby="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-button" id="action-menu-8302dde0-03b0-45ea-a874-caa357b0adc3-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap"> <li hidden="hidden" data-menu-item="i0code-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-2cb6df77-200e-4988-96ea-34f667bd23ef" href="/mgechev/revive" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Code </span> </a> </li> <li hidden="hidden" data-menu-item="i1issues-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-e4d89b3a-f808-4475-829d-2ff38bc4497a" href="/mgechev/revive/issues" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Issues </span> </a> </li> <li hidden="hidden" data-menu-item="i2pull-requests-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-7c9ca989-b5c5-4d1d-b462-7f62338aec0e" href="/mgechev/revive/pulls" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Pull requests </span> </a> </li> <li hidden="hidden" data-menu-item="i3actions-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-6d161c83-0e74-4162-a763-1b33d0c7ac92" href="/mgechev/revive/actions" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Actions </span> </a> </li> <li hidden="hidden" data-menu-item="i4projects-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-e1d7ac3c-76bc-4325-928e-ca975c25988f" href="/mgechev/revive/projects" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-table"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Projects </span> </a> </li> <li hidden="hidden" data-menu-item="i5security-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-d7fa6ecf-da73-4fc0-9c00-36e55501947d" href="/mgechev/revive/security" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Security </span> </a> </li> <li hidden="hidden" data-menu-item="i6insights-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-51b8cf8c-e0c9-413f-8fba-23d96a0e1fc4" href="/mgechev/revive/pulse" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Insights </span> </a> </li> </ul> </div></action-list> </div> </div></anchored-position> </focus-group> </action-menu></div> </nav> </div> <turbo-frame id="repo-content-turbo-frame" target="_top" data-turbo-action="advance" class=""> <div id="repo-content-pjax-container" class="repository-content " > <h1 class='sr-only'>mgechev/revive</h1> <div class="clearfix container-xl px-md-4 px-lg-5 px-3"> <div> <div style="max-width: 100%" data-view-component="true" class="Layout Layout--flowRow-until-md react-repos-overview-margin Layout--sidebarPosition-end Layout--sidebarPosition-flowRow-end"> <div data-view-component="true" class="Layout-main"> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_dompurify_dist_purify_es_mjs-dd1d3ea6a436.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_tanstack_query-core_build_modern_queryObserver_js-node_modules_tanstack_-defd52-843b41414e0e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_aria-live_aria-live_ts-ui_packages_history_history_ts-ui_packages_promise-with-re-01dc80-b13b6c1d97b0.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_paths_index_ts-04e7ec2d63d9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_ref-selector_RefSelector_tsx-7496afc3784d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_commit-attribution_index_ts-ui_packages_commit-checks-status_index_ts-ui_packages-762eaa-d78307eadb45.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_code-view-shared_hooks_use-canonical-object_ts-ui_packages_code-view-shared_hooks-c2dbff-fc59bb4d3e8c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/repos-overview-4ec6cc265f7f.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.7110f8bed75b67122d7a.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repos-overview.0ee7cac3ab511a65d9f9.module.css" /> <react-partial partial-name="repos-overview" data-ssr="true" data-attempted-ssr="true" > <script type="application/json" data-target="react-partial.embeddedData">{"props":{"initialPayload":{"allShortcutsEnabled":false,"path":"/","repo":{"id":96237042,"defaultBranch":"master","name":"revive","ownerLogin":"mgechev","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-07-04T16:36:32.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/455023?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"master","listCacheKey":"v0:1743706542.0","canEdit":false,"refType":"branch","currentOid":"379856ae9c59da82b21856c234e4e15143a009b3"},"tree":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"assets","path":"assets","contentType":"directory"},{"name":"cli","path":"cli","contentType":"directory"},{"name":"config","path":"config","contentType":"directory"},{"name":"formatter","path":"formatter","contentType":"directory"},{"name":"internal","path":"internal","contentType":"directory"},{"name":"lint","path":"lint","contentType":"directory"},{"name":"logging","path":"logging","contentType":"directory"},{"name":"revivelib","path":"revivelib","contentType":"directory"},{"name":"rule","path":"rule","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"testdata","path":"testdata","contentType":"directory"},{"name":".docs-deploy-key.pem.enc","path":".docs-deploy-key.pem.enc","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".goreleaser.yml","path":".goreleaser.yml","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"DEVELOPING.md","path":"DEVELOPING.md","contentType":"file"},{"name":"Dockerfile","path":"Dockerfile","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"RULES_DESCRIPTIONS.md","path":"RULES_DESCRIPTIONS.md","contentType":"file"},{"name":"defaults.toml","path":"defaults.toml","contentType":"file"},{"name":"go.mod","path":"go.mod","contentType":"file"},{"name":"go.sum","path":"go.sum","contentType":"file"},{"name":"main.go","path":"main.go","contentType":"file"},{"name":"renovate.json","path":"renovate.json","contentType":"file"},{"name":"revive.toml","path":"revive.toml","contentType":"file"},{"name":"untyped.toml","path":"untyped.toml","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":null,"totalCount":30,"showBranchInfobar":false},"fileTree":null,"fileTreeProcessingTime":null,"foldersToFetch":[],"treeExpanded":false,"symbolsExpanded":false,"isOverview":true,"overview":{"banners":{"shouldRecommendReadme":false,"isPersonalRepo":false,"showUseActionBanner":false,"actionSlug":null,"actionId":null,"showProtectBranchBanner":false,"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_repo","releasePath":"/mgechev/revive/releases/new?marketplace=true","showPublishActionBanner":false},"interactionLimitBanner":null,"showInvitationBanner":false,"inviterName":null,"actionsMigrationBannerInfo":{"releaseTags":[],"showImmutableActionsMigrationBanner":false,"initialMigrationStatus":null}},"codeButton":{"contactPath":"/contact","isEnterprise":false,"local":{"protocolInfo":{"httpAvailable":true,"sshAvailable":null,"httpUrl":"https://github.com/mgechev/revive.git","showCloneWarning":null,"sshUrl":null,"sshCertificatesRequired":null,"sshCertificatesAvailable":null,"ghCliUrl":"gh repo clone mgechev/revive","defaultProtocol":"http","newSshKeyUrl":"/settings/ssh/new","setProtocolPath":"/users/set_protocol"},"platformInfo":{"cloneUrl":"https://desktop.github.com","showVisualStudioCloneButton":false,"visualStudioCloneUrl":"https://windows.github.com","showXcodeCloneButton":false,"xcodeCloneUrl":"xcode://clone?repo=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive","zipballUrl":"/mgechev/revive/archive/refs/heads/master.zip"}},"newCodespacePath":"/codespaces/new?hide_repo_select=true\u0026repo=96237042"},"popovers":{"rename":null,"renamedParentRepo":null},"commitCount":"1,125","overviewFiles":[{"displayName":"README.md","repoName":"revive","refName":"master","path":"README.md","preferredFileType":"readme","tabName":"README","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cp dir=\"auto\"\u003e\u003ca href=\"https://github.com/mgechev/revive/actions/workflows/test.yaml\"\u003e\u003cimg src=\"https://github.com/mgechev/revive/actions/workflows/test.yaml/badge.svg\" alt=\"Build Status\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003erevive\u003c/h1\u003e\u003ca id=\"user-content-revive\" class=\"anchor\" aria-label=\"Permalink: revive\" href=\"#revive\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eFast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. \u003cstrong\u003e\u003ccode\u003eRevive\u003c/code\u003e provides a framework for development of custom rules, and lets you define a strict preset for enhancing your development \u0026amp; code review processes\u003c/strong\u003e.\u003c/p\u003e\n\u003cp align=\"center\" dir=\"auto\"\u003e\n \u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/logo.png\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/logo.png\" alt=\"\" width=\"300\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n \u003cbr\u003e\n Logo by \u003ca href=\"https://github.com/hawkgs\"\u003eGeorgi Serev\u003c/a\u003e\n\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eHere's how \u003ccode\u003erevive\u003c/code\u003e is different from \u003ccode\u003egolint\u003c/code\u003e:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eAllows to enable or disable rules using a configuration file.\u003c/li\u003e\n\u003cli\u003eAllows to configure the linting rules with a TOML file.\u003c/li\u003e\n\u003cli\u003e2x faster running the same rules as golint.\u003c/li\u003e\n\u003cli\u003eProvides functionality for disabling a specific rule or the entire linter for a file or a range of lines.\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ccode\u003egolint\u003c/code\u003e allows this only for generated files.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003eOptional type checking. Most rules in golint do not require type checking. If you disable them in the config file, revive will run over 6x faster than golint.\u003c/li\u003e\n\u003cli\u003eProvides multiple formatters which let us customize the output.\u003c/li\u003e\n\u003cli\u003eAllows to customize the return code for the entire linter or based on the failure of only some rules.\u003c/li\u003e\n\u003cli\u003e\u003cem\u003eEveryone can extend it easily with custom rules or formatters.\u003c/em\u003e\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003eRevive\u003c/code\u003e provides more rules compared to \u003ccode\u003egolint\u003c/code\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eWho uses Revive\u003c/h2\u003e\u003ca id=\"user-content-who-uses-revive\" class=\"anchor\" aria-label=\"Permalink: Who uses Revive\" href=\"#who-uses-revive\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/pingcap/tidb\"\u003e\u003ccode\u003etidb\u003c/code\u003e\u003c/a\u003e - TiDB is a distributed HTAP database compatible with the MySQL protocol\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/grafana/grafana\"\u003e\u003ccode\u003egrafana\u003c/code\u003e\u003c/a\u003e - The tool for beautiful monitoring and metric analytics \u0026amp; dashboards for Graphite, InfluxDB \u0026amp; Prometheus \u0026amp; More\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/etcd-io/etcd\"\u003e\u003ccode\u003eetcd\u003c/code\u003e\u003c/a\u003e - Distributed reliable key-value store for the most critical data of a distributed system\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/uber/cadence\"\u003e\u003ccode\u003ecadence\u003c/code\u003e\u003c/a\u003e - Cadence is a distributed, scalable, durable, and highly available orchestration engine by Uber to execute asynchronous long-running business logic in a scalable and resilient way\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/MontFerret/ferret\"\u003e\u003ccode\u003eferret\u003c/code\u003e\u003c/a\u003e - Declarative web scraping\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/gopasspw/gopass\"\u003e\u003ccode\u003egopass\u003c/code\u003e\u003c/a\u003e - The slightly more awesome standard unix password manager for teams\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/go-gitea/gitea\"\u003e\u003ccode\u003egitea\u003c/code\u003e\u003c/a\u003e - Git with a cup of tea, painless self-hosted git service\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/360EntSecGroup-Skylar/excelize\"\u003e\u003ccode\u003eexcelize\u003c/code\u003e\u003c/a\u003e - Go library for reading and writing Microsoft Excel™ (XLSX) files\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/xuri/aurora\"\u003e\u003ccode\u003eaurora\u003c/code\u003e\u003c/a\u003e - aurora is a web-based Beanstalk queue server console written in Go\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/XiaoMi/soar\"\u003e\u003ccode\u003esoar\u003c/code\u003e\u003c/a\u003e - SQL Optimizer And Rewriter\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/pyroscope-io/pyroscope\"\u003e\u003ccode\u003epyroscope\u003c/code\u003e\u003c/a\u003e - Continuous profiling platform\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/appleboy/gorush\"\u003e\u003ccode\u003egorush\u003c/code\u003e\u003c/a\u003e - A push notification server written in Go (Golang).\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/moncho/dry\"\u003e\u003ccode\u003edry\u003c/code\u003e\u003c/a\u003e - dry - A Docker manager for the terminal.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/chenjiandongx/go-echarts\"\u003e\u003ccode\u003ego-echarts\u003c/code\u003e\u003c/a\u003e - The adorable charts library for Golang\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/reviewdog/reviewdog\"\u003e\u003ccode\u003ereviewdog\u003c/code\u003e\u003c/a\u003e - Automated code review tool integrated with any code analysis tools regardless of programming language\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/rudderlabs/rudder-server\"\u003e\u003ccode\u003erudder-server\u003c/code\u003e\u003c/a\u003e - Privacy and Security focused Segment-alternative, in Golang and React.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/pa-m/sklearn\"\u003e\u003ccode\u003esklearn\u003c/code\u003e\u003c/a\u003e - A partial port of scikit-learn written in Go.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/pseudomuto/protoc-gen-doc\"\u003e\u003ccode\u003eprotoc-gen-doc\u003c/code\u003e\u003c/a\u003e - Documentation generator plugin for Google Protocol Buffers.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/llir/llvm\"\u003e\u003ccode\u003ellvm\u003c/code\u003e\u003c/a\u003e - Library for interacting with LLVM IR in pure Go.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/SAP/jenkins-library\"\u003e\u003ccode\u003ejenkins-library\u003c/code\u003e\u003c/a\u003e - Jenkins shared library for Continuous Delivery pipelines by SAP.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/tikv/pd\"\u003e\u003ccode\u003epd\u003c/code\u003e\u003c/a\u003e - Placement driver for TiKV.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/shellhub-io/shellhub\"\u003e\u003ccode\u003eshellhub\u003c/code\u003e\u003c/a\u003e - ShellHub enables teams to easily access any Linux device behind firewall and NAT.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/TheThingsNetwork/lorawan-stack\"\u003e\u003ccode\u003elorawan-stack\u003c/code\u003e\u003c/a\u003e - The Things Network Stack for LoRaWAN V3\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/appleboy/gin-jwt\"\u003e\u003ccode\u003egin-jwt\u003c/code\u003e\u003c/a\u003e - This is a JWT middleware for Gin framework.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/appleboy/gofight\"\u003e\u003ccode\u003egofight\u003c/code\u003e\u003c/a\u003e - Testing API Handler written in Golang.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/Clivern/Beaver\"\u003e\u003ccode\u003eBeaver\u003c/code\u003e\u003c/a\u003e - A Real Time Messaging Server.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/go-ggz/ggz\"\u003e\u003ccode\u003eggz\u003c/code\u003e\u003c/a\u003e - An URL shortener service written in Golang\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.codeac.io?ref=revive\" rel=\"nofollow\"\u003e\u003ccode\u003eCodeac.io\u003c/code\u003e\u003c/a\u003e - Automated code review service integrates with GitHub, Bitbucket and GitLab (even self-hosted) and helps you fight technical debt.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/apache/incubator-devlake\"\u003e\u003ccode\u003eDevLake\u003c/code\u003e\u003c/a\u003e - Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools,which can distill insights to improve engineering productivity.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/cinar/checker\"\u003e\u003ccode\u003echecker\u003c/code\u003e\u003c/a\u003e - Checker helps validating user input through rules defined in struct tags or directly through functions.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/milvus-io/milvus\"\u003e\u003ccode\u003emilvus\u003c/code\u003e\u003c/a\u003e - A cloud-native vector database, storage for next generation AI applications.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/cinar/indicator\"\u003e\u003ccode\u003eindicator\u003c/code\u003e\u003c/a\u003e - Indicator provides various technical analysis indicators, strategies, and a backtesting framework.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eOpen a PR to add your project\u003c/em\u003e.\u003c/p\u003e\n\u003cp align=\"center\" dir=\"auto\"\u003e\n \u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/demo.svg\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/demo.svg\" alt=\"\" width=\"700\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#revive\"\u003erevive\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#who-uses-revive\"\u003eWho uses Revive\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#docker\"\u003eDocker\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#bazel\"\u003eBazel\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#text-editors\"\u003eText Editors\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#github-actions\"\u003eGitHub Actions\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#continuous-integration\"\u003eContinuous Integration\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#linter-aggregators\"\u003eLinter aggregators\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#golangci-lint\"\u003egolangci-lint\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#command-line-flags\"\u003eCommand Line Flags\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#sample-invocations\"\u003eSample Invocations\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#comment-directives\"\u003eComment Directives\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#configuration\"\u003eConfiguration\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#default-configuration\"\u003eDefault Configuration\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#custom-configuration\"\u003eCustom Configuration\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#recommended-configuration\"\u003eRecommended Configuration\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#rule-level-file-excludes\"\u003eRule-level file excludes\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#available-rules\"\u003eAvailable Rules\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#configurable-rules\"\u003eConfigurable rules\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#var-naming\"\u003e\u003ccode\u003evar-naming\u003c/code\u003e\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#available-formatters\"\u003eAvailable Formatters\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#friendly\"\u003eFriendly\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#stylish\"\u003eStylish\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#default\"\u003eDefault\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#plain\"\u003ePlain\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#unix\"\u003eUnix\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#json\"\u003eJSON\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#ndjson\"\u003eNDJSON\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#checkstyle\"\u003eCheckstyle\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#sarif\"\u003eSARIF\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#extensibility\"\u003eExtensibility\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#writing-a-custom-rule\"\u003eWriting a Custom Rule\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#using-revive-as-a-library\"\u003eUsing \u003ccode\u003erevive\u003c/code\u003e as a library\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#custom-formatter\"\u003eCustom Formatter\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#speed-comparison\"\u003eSpeed Comparison\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#golint\"\u003egolint\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#revives-speed\"\u003erevive's speed\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#overriding-colorization-detection\"\u003eOverriding colorization detection\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#contributors\"\u003eContributors\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eInstallation\u003c/h2\u003e\u003ca id=\"user-content-installation\" class=\"anchor\" aria-label=\"Permalink: Installation\" href=\"#installation\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"go install github.com/mgechev/revive@latest\"\u003e\u003cpre\u003ego install github.com/mgechev/revive@latest\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eor get a released executable from the \u003ca href=\"https://github.com/mgechev/revive/releases\"\u003eReleases\u003c/a\u003e page.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eYou can install the main branch (including the last commit) with:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"go install github.com/mgechev/revive@master\"\u003e\u003cpre\u003ego install github.com/mgechev/revive@master\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eUsage\u003c/h2\u003e\u003ca id=\"user-content-usage\" class=\"anchor\" aria-label=\"Permalink: Usage\" href=\"#usage\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eSince the default behavior of \u003ccode\u003erevive\u003c/code\u003e is compatible with \u003ccode\u003egolint\u003c/code\u003e, without providing any additional flags, the only difference you'd notice is faster execution.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003erevive\u003c/code\u003e supports a \u003ccode\u003e-config\u003c/code\u003e flag whose value should correspond to a TOML file describing which rules to use for \u003ccode\u003erevive\u003c/code\u003e's linting. If not provided, \u003ccode\u003erevive\u003c/code\u003e will try to use a global config file (assumed to be located at \u003ccode\u003e$HOME/revive.toml\u003c/code\u003e). Otherwise, if no configuration TOML file is found then \u003ccode\u003erevive\u003c/code\u003e uses a built-in set of default linting rules.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDocker\u003c/h3\u003e\u003ca id=\"user-content-docker\" class=\"anchor\" aria-label=\"Permalink: Docker\" href=\"#docker\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eA volume must be mounted to share the current repository with the container.\nPlease refer to the \u003ca href=\"https://docs.docker.com/storage/bind-mounts/\" rel=\"nofollow\"\u003ebind mounts Docker documentation\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"docker run -v \u0026quot;$(pwd)\u0026quot;:/var/\u0026lt;repository\u0026gt; ghcr.io/mgechev/revive:v1.3.7 -config /var/\u0026lt;repository\u0026gt;/revive.toml -formatter stylish ./var/kidle/...\"\u003e\u003cpre\u003edocker run -v \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e$(\u003c/span\u003epwd\u003cspan class=\"pl-pds\"\u003e)\u003c/span\u003e\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:/var/\u003cspan class=\"pl-k\"\u003e\u0026lt;\u003c/span\u003erepository\u003cspan class=\"pl-k\"\u003e\u0026gt;\u003c/span\u003e ghcr.io/mgechev/revive:v1.3.7 -config /var/\u003cspan class=\"pl-k\"\u003e\u0026lt;\u003c/span\u003erepository\u003cspan class=\"pl-k\"\u003e\u0026gt;\u003c/span\u003e/revive.toml -formatter stylish ./var/kidle/...\u003c/pre\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ccode\u003e-v\u003c/code\u003e is for the volume\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003eghcr.io/mgechev/revive:v1.3.7 \u003c/code\u003e is the image name and its version corresponds to \u003ccode\u003erevive\u003c/code\u003e command\u003c/li\u003e\n\u003cli\u003eThe provided flags are the same as the binary usage.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBazel\u003c/h3\u003e\u003ca id=\"user-content-bazel\" class=\"anchor\" aria-label=\"Permalink: Bazel\" href=\"#bazel\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIf you want to use revive with Bazel, look at the \u003ca href=\"https://github.com/atlassian/bazel-tools/tree/master/gorevive\"\u003erules\u003c/a\u003e that Atlassian maintains.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eText Editors\u003c/h3\u003e\u003ca id=\"user-content-text-editors\" class=\"anchor\" aria-label=\"Permalink: Text Editors\" href=\"#text-editors\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eSupport for VSCode via \u003ca href=\"https://code.visualstudio.com/docs/languages/go#_build-and-diagnose\" rel=\"nofollow\"\u003evscode-go\u003c/a\u003e by changing the \u003ccode\u003ego.lintTool\u003c/code\u003e setting to \u003ccode\u003erevive\u003c/code\u003e:\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"highlight highlight-source-json notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"{\n \u0026quot;go.lintTool\u0026quot;: \u0026quot;revive\u0026quot;,\n}\"\u003e\u003cpre\u003e{\n \u003cspan class=\"pl-ent\"\u003e\"go.lintTool\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erevive\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n}\u003c/pre\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eSupport for GoLand via \u003ca href=\"https://dev.to/s0xzwasd/configure-revive-go-linter-in-goland-2ggl\" rel=\"nofollow\"\u003eFile Watchers\u003c/a\u003e.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eSupport for vim via \u003ca href=\"https://github.com/dense-analysis/ale\"\u003edense-analysis/ale\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-viml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"let g:ale_linters = {\n\\ 'go': ['revive'],\n\\}\"\u003e\u003cpre\u003e\u003cspan class=\"pl-k\"\u003elet\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003e\u003cspan class=\"pl-k\"\u003eg:\u003c/span\u003eale_linters\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e {\n\u003cspan class=\"pl-cce\"\u003e\\ \u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e'\u003c/span\u003ego\u003cspan class=\"pl-pds\"\u003e'\u003c/span\u003e\u003c/span\u003e: [\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e'\u003c/span\u003erevive\u003cspan class=\"pl-pds\"\u003e'\u003c/span\u003e\u003c/span\u003e],\n\u003cspan class=\"pl-cce\"\u003e\\}\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eSupport for Neovim via \u003ca href=\"https://github.com/jose-elias-alvarez/null-ls.nvim\"\u003enull-ls.nvim\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-lua notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"require(\u0026quot;null-ls\u0026quot;).setup({\n sources = {\n require(\u0026quot;null-ls\u0026quot;).builtins.diagnostics.revive\n },\n})\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c1\"\u003erequire\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003enull-ls\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e).\u003cspan class=\"pl-c1\"\u003esetup\u003c/span\u003e({\n \u003cspan class=\"pl-smi\"\u003esources\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e=\u003c/span\u003e {\n \u003cspan class=\"pl-c1\"\u003erequire\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003enull-ls\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e).\u003cspan class=\"pl-e\"\u003ebuiltins\u003c/span\u003e.\u003cspan class=\"pl-e\"\u003ediagnostics\u003c/span\u003e.\u003cspan class=\"pl-e\"\u003erevive\u003c/span\u003e\n },\n})\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eGitHub Actions\u003c/h3\u003e\u003ca id=\"user-content-github-actions\" class=\"anchor\" aria-label=\"Permalink: GitHub Actions\" href=\"#github-actions\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://github.com/marketplace/actions/revive-action\"\u003eRevive Action\u003c/a\u003e with annotation support\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eContinuous Integration\u003c/h3\u003e\u003ca id=\"user-content-continuous-integration\" class=\"anchor\" aria-label=\"Permalink: Continuous Integration\" href=\"#continuous-integration\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https://www.codeac.io?ref=revive\" rel=\"nofollow\"\u003eCodeac.io\u003c/a\u003e - Automated code review service integrates with GitHub, Bitbucket and GitLab (even self-hosted) and helps you fight technical debt. Check your \u003ca href=\"https://www.codeac.io/documentation/pull-requests.html?ref=revive\" rel=\"nofollow\"\u003epull-requests\u003c/a\u003e with \u003ca href=\"https://www.codeac.io/documentation/revive-configuration.html?ref=revive\" rel=\"nofollow\"\u003erevive\u003c/a\u003e automatically. (free for open-source projects)\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eLinter aggregators\u003c/h3\u003e\u003ca id=\"user-content-linter-aggregators\" class=\"anchor\" aria-label=\"Permalink: Linter aggregators\" href=\"#linter-aggregators\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003egolangci-lint\u003c/h4\u003e\u003ca id=\"user-content-golangci-lint\" class=\"anchor\" aria-label=\"Permalink: golangci-lint\" href=\"#golangci-lint\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eTo enable \u003ccode\u003erevive\u003c/code\u003e in \u003ccode\u003egolangci-lint\u003c/code\u003e you need to add \u003ccode\u003erevive\u003c/code\u003e to the list of enabled linters:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-yaml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# golangci-lint configuration file\nlinters:\n enable:\n - revive\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e golangci-lint configuration file\u003c/span\u003e\n\u003cspan class=\"pl-ent\"\u003elinters\u003c/span\u003e:\n \u003cspan class=\"pl-ent\"\u003eenable\u003c/span\u003e:\n - \u003cspan class=\"pl-s\"\u003erevive\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThen \u003ccode\u003erevive\u003c/code\u003e can be configured by adding an entry to the \u003ccode\u003elinters-settings\u003c/code\u003e section of the configuration, for example:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-yaml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# golangci-lint configuration file\nlinters-settings:\n revive:\n ignore-generated-header: true\n severity: warning\n rules:\n - name: atomic\n - name: line-length-limit\n severity: error\n arguments: [80]\n - name: unhandled-error\n arguments : [\u0026quot;fmt.Printf\u0026quot;, \u0026quot;myFunction\u0026quot;]\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e golangci-lint configuration file\u003c/span\u003e\n\u003cspan class=\"pl-ent\"\u003elinters-settings\u003c/span\u003e:\n \u003cspan class=\"pl-ent\"\u003erevive\u003c/span\u003e:\n \u003cspan class=\"pl-ent\"\u003eignore-generated-header\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n \u003cspan class=\"pl-ent\"\u003eseverity\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003ewarning\u003c/span\u003e\n \u003cspan class=\"pl-ent\"\u003erules\u003c/span\u003e:\n - \u003cspan class=\"pl-ent\"\u003ename\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003eatomic\u003c/span\u003e\n - \u003cspan class=\"pl-ent\"\u003ename\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003eline-length-limit\u003c/span\u003e\n \u003cspan class=\"pl-ent\"\u003eseverity\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003eerror\u003c/span\u003e\n \u003cspan class=\"pl-ent\"\u003earguments\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e[80]\u003c/span\u003e\n - \u003cspan class=\"pl-ent\"\u003ename\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003eunhandled-error\u003c/span\u003e\n \u003cspan class=\"pl-ent\"\u003earguments \u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e[\"fmt.Printf\", \"myFunction\"]\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe above configuration enables three rules of \u003ccode\u003erevive\u003c/code\u003e: \u003cem\u003eatomic\u003c/em\u003e, \u003cem\u003eline-length-limit\u003c/em\u003e and \u003cem\u003eunhandled-error\u003c/em\u003e and pass some arguments to the last two.\nThe \u003ca href=\"#configuration\"\u003eConfiguration\u003c/a\u003e section of this document provides details on how to configure \u003ccode\u003erevive\u003c/code\u003e. Note that while \u003ccode\u003erevive\u003c/code\u003e configuration is in TOML, that of \u003ccode\u003egolangci-lint\u003c/code\u003e is in YAML.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ePlease notice that if no particular configuration is provided, \u003ccode\u003erevive\u003c/code\u003e will behave as \u003ccode\u003ego-lint\u003c/code\u003e does, i.e. all \u003ccode\u003ego-lint\u003c/code\u003e rules are enabled (the \u003ca href=\"#available-rules\"\u003eAvailable Rules table\u003c/a\u003e details what are the \u003ccode\u003ego-lint\u003c/code\u003e rules). When a configuration is provided, only rules in the configuration are enabled.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand Line Flags\u003c/h3\u003e\u003ca id=\"user-content-command-line-flags\" class=\"anchor\" aria-label=\"Permalink: Command Line Flags\" href=\"#command-line-flags\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003erevive\u003c/code\u003e accepts the following command line parameters:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-config [PATH]\u003c/code\u003e - path to the config file in TOML format, defaults to \u003ccode\u003e$HOME/revive.toml\u003c/code\u003e if present.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-exclude [PATTERN]\u003c/code\u003e - pattern for files/directories/packages to be excluded for linting. You can specify the files you want to exclude for linting either as package name (i.e. \u003ccode\u003egithub.com/mgechev/revive\u003c/code\u003e), list them as individual files (i.e. \u003ccode\u003efile.go\u003c/code\u003e), directories (i.e. \u003ccode\u003e./foo/...\u003c/code\u003e), or any combination of the three. If no exclusion patterns are specified, \u003ccode\u003evendor/...\u003c/code\u003e will be excluded by default.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-formatter [NAME]\u003c/code\u003e - formatter to be used for the output. The currently available formatters are:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ccode\u003edefault\u003c/code\u003e - will output the failures the same way that \u003ccode\u003egolint\u003c/code\u003e does.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003ejson\u003c/code\u003e - outputs the failures in JSON format.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003endjson\u003c/code\u003e - outputs the failures as a stream in newline delimited JSON (NDJSON) format.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003efriendly\u003c/code\u003e - outputs the failures when found. Shows the summary of all the failures.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003estylish\u003c/code\u003e - formats the failures in a table. Keep in mind that it doesn't stream the output so it might be perceived as slower compared to others.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003echeckstyle\u003c/code\u003e - outputs the failures in XML format compatible with that of Java's \u003ca href=\"https://checkstyle.org/\" rel=\"nofollow\"\u003eCheckstyle\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-max_open_files\u003c/code\u003e - maximum number of open files at the same time. Defaults to unlimited.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-set_exit_status\u003c/code\u003e - set exit status to 1 if any issues are found, overwrites \u003ccode\u003eerrorCode\u003c/code\u003e and \u003ccode\u003ewarningCode\u003c/code\u003e in config.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-version\u003c/code\u003e - get revive version.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSample Invocations\u003c/h3\u003e\u003ca id=\"user-content-sample-invocations\" class=\"anchor\" aria-label=\"Permalink: Sample Invocations\" href=\"#sample-invocations\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"revive -config revive.toml -exclude file1.go -exclude file2.go -formatter friendly github.com/mgechev/revive package/...\"\u003e\u003cpre\u003erevive -config revive.toml -exclude file1.go -exclude file2.go -formatter friendly github.com/mgechev/revive package/...\u003c/pre\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe command above will use the configuration from \u003ccode\u003erevive.toml\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003erevive\u003c/code\u003e will ignore \u003ccode\u003efile1.go\u003c/code\u003e and \u003ccode\u003efile2.go\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eThe output will be formatted with the \u003ccode\u003efriendly\u003c/code\u003e formatter\u003c/li\u003e\n\u003cli\u003eThe linter will analyze \u003ccode\u003egithub.com/mgechev/revive\u003c/code\u003e and the files in \u003ccode\u003epackage\u003c/code\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eComment Directives\u003c/h3\u003e\u003ca id=\"user-content-comment-directives\" class=\"anchor\" aria-label=\"Permalink: Comment Directives\" href=\"#comment-directives\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eUsing comments, you can disable the linter for the entire file or only a range of lines:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"//revive:disable\n\nfunc Public() {}\n//revive:enable\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e//revive:disable\u003c/span\u003e\n\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ePublic\u003c/span\u003e() {}\n\u003cspan class=\"pl-c\"\u003e//revive:enable\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe snippet above, will disable \u003ccode\u003erevive\u003c/code\u003e between the \u003ccode\u003erevive:disable\u003c/code\u003e and \u003ccode\u003erevive:enable\u003c/code\u003e comments. If you skip \u003ccode\u003erevive:enable\u003c/code\u003e, the linter will be disabled for the rest of the file.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eWith \u003ccode\u003erevive:disable-next-line\u003c/code\u003e and \u003ccode\u003erevive:disable-line\u003c/code\u003e you can disable \u003ccode\u003erevive\u003c/code\u003e on a particular code line.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eYou can do the same on a rule level. In case you want to disable only a particular rule, you can use:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"//revive:disable:unexported-return\nfunc Public() private {\n return private\n}\n//revive:enable:unexported-return\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e//revive:disable:unexported-return\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ePublic\u003c/span\u003e() \u003cspan class=\"pl-smi\"\u003eprivate\u003c/span\u003e {\n \u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eprivate\u003c/span\u003e\n}\n\u003cspan class=\"pl-c\"\u003e//revive:enable:unexported-return\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis way, \u003ccode\u003erevive\u003c/code\u003e will not warn you that you're returning an object of an unexported type, from an exported function.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eYou can document why you disable the linter by adding a trailing text in the directive, for example\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"//revive:disable Until the code is stable\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e//revive:disable Until the code is stable\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"//revive:disable:cyclomatic High complexity score but easy to understand\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e//revive:disable:cyclomatic High complexity score but easy to understand\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eYou can also configure \u003ccode\u003erevive\u003c/code\u003e to enforce documenting linter disabling directives by adding\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"[directive.specify-disable-reason]\"\u003e\u003cpre\u003e[\u003cspan class=\"pl-en\"\u003edirective\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003especify-disable-reason\u003c/span\u003e]\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003ein the configuration. You can set the severity (defaults to \u003cem\u003ewarning\u003c/em\u003e) of the violation of this directive\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"[directive.specify-disable-reason]\n severity = \u0026quot;error\u0026quot;\"\u003e\u003cpre\u003e[\u003cspan class=\"pl-en\"\u003edirective\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003especify-disable-reason\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eseverity\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eerror\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eConfiguration\u003c/h3\u003e\u003ca id=\"user-content-configuration\" class=\"anchor\" aria-label=\"Permalink: Configuration\" href=\"#configuration\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003erevive\u003c/code\u003e can be configured with a TOML file. Here's a sample configuration with an explanation of the individual properties:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# When set to false, ignores files with \u0026quot;GENERATED\u0026quot; header, similar to golint\nignoreGeneratedHeader = true\n\n# Sets the default severity to \u0026quot;warning\u0026quot;\nseverity = \u0026quot;warning\u0026quot;\n\n# Sets the default failure confidence. This means that linting errors\n# with less than 0.8 confidence will be ignored.\nconfidence = 0.8\n\n# Sets the error code for failures with the \u0026quot;error\u0026quot; severity\nerrorCode = 0\n\n# Sets the error code for failures with severity \u0026quot;warning\u0026quot;\nwarningCode = 0\n\n# Configuration of the `cyclomatic` rule. Here we specify that\n# the rule should fail if it detects code with higher complexity than 10.\n[rule.cyclomatic]\n arguments = [10]\n\n# Sets the severity of the `package-comments` rule to \u0026quot;error\u0026quot;.\n[rule.package-comments]\n severity = \u0026quot;error\u0026quot;\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e When set to false, ignores files with \"GENERATED\" header, similar to golint\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eignoreGeneratedHeader\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Sets the default severity to \"warning\"\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eseverity\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ewarning\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Sets the default failure confidence. This means that linting errors\u003c/span\u003e\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e with less than 0.8 confidence will be ignored.\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003econfidence\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0.8\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Sets the error code for failures with the \"error\" severity\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eerrorCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Sets the error code for failures with severity \"warning\"\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003ewarningCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Configuration of the `cyclomatic` rule. Here we specify that\u003c/span\u003e\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e the rule should fail if it detects code with higher complexity than 10.\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003ecyclomatic\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003earguments\u003c/span\u003e = [\u003cspan class=\"pl-c1\"\u003e10\u003c/span\u003e]\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Sets the severity of the `package-comments` rule to \"error\".\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003epackage-comments\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eseverity\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eerror\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eBy default \u003ccode\u003erevive\u003c/code\u003e will enable only the linting rules that are named in the configuration file.\nFor example, the previous configuration file makes \u003ccode\u003erevive\u003c/code\u003e to enable only \u003cem\u003ecyclomatic\u003c/em\u003e and \u003cem\u003epackage-comments\u003c/em\u003e linting rules.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo enable all available rules you need to add:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"enableAllRules = true\"\u003e\u003cpre\u003e\u003cspan class=\"pl-smi\"\u003eenableAllRules\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis will enable all available rules no matter what rules are named in the configuration file.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo disable a rule, you simply mark it as disabled in the configuration.\nFor example:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"[rule.line-length-limit]\n Disabled = true\"\u003e\u003cpre\u003e[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eline-length-limit\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eWhen enabling all rules you still need/can provide specific configurations for rules.\nThe following file is an example configuration where all rules are enabled, except for those that are explicitly disabled, and some rules are configured with particular arguments:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"severity = \u0026quot;warning\u0026quot;\nconfidence = 0.8\nerrorCode = 0\nwarningCode = 0\n\n# Enable all available rules\nenableAllRules = true\n\n# Disabled rules\n[rule.blank-imports]\n Disabled = true\n[rule.file-header]\n Disabled = true\n[rule.max-public-structs]\n Disabled = true\n[rule.line-length-limit]\n Disabled = true\n[rule.function-length]\n Disabled = true\n[rule.banned-characters]\n Disabled = true\n\n# Rule tuning\n[rule.argument-limit]\n Arguments = [5]\n[rule.cyclomatic]\n Arguments = [10]\n[rule.cognitive-complexity]\n Arguments = [7]\n[rule.function-result-limit]\n Arguments = [3]\n[rule.error-strings]\n Arguments = [\u0026quot;mypackage.Error\u0026quot;]\"\u003e\u003cpre\u003e\u003cspan class=\"pl-smi\"\u003eseverity\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ewarning\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003econfidence\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0.8\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eerrorCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003ewarningCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Enable all available rules\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eenableAllRules\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Disabled rules\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eblank-imports\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003efile-header\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003emax-public-structs\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eline-length-limit\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003efunction-length\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003ebanned-characters\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eDisabled\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n\n\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e Rule tuning\u003c/span\u003e\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eargument-limit\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e = [\u003cspan class=\"pl-c1\"\u003e5\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003ecyclomatic\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e = [\u003cspan class=\"pl-c1\"\u003e10\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003ecognitive-complexity\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e = [\u003cspan class=\"pl-c1\"\u003e7\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003efunction-result-limit\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e = [\u003cspan class=\"pl-c1\"\u003e3\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eerror-strings\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e = [\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003emypackage.Error\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e]\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDefault Configuration\u003c/h3\u003e\u003ca id=\"user-content-default-configuration\" class=\"anchor\" aria-label=\"Permalink: Default Configuration\" href=\"#default-configuration\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe default configuration of \u003ccode\u003erevive\u003c/code\u003e can be found at \u003ccode\u003edefaults.toml\u003c/code\u003e. This will enable all rules available in \u003ccode\u003egolint\u003c/code\u003e and use their default configuration (i.e. the way they are hardcoded in \u003ccode\u003egolint\u003c/code\u003e).\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"revive -config defaults.toml github.com/mgechev/revive\"\u003e\u003cpre\u003erevive -config defaults.toml github.com/mgechev/revive\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis will use the configuration file \u003ccode\u003edefaults.toml\u003c/code\u003e, the \u003ccode\u003edefault\u003c/code\u003e formatter, and will run linting over the \u003ccode\u003egithub.com/mgechev/revive\u003c/code\u003e package.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCustom Configuration\u003c/h3\u003e\u003ca id=\"user-content-custom-configuration\" class=\"anchor\" aria-label=\"Permalink: Custom Configuration\" href=\"#custom-configuration\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"revive -config config.toml -formatter friendly github.com/mgechev/revive\"\u003e\u003cpre\u003erevive -config config.toml -formatter friendly github.com/mgechev/revive\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis will use \u003ccode\u003econfig.toml\u003c/code\u003e, the \u003ccode\u003efriendly\u003c/code\u003e formatter, and will run linting over the \u003ccode\u003egithub.com/mgechev/revive\u003c/code\u003e package.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRecommended Configuration\u003c/h3\u003e\u003ca id=\"user-content-recommended-configuration\" class=\"anchor\" aria-label=\"Permalink: Recommended Configuration\" href=\"#recommended-configuration\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe following snippet contains the recommended \u003ccode\u003erevive\u003c/code\u003e configuration that you can use in your project:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"ignoreGeneratedHeader = false\nseverity = \u0026quot;warning\u0026quot;\nconfidence = 0.8\nerrorCode = 0\nwarningCode = 0\n\n[rule.blank-imports]\n[rule.context-as-argument]\n[rule.context-keys-type]\n[rule.dot-imports]\n[rule.error-return]\n[rule.error-strings]\n[rule.error-naming]\n[rule.exported]\n[rule.increment-decrement]\n[rule.var-naming]\n[rule.var-declaration]\n[rule.package-comments]\n[rule.range]\n[rule.receiver-naming]\n[rule.time-naming]\n[rule.unexported-return]\n[rule.indent-error-flow]\n[rule.errorf]\n[rule.empty-block]\n[rule.superfluous-else]\n[rule.unused-parameter]\n[rule.unreachable-code]\n[rule.redefines-builtin-id]\"\u003e\u003cpre\u003e\u003cspan class=\"pl-smi\"\u003eignoreGeneratedHeader\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eseverity\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ewarning\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003econfidence\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0.8\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eerrorCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003ewarningCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eblank-imports\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003econtext-as-argument\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003econtext-keys-type\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003edot-imports\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eerror-return\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eerror-strings\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eerror-naming\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eexported\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eincrement-decrement\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003evar-naming\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003evar-declaration\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003epackage-comments\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003erange\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003ereceiver-naming\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003etime-naming\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eunexported-return\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eindent-error-flow\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eerrorf\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eempty-block\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003esuperfluous-else\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eunused-parameter\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eunreachable-code\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eredefines-builtin-id\u003c/span\u003e]\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRule-level file excludes\u003c/h3\u003e\u003ca id=\"user-content-rule-level-file-excludes\" class=\"anchor\" aria-label=\"Permalink: Rule-level file excludes\" href=\"#rule-level-file-excludes\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eYou also can setup custom excludes for each rule.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIt's an alternative for the global \u003ccode\u003e-exclude\u003c/code\u003e program arg.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"ignoreGeneratedHeader = false\nseverity = \u0026quot;warning\u0026quot;\nconfidence = 0.8\nerrorCode = 0\nwarningCode = 0\n\n[rule.blank-imports]\n Exclude=[\u0026quot;**/*.pb.go\u0026quot;]\n[rule.context-as-argument]\n Exclude=[\u0026quot;src/somepkg/*.go\u0026quot;, \u0026quot;TEST\u0026quot;]\"\u003e\u003cpre\u003e\u003cspan class=\"pl-smi\"\u003eignoreGeneratedHeader\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eseverity\u003c/span\u003e = \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ewarning\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003econfidence\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0.8\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003eerrorCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\u003cspan class=\"pl-smi\"\u003ewarningCode\u003c/span\u003e = \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003eblank-imports\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eExclude\u003c/span\u003e=[\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e**/*.pb.go\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e]\n[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003econtext-as-argument\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003eExclude\u003c/span\u003e=[\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003esrc/somepkg/*.go\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e, \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eTEST\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e]\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eYou can use the following exclude patterns\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003efull paths to files \u003ccode\u003esrc/pkg/mypkg/some.go\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eglobs \u003ccode\u003esrc/**/*.pb.go\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eregexes (should have prefix ~) \u003ccode\u003e~\\.(pb|auto|generated)\\.go$\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003ewell-known \u003ccode\u003eTEST\u003c/code\u003e (same as \u003ccode\u003e**/*_test.go\u003c/code\u003e)\u003c/li\u003e\n\u003cli\u003especial cases:\na. \u003ccode\u003e*\u003c/code\u003e and \u003ccode\u003e~\u003c/code\u003e patterns exclude all files (same effect as disabling the rule)\nb. \u003ccode\u003e\"\"\u003c/code\u003e (empty) pattern excludes nothing\u003c/li\u003e\n\u003c/ol\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003eNOTE: do not mess with \u003ccode\u003eexclude\u003c/code\u003e that can be used at the top level of TOML file, that means \"exclude package patterns\", not \"exclude file patterns\"\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eAvailable Rules\u003c/h2\u003e\u003ca id=\"user-content-available-rules\" class=\"anchor\" aria-label=\"Permalink: Available Rules\" href=\"#available-rules\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eList of all available rules. The rules ported from \u003ccode\u003egolint\u003c/code\u003e are left unchanged and indicated in the \u003ccode\u003egolint\u003c/code\u003e column.\u003c/p\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eName\u003c/th\u003e\n\u003cth align=\"center\"\u003eConfig\u003c/th\u003e\n\u003cth align=\"left\"\u003eDescription\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ccode\u003egolint\u003c/code\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003eTyped\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-key-types\"\u003e\u003ccode\u003econtext-keys-type\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eDisallows the usage of basic types in \u003ccode\u003econtext.WithValue\u003c/code\u003e.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#time-equal\"\u003e\u003ccode\u003etime-equal\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests to use \u003ccode\u003etime.Time.Equal\u003c/code\u003e instead of \u003ccode\u003e==\u003c/code\u003e and \u003ccode\u003e!=\u003c/code\u003e for equality check time.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#time-naming\"\u003e\u003ccode\u003etime-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eConventions around the naming of time variables.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unchecked-type-assertions\"\u003e\u003ccode\u003eunchecked-type-assertions\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eDisallows type assertions without checking the result.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-declaration\"\u003e\u003ccode\u003evar-declaration\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eReduces redundancies around variable declaration.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-return\"\u003e\u003ccode\u003eunexported-return\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns when a public return is from unexported type.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#errorf\"\u003e\u003ccode\u003eerrorf\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eShould replace \u003ccode\u003eerrors.New(fmt.Sprintf())\u003c/code\u003e with \u003ccode\u003efmt.Errorf()\u003c/code\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#blank-imports\"\u003e\u003ccode\u003eblank-imports\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eDisallows blank imports\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-as-argument\"\u003e\u003ccode\u003econtext-as-argument\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\u003ccode\u003econtext.Context\u003c/code\u003e should be the first argument of a function.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#dot-imports\"\u003e\u003ccode\u003edot-imports\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eForbids \u003ccode\u003e.\u003c/code\u003e imports.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-return\"\u003e\u003ccode\u003eerror-return\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eThe error return parameter should be last.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-strings\"\u003e\u003ccode\u003eerror-strings\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eConventions around error strings.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-naming\"\u003e\u003ccode\u003eerror-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eNaming of error variables.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#exported\"\u003e\u003ccode\u003eexported\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eNaming and commenting conventions on exported symbols.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return\"\u003e\u003ccode\u003eif-return\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eRedundant if when returning an error.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#increment-decrement\"\u003e\u003ccode\u003eincrement-decrement\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eUse \u003ccode\u003ei++\u003c/code\u003e and \u003ccode\u003ei--\u003c/code\u003e instead of \u003ccode\u003ei += 1\u003c/code\u003e and \u003ccode\u003ei -= 1\u003c/code\u003e.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-naming\"\u003e\u003ccode\u003evar-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eallowlist \u0026amp; blocklist of initialisms\u003c/td\u003e\n\u003ctd align=\"left\"\u003eNaming rules.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#package-comments\"\u003e\u003ccode\u003epackage-comments\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003ePackage commenting conventions.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range\"\u003e\u003ccode\u003erange\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003ePrevents redundant variables when iterating over a collection.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#receiver-naming\"\u003e\u003ccode\u003ereceiver-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003emap (optional)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eConventions around the naming of receivers.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#indent-error-flow\"\u003e\u003ccode\u003eindent-error-flow\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003ePrevents redundant else statements.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#argument-limit\"\u003e\u003ccode\u003eargument-limit\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 8)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpecifies the maximum number of arguments a function can receive\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#cyclomatic\"\u003e\u003ccode\u003ecyclomatic\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 10)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSets restriction for maximum Cyclomatic complexity.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#max-public-structs\"\u003e\u003ccode\u003emax-public-structs\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 5)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eThe maximum number of public structs in a file.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#file-header\"\u003e\u003ccode\u003efile-header\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003estring (defaults to none)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eHeader which each file should have.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#empty-block\"\u003e\u003ccode\u003eempty-block\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on empty code blocks\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#superfluous-else\"\u003e\u003ccode\u003esuperfluous-else\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003ePrevents redundant else statements (extends \u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#indent-error-flow\"\u003e\u003ccode\u003eindent-error-flow\u003c/code\u003e\u003c/a\u003e)\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-naming\"\u003e\u003ccode\u003econfusing-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on methods with names that differ only by capitalization\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#get-return\"\u003e\u003ccode\u003eget-return\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on getters that do not yield any result\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#modifies-parameter\"\u003e\u003ccode\u003emodifies-parameter\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on assignments to function parameters\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-results\"\u003e\u003ccode\u003econfusing-results\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests to name potentially confusing function results\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#deep-exit\"\u003e\u003ccode\u003edeep-exit\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eLooks for program exits in funcs other than \u003ccode\u003emain()\u003c/code\u003e or \u003ccode\u003einit()\u003c/code\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter\"\u003e\u003ccode\u003eunused-parameter\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests to rename or remove unused function parameters\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unreachable-code\"\u003e\u003ccode\u003eunreachable-code\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on unreachable code\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#add-constant\"\u003e\u003ccode\u003eadd-constant\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003emap\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests using constant for magic numbers and string literals\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#flag-parameter\"\u003e\u003ccode\u003eflag-parameter\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on boolean parameters that create a control coupling\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unnecessary-stmt\"\u003e\u003ccode\u003eunnecessary-stmt\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests removing or simplifying unnecessary statements\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#struct-tag\"\u003e\u003ccode\u003estruct-tag\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eChecks common struct tags like \u003ccode\u003ejson\u003c/code\u003e, \u003ccode\u003exml\u003c/code\u003e, \u003ccode\u003eyaml\u003c/code\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#modifies-value-receiver\"\u003e\u003ccode\u003emodifies-value-receiver\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on assignments to value-passed method receivers\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#constant-logical-expr\"\u003e\u003ccode\u003econstant-logical-expr\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on constant logical expressions\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bool-literal-in-expr\"\u003e\u003ccode\u003ebool-literal-in-expr\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests removing Boolean literals from logic expressions\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redefines-builtin-id\"\u003e\u003ccode\u003eredefines-builtin-id\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on redefinitions of builtin identifiers\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#function-result-limit\"\u003e\u003ccode\u003efunction-result-limit\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 3)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpecifies the maximum number of results a function can return\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#imports-blocklist\"\u003e\u003ccode\u003eimports-blocklist\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eDisallows importing the specified packages\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range-val-in-closure\"\u003e\u003ccode\u003erange-val-in-closure\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns if range value is used in a closure dispatched as goroutine\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range-val-address\"\u003e\u003ccode\u003erange-val-address\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns if address of range value is used dangerously\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#waitgroup-by-value\"\u003e\u003ccode\u003ewaitgroup-by-value\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on functions taking sync.WaitGroup as a by-value parameter\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#atomic\"\u003e\u003ccode\u003eatomic\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eCheck for common mistaken usages of the \u003ccode\u003esync/atomic\u003c/code\u003e package\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#empty-lines\"\u003e\u003ccode\u003eempty-lines\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns when there are heading or trailing newlines in a block\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#line-length-limit\"\u003e\u003ccode\u003eline-length-limit\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 80)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpecifies the maximum number of characters in a line\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#call-to-gc\"\u003e\u003ccode\u003ecall-to-gc\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on explicit call to the garbage collector\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#duplicated-imports\"\u003e\u003ccode\u003eduplicated-imports\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eLooks for packages that are imported two or more times\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#import-shadowing\"\u003e\u003ccode\u003eimport-shadowing\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpots identifiers that shadow an import\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bare-return\"\u003e\u003ccode\u003ebare-return\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on bare returns\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-receiver\"\u003e\u003ccode\u003eunused-receiver\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests to rename or remove unused method receivers\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unhandled-error\"\u003e\u003ccode\u003eunhandled-error\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on unhandled errors returned by function calls\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#cognitive-complexity\"\u003e\u003ccode\u003ecognitive-complexity\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 7)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSets restriction for maximum Cognitive complexity.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#string-of-int\"\u003e\u003ccode\u003estring-of-int\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on suspicious casts from int to string\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eyes\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#string-format\"\u003e\u003ccode\u003estring-format\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003emap\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on specific string literals that fail one or more user-configured regular expressions\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#early-return\"\u003e\u003ccode\u003eearly-return\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpots if-then-else statements where the predicate may be inverted to reduce nesting\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unconditional-recursion\"\u003e\u003ccode\u003eunconditional-recursion\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on function calls that will lead to (direct) infinite recursion\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#identical-branches\"\u003e\u003ccode\u003eidentical-branches\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpots if-then-else statements with identical \u003ccode\u003ethen\u003c/code\u003e and \u003ccode\u003eelse\u003c/code\u003e branches\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#defer\"\u003e\u003ccode\u003edefer\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003emap\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on some \u003ca href=\"https://blog.learngoprogramming.com/5-gotchas-of-defer-in-go-golang-part-iii-36a1ab3d6ef1\" rel=\"nofollow\"\u003edefer gotchas\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-naming\"\u003e\u003ccode\u003eunexported-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on wrongly named un-exported symbols\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#function-length\"\u003e\u003ccode\u003efunction-length\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint, int (defaults to 50 statements, 75 lines)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on functions exceeding the statements or lines max\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#nested-structs\"\u003e\u003ccode\u003enested-structs\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on structs within structs\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#useless-break\"\u003e\u003ccode\u003euseless-break\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on useless \u003ccode\u003ebreak\u003c/code\u003e statements in case clauses\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#banned-characters\"\u003e\u003ccode\u003ebanned-characters\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string (defaults to []string{})\u003c/td\u003e\n\u003ctd align=\"left\"\u003eChecks banned characters in identifiers\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#optimize-operands-order\"\u003e\u003ccode\u003eoptimize-operands-order\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eChecks inefficient conditional expressions\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#use-any\"\u003e\u003ccode\u003euse-any\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eProposes to replace \u003ccode\u003einterface{}\u003c/code\u003e with its alias \u003ccode\u003eany\u003c/code\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#datarace\"\u003e\u003ccode\u003edatarace\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpots potential dataraces\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comment-spacings\"\u003e\u003ccode\u003ecomment-spacings\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e[]string\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on malformed comments\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-import-alias\"\u003e\u003ccode\u003eredundant-import-alias\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns on import aliases matching the imported package name\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#import-alias-naming\"\u003e\u003ccode\u003eimport-alias-naming\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003estring or map[string]string (defaults to allow regex pattern ^[a-z][a-z0-9]{0,}$)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eConventions around the naming of import aliases.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#enforce-map-style\"\u003e\u003ccode\u003eenforce-map-style\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003estring (defaults to \"any\")\u003c/td\u003e\n\u003ctd align=\"left\"\u003eEnforces consistent usage of \u003ccode\u003emake(map[type]type)\u003c/code\u003e or \u003ccode\u003emap[type]type{}\u003c/code\u003e for map initialization. Does not affect \u003ccode\u003emake(map[type]type, size)\u003c/code\u003e constructions.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#enforce-slice-style\"\u003e\u003ccode\u003eenforce-slice-style\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003estring (defaults to \"any\")\u003c/td\u003e\n\u003ctd align=\"left\"\u003eEnforces consistent usage of \u003ccode\u003emake([]type, 0)\u003c/code\u003e or \u003ccode\u003e[]type{}\u003c/code\u003e for slice initialization. Does not affect \u003ccode\u003emake(map[type]type, non_zero_len, or_non_zero_cap)\u003c/code\u003e constructions.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#enforce-repeated-arg-type-style\"\u003e\u003ccode\u003eenforce-repeated-arg-type-style\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003estring (defaults to \"any\")\u003c/td\u003e\n\u003ctd align=\"left\"\u003eEnforces consistent style for repeated argument and/or return value types.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#max-control-nesting\"\u003e\u003ccode\u003emax-control-nesting\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 5)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSets restriction for maximum nesting of control structures.\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comments-density\"\u003e\u003ccode\u003ecomments-density\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eint (defaults to 0)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eEnforces a minimum comment / code relation\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#file-length-limit\"\u003e\u003ccode\u003efile-length-limit\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003emap (optional)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eEnforces a maximum number of lines per file\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#filename-format\"\u003e\u003ccode\u003efilename-format\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eregular expression (optional)\u003c/td\u003e\n\u003ctd align=\"left\"\u003eEnforces the formatting of filenames\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-build-tag\"\u003e\u003ccode\u003eredundant-build-tag\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eWarns about redundant \u003ccode\u003e// +build\u003c/code\u003e comment lines\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#use-errors-new\"\u003e\u003ccode\u003euse-errors-new\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSpots calls to \u003ccode\u003efmt.Errorf\u003c/code\u003e that can be replaced by \u003ccode\u003eerrors.New\u003c/code\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-test-main-exit\"\u003e\u003ccode\u003eredundant-test-main-exit\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003en/a\u003c/td\u003e\n\u003ctd align=\"left\"\u003eSuggests removing \u003ccode\u003eExit\u003c/code\u003e call in \u003ccode\u003eTestMain\u003c/code\u003e function for test files\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003ctd align=\"center\"\u003eno\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eConfigurable rules\u003c/h2\u003e\u003ca id=\"user-content-configurable-rules\" class=\"anchor\" aria-label=\"Permalink: Configurable rules\" href=\"#configurable-rules\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eHere you can find how you can configure some existing rules:\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003ccode\u003evar-naming\u003c/code\u003e\u003c/h3\u003e\u003ca id=\"user-content-var-naming\" class=\"anchor\" aria-label=\"Permalink: var-naming\" href=\"#var-naming\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis rule accepts two slices of strings, an allowlist and a blocklist of initialisms. By default, the rule behaves exactly as the alternative in \u003ccode\u003egolint\u003c/code\u003e but optionally, you can relax it (see \u003ca href=\"https://github.com/golang/lint/issues/89\" data-hovercard-type=\"issue\" data-hovercard-url=\"/golang/lint/issues/89/hovercard\"\u003egolint/lint/issues/89\u003c/a\u003e)\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-toml notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"[rule.var-naming]\n arguments = [[\u0026quot;ID\u0026quot;], [\u0026quot;VM\u0026quot;]]\"\u003e\u003cpre\u003e[\u003cspan class=\"pl-en\"\u003erule\u003c/span\u003e.\u003cspan class=\"pl-en\"\u003evar-naming\u003c/span\u003e]\n \u003cspan class=\"pl-smi\"\u003earguments\u003c/span\u003e = [[\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eID\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e], [\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eVM\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e]]\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis way, revive will not warn for an identifier called \u003ccode\u003ecustomId\u003c/code\u003e but will warn that \u003ccode\u003ecustomVm\u003c/code\u003e should be called \u003ccode\u003ecustomVM\u003c/code\u003e.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eAvailable Formatters\u003c/h2\u003e\u003ca id=\"user-content-available-formatters\" class=\"anchor\" aria-label=\"Permalink: Available Formatters\" href=\"#available-formatters\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis section lists all the available formatters and provides a screenshot for each one.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eFriendly\u003c/h3\u003e\u003ca id=\"user-content-friendly\" class=\"anchor\" aria-label=\"Permalink: Friendly\" href=\"#friendly\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/formatter-friendly.png\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/formatter-friendly.png\" alt=\"Friendly formatter\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eStylish\u003c/h3\u003e\u003ca id=\"user-content-stylish\" class=\"anchor\" aria-label=\"Permalink: Stylish\" href=\"#stylish\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/formatter-stylish.png\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/formatter-stylish.png\" alt=\"Stylish formatter\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDefault\u003c/h3\u003e\u003ca id=\"user-content-default\" class=\"anchor\" aria-label=\"Permalink: Default\" href=\"#default\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe default formatter produces the same output as \u003ccode\u003egolint\u003c/code\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/formatter-default.png\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/formatter-default.png\" alt=\"Default formatter\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003ePlain\u003c/h3\u003e\u003ca id=\"user-content-plain\" class=\"anchor\" aria-label=\"Permalink: Plain\" href=\"#plain\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe plain formatter produces the same output as the default formatter and appends the URL to the rule description.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/formatter-plain.png\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/formatter-plain.png\" alt=\"Plain formatter\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eUnix\u003c/h3\u003e\u003ca id=\"user-content-unix\" class=\"anchor\" aria-label=\"Permalink: Unix\" href=\"#unix\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe unix formatter produces the same output as the default formatter but surrounds the rules in \u003ccode\u003e[]\u003c/code\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"/mgechev/revive/blob/master/assets/formatter-unix.png\"\u003e\u003cimg src=\"/mgechev/revive/raw/master/assets/formatter-unix.png\" alt=\"Unix formatter\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eJSON\u003c/h3\u003e\u003ca id=\"user-content-json\" class=\"anchor\" aria-label=\"Permalink: JSON\" href=\"#json\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003ejson\u003c/code\u003e formatter produces output in JSON format.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eNDJSON\u003c/h3\u003e\u003ca id=\"user-content-ndjson\" class=\"anchor\" aria-label=\"Permalink: NDJSON\" href=\"#ndjson\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003endjson\u003c/code\u003e formatter produces output in \u003ca href=\"https://github.com/ndjson/ndjson-spec\"\u003e\u003ccode\u003eNewline Delimited JSON\u003c/code\u003e\u003c/a\u003e format.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCheckstyle\u003c/h3\u003e\u003ca id=\"user-content-checkstyle\" class=\"anchor\" aria-label=\"Permalink: Checkstyle\" href=\"#checkstyle\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003echeckstyle\u003c/code\u003e formatter produces output in a \u003ca href=\"https://checkstyle.sourceforge.io/\" rel=\"nofollow\"\u003eCheckstyle-like\u003c/a\u003e format.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSARIF\u003c/h3\u003e\u003ca id=\"user-content-sarif\" class=\"anchor\" aria-label=\"Permalink: SARIF\" href=\"#sarif\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003esarif\u003c/code\u003e formatter produces output in SARIF, for \u003cem\u003eStatic Analysis Results Interchange Format\u003c/em\u003e, a standard JSON-based format for the output of static analysis tools defined and promoted by \u003ca href=\"https://www.oasis-open.org/\" rel=\"nofollow\"\u003eOASIS\u003c/a\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eCurrent supported version of the standard is \u003ca href=\"https://docs.oasis-open.org/sarif/sarif/v2.1.0/csprd01/sarif-v2.1.0-csprd01.html\" rel=\"nofollow\"\u003eSARIF-v2.1.0\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eExtensibility\u003c/h2\u003e\u003ca id=\"user-content-extensibility\" class=\"anchor\" aria-label=\"Permalink: Extensibility\" href=\"#extensibility\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe tool can be extended with custom rules or formatters. This section contains additional information on how to implement such.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo extend the linter with a custom rule you can push it to this repository or use \u003ccode\u003erevive\u003c/code\u003e as a library (see below)\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo add a custom formatter you'll have to push it to this repository or fork it. This is due to the limited \u003ccode\u003e-buildmode=plugin\u003c/code\u003e support which \u003ca href=\"https://golang.org/pkg/plugin/\" rel=\"nofollow\"\u003eworks only on Linux (with known issues)\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eWriting a Custom Rule\u003c/h3\u003e\u003ca id=\"user-content-writing-a-custom-rule\" class=\"anchor\" aria-label=\"Permalink: Writing a Custom Rule\" href=\"#writing-a-custom-rule\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eSee \u003ca href=\"/mgechev/revive/blob/master/DEVELOPING.md\"\u003eDEVELOPING.md\u003c/a\u003e for instructions on how to write a custom rule.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eUsing \u003ccode\u003erevive\u003c/code\u003e as a library\u003c/h4\u003e\u003ca id=\"user-content-using-revive-as-a-library\" class=\"anchor\" aria-label=\"Permalink: Using revive as a library\" href=\"#using-revive-as-a-library\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIf a rule is specific to your use case\n(i.e. it is not a good candidate to be added to \u003ccode\u003erevive\u003c/code\u003e's rule set) you can add it to your linter using \u003ccode\u003erevive\u003c/code\u003e as a linting engine.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe following code shows how to use \u003ccode\u003erevive\u003c/code\u003e in your application.\nIn the example only one rule is added (\u003ccode\u003emyRule\u003c/code\u003e), of course, you can add as many as you need to.\nYour rules can be configured programmatically or with the standard \u003ccode\u003erevive\u003c/code\u003e configuration file.\nThe full rule set of \u003ccode\u003erevive\u003c/code\u003e is also actionable by your application.\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"package main\n\nimport (\n\t\u0026quot;github.com/mgechev/revive/cli\u0026quot;\n\t\u0026quot;github.com/mgechev/revive/lint\u0026quot;\n\t\u0026quot;github.com/mgechev/revive/revivelib\u0026quot;\n)\n\nfunc main() {\n\tcli.RunRevive(revivelib.NewExtraRule(\u0026amp;myRule{}, lint.RuleConfig{}))\n}\n\ntype myRule struct{}\n\nfunc (f myRule) Name() string {\n\treturn \u0026quot;myRule\u0026quot;\n}\n\nfunc (f myRule) Apply(*lint.File, lint.Arguments) []lint.Failure { ... }\"\u003e\u003cpre\u003e\u003cspan class=\"pl-k\"\u003epackage\u003c/span\u003e main\n\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e (\n\t\u003cspan class=\"pl-s\"\u003e\"github.com/mgechev/revive/cli\"\u003c/span\u003e\n\t\u003cspan class=\"pl-s\"\u003e\"github.com/mgechev/revive/lint\"\u003c/span\u003e\n\t\u003cspan class=\"pl-s\"\u003e\"github.com/mgechev/revive/revivelib\"\u003c/span\u003e\n)\n\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003emain\u003c/span\u003e() {\n\t\u003cspan class=\"pl-s1\"\u003ecli\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eRunRevive\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003erevivelib\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eNewExtraRule\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e{}, lint.\u003cspan class=\"pl-smi\"\u003eRuleConfig\u003c/span\u003e{}))\n}\n\n\u003cspan class=\"pl-k\"\u003etype\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e \u003cspan class=\"pl-k\"\u003estruct\u003c/span\u003e{}\n\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e (\u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003eName\u003c/span\u003e() \u003cspan class=\"pl-smi\"\u003estring\u003c/span\u003e {\n\t\u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\"myRule\"\u003c/span\u003e\n}\n\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e (\u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003eApply\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003elint.\u003cspan class=\"pl-smi\"\u003eFile\u003c/span\u003e, lint.\u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e) []lint.\u003cspan class=\"pl-smi\"\u003eFailure\u003c/span\u003e { \u003cspan class=\"pl-c1\"\u003e...\u003c/span\u003e }\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eYou can still go further and use \u003ccode\u003erevive\u003c/code\u003e without its CLI, as part of your library, or your CLI:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"package mylib\n\nimport (\n\t\u0026quot;github.com/mgechev/revive/cli\u0026quot;\n\t\u0026quot;github.com/mgechev/revive/revivelib\u0026quot;\n\t\u0026quot;github.com/mgechev/revive/lint\u0026quot;\n)\n\n// Error checking removed for clarity\nfunc LintMyFile(file string) {\n\tconf, _:= config.GetConfig(\u0026quot;../defaults.toml\u0026quot;)\n\n\trevive, _ := revivelib.New(\n\t\tconf, // Configuration file\n\t\ttrue, // Set exit status\n\t\t2048, // Max open files\n\n\t\t// Then add as many extra rules as you need\n\t\trevivelib.NewExtraRule(\u0026amp;myRule{}, lint.RuleConfig{}),\n\t)\n\n\tfailuresChan, err := revive.Lint(\n \t\trevivelib.Include(file),\n \t\trevivelib.Exclude(\u0026quot;./fixtures\u0026quot;),\n \t\t// You can use as many revivelib.Include or revivelib.Exclude as required\n \t)\n \tif err != nil {\n \t \tpanic(\u0026quot;Shouldn't have failed: \u0026quot; + err.Error())\n \t}\n\n \t// Now let's return the formatted errors\n\tfailures, exitCode, _ := revive.Format(\u0026quot;stylish\u0026quot;, failuresChan)\n\n \t// failures is the string with all formatted lint error messages\n \t// exit code is 0 if no errors, 1 if errors (unless config options change it)\n \t// ... do something with them\n}\n\ntype myRule struct{}\n\nfunc (f myRule) Name() string {\n\treturn \u0026quot;myRule\u0026quot;\n}\n\nfunc (f myRule) Apply(*lint.File, lint.Arguments) []lint.Failure { ... }\"\u003e\u003cpre\u003e\u003cspan class=\"pl-k\"\u003epackage\u003c/span\u003e mylib\n\n\u003cspan class=\"pl-k\"\u003eimport\u003c/span\u003e (\n\t\u003cspan class=\"pl-s\"\u003e\"github.com/mgechev/revive/cli\"\u003c/span\u003e\n\t\u003cspan class=\"pl-s\"\u003e\"github.com/mgechev/revive/revivelib\"\u003c/span\u003e\n\t\u003cspan class=\"pl-s\"\u003e\"github.com/mgechev/revive/lint\"\u003c/span\u003e\n)\n\n\u003cspan class=\"pl-c\"\u003e// Error checking removed for clarity\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eLintMyFile\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003efile\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003estring\u003c/span\u003e) {\n\t\u003cspan class=\"pl-s1\"\u003econf\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003e_\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e:=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003econfig\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eGetConfig\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"../defaults.toml\"\u003c/span\u003e)\n\n\t\u003cspan class=\"pl-s1\"\u003erevive\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003e_\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e:=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003erevivelib\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eNew\u003c/span\u003e(\n\t\t\u003cspan class=\"pl-s1\"\u003econf\u003c/span\u003e, \u003cspan class=\"pl-c\"\u003e// Configuration file\u003c/span\u003e\n\t\t\u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e, \u003cspan class=\"pl-c\"\u003e// Set exit status\u003c/span\u003e\n\t\t\u003cspan class=\"pl-c1\"\u003e2048\u003c/span\u003e, \u003cspan class=\"pl-c\"\u003e// Max open files\u003c/span\u003e\n\n\t\t\u003cspan class=\"pl-c\"\u003e// Then add as many extra rules as you need\u003c/span\u003e\n\t\t\u003cspan class=\"pl-s1\"\u003erevivelib\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eNewExtraRule\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e\u0026amp;\u003c/span\u003e\u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e{}, lint.\u003cspan class=\"pl-smi\"\u003eRuleConfig\u003c/span\u003e{}),\n\t)\n\n\t\u003cspan class=\"pl-s1\"\u003efailuresChan\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e:=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003erevive\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eLint\u003c/span\u003e(\n \t\t\u003cspan class=\"pl-s1\"\u003erevivelib\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eInclude\u003c/span\u003e(\u003cspan class=\"pl-s1\"\u003efile\u003c/span\u003e),\n \t\t\u003cspan class=\"pl-s1\"\u003erevivelib\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eExclude\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"./fixtures\"\u003c/span\u003e),\n \t\t\u003cspan class=\"pl-c\"\u003e// You can use as many revivelib.Include or revivelib.Exclude as required\u003c/span\u003e\n \t)\n \t\u003cspan class=\"pl-k\"\u003eif\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e!=\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003enil\u003c/span\u003e {\n \t \t\u003cspan class=\"pl-s1\"\u003epanic\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"Shouldn't have failed: \"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eerr\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eError\u003c/span\u003e())\n \t}\n\n \t\u003cspan class=\"pl-c\"\u003e// Now let's return the formatted errors\u003c/span\u003e\n\t\u003cspan class=\"pl-s1\"\u003efailures\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003eexitCode\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003e_\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e:=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003erevive\u003c/span\u003e.\u003cspan class=\"pl-c1\"\u003eFormat\u003c/span\u003e(\u003cspan class=\"pl-s\"\u003e\"stylish\"\u003c/span\u003e, \u003cspan class=\"pl-s1\"\u003efailuresChan\u003c/span\u003e)\n\n \t\u003cspan class=\"pl-c\"\u003e// failures is the string with all formatted lint error messages\u003c/span\u003e\n \t\u003cspan class=\"pl-c\"\u003e// exit code is 0 if no errors, 1 if errors (unless config options change it)\u003c/span\u003e\n \t\u003cspan class=\"pl-c\"\u003e// ... do something with them\u003c/span\u003e\n}\n\n\u003cspan class=\"pl-k\"\u003etype\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e \u003cspan class=\"pl-k\"\u003estruct\u003c/span\u003e{}\n\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e (\u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003eName\u003c/span\u003e() \u003cspan class=\"pl-smi\"\u003estring\u003c/span\u003e {\n\t\u003cspan class=\"pl-k\"\u003ereturn\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\"myRule\"\u003c/span\u003e\n}\n\n\u003cspan class=\"pl-k\"\u003efunc\u003c/span\u003e (\u003cspan class=\"pl-s1\"\u003ef\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003emyRule\u003c/span\u003e) \u003cspan class=\"pl-c1\"\u003eApply\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e*\u003c/span\u003elint.\u003cspan class=\"pl-smi\"\u003eFile\u003c/span\u003e, lint.\u003cspan class=\"pl-smi\"\u003eArguments\u003c/span\u003e) []lint.\u003cspan class=\"pl-smi\"\u003eFailure\u003c/span\u003e { \u003cspan class=\"pl-c1\"\u003e...\u003c/span\u003e }\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCustom Formatter\u003c/h3\u003e\u003ca id=\"user-content-custom-formatter\" class=\"anchor\" aria-label=\"Permalink: Custom Formatter\" href=\"#custom-formatter\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eEach formatter needs to implement the following interface:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-go notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"type Formatter interface {\n\tFormat(\u0026lt;-chan Failure, Config) (string, error)\n\tName() string\n}\"\u003e\u003cpre\u003e\u003cspan class=\"pl-k\"\u003etype\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003eFormatter\u003c/span\u003e \u003cspan class=\"pl-k\"\u003einterface\u003c/span\u003e {\n\t\u003cspan class=\"pl-c1\"\u003eFormat\u003c/span\u003e(\u003cspan class=\"pl-c1\"\u003e\u0026lt;-\u003c/span\u003e\u003cspan class=\"pl-k\"\u003echan\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003eFailure\u003c/span\u003e, \u003cspan class=\"pl-smi\"\u003eConfig\u003c/span\u003e) (\u003cspan class=\"pl-smi\"\u003estring\u003c/span\u003e, \u003cspan class=\"pl-smi\"\u003eerror\u003c/span\u003e)\n\t\u003cspan class=\"pl-c1\"\u003eName\u003c/span\u003e() \u003cspan class=\"pl-smi\"\u003estring\u003c/span\u003e\n}\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003eFormat\u003c/code\u003e method accepts a channel of \u003ccode\u003eFailure\u003c/code\u003e instances and the configuration of the enabled rules. The \u003ccode\u003eName()\u003c/code\u003e method should return a string different from the names of the already existing rules. This string is used when specifying the formatter when invoking the \u003ccode\u003erevive\u003c/code\u003e CLI tool.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eFor a sample formatter, take a look at \u003ca href=\"/mgechev/revive/blob/master/formatter/json.go\"\u003ethis file\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSpeed Comparison\u003c/h2\u003e\u003ca id=\"user-content-speed-comparison\" class=\"anchor\" aria-label=\"Permalink: Speed Comparison\" href=\"#speed-comparison\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eCompared to \u003ccode\u003egolint\u003c/code\u003e, \u003ccode\u003erevive\u003c/code\u003e performs better because it lints the files for each individual rule into a separate goroutine. Here's a basic performance benchmark on MacBook Pro Early 2013 run on Kubernetes:\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003egolint\u003c/h3\u003e\u003ca id=\"user-content-golint\" class=\"anchor\" aria-label=\"Permalink: golint\" href=\"#golint\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"time golint kubernetes/... \u0026gt; /dev/null\n\nreal 0m54.837s\nuser 0m57.844s\nsys 0m9.146s\"\u003e\u003cpre\u003e\u003cspan class=\"pl-k\"\u003etime\u003c/span\u003e golint kubernetes/... \u003cspan class=\"pl-k\"\u003e\u0026gt;\u003c/span\u003e /dev/null\n\nreal 0m54.837s\nuser 0m57.844s\nsys 0m9.146s\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003erevive's speed\u003c/h3\u003e\u003ca id=\"user-content-revives-speed\" class=\"anchor\" aria-label=\"Permalink: revive's speed\" href=\"#revives-speed\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# no type checking\ntime revive -config untyped.toml kubernetes/... \u0026gt; /dev/null\n\nreal 0m8.471s\nuser 0m40.721s\nsys 0m3.262s\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e no type checking\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003etime\u003c/span\u003e revive -config untyped.toml kubernetes/... \u003cspan class=\"pl-k\"\u003e\u0026gt;\u003c/span\u003e /dev/null\n\nreal 0m8.471s\nuser 0m40.721s\nsys 0m3.262s\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eKeep in mind that if you use rules that require type checking, the performance may drop to 2x faster than \u003ccode\u003egolint\u003c/code\u003e:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# type checking enabled\ntime revive kubernetes/... \u0026gt; /dev/null\n\nreal 0m26.211s\nuser 2m6.708s\nsys 0m17.192s\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e type checking enabled\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003etime\u003c/span\u003e revive kubernetes/... \u003cspan class=\"pl-k\"\u003e\u0026gt;\u003c/span\u003e /dev/null\n\nreal 0m26.211s\nuser 2m6.708s\nsys 0m17.192s\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eCurrently, type-checking is enabled by default. If you want to run the linter without type-checking, remove all typed rules from the configuration file.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOverriding colorization detection\u003c/h2\u003e\u003ca id=\"user-content-overriding-colorization-detection\" class=\"anchor\" aria-label=\"Permalink: Overriding colorization detection\" href=\"#overriding-colorization-detection\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eBy default, \u003ccode\u003erevive\u003c/code\u003e determines whether or not to colorize its output based on whether it's connected to a TTY or not.\nThis works for most use cases, but may not behave as expected if you use \u003ccode\u003erevive\u003c/code\u003e in a pipeline of commands,\nwhere STDOUT is being piped to another command.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo force colorization, add \u003ccode\u003eREVIVE_FORCE_COLOR=1\u003c/code\u003e to the environment you're running in. For example:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"REVIVE_FORCE_COLOR=1 revive -formatter friendly ./... | tee revive.log\"\u003e\u003cpre\u003eREVIVE_FORCE_COLOR=1 revive -formatter friendly ./... \u003cspan class=\"pl-k\"\u003e|\u003c/span\u003e tee revive.log\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eContributors\u003c/h2\u003e\u003ca id=\"user-content-contributors\" class=\"anchor\" aria-label=\"Permalink: Contributors\" href=\"#contributors\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mgechev\"\u003e\u003cimg alt=\"mgechev\" src=\"https://avatars.githubusercontent.com/u/455023?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/chavacava\"\u003e\u003cimg alt=\"chavacava\" src=\"https://avatars.githubusercontent.com/u/25788468?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/denisvmedia\"\u003e\u003cimg alt=\"denisvmedia\" src=\"https://avatars.githubusercontent.com/u/5462781?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mfederowicz\"\u003e\u003cimg alt=\"mfederowicz\" src=\"https://avatars.githubusercontent.com/u/57678185?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/xuri\"\u003e\u003cimg alt=\"xuri\" src=\"https://avatars.githubusercontent.com/u/2809468?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/alexandear\"\u003e\u003cimg alt=\"alexandear\" src=\"https://avatars.githubusercontent.com/u/3228886?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mgechev\"\u003emgechev\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/chavacava\"\u003echavacava\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/denisvmedia\"\u003edenisvmedia\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mfederowicz\"\u003emfederowicz\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/xuri\"\u003exuri\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/alexandear\"\u003ealexandear\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/ldez\"\u003e\u003cimg alt=\"ldez\" src=\"https://avatars.githubusercontent.com/u/5674651?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/doniacld\"\u003e\u003cimg alt=\"doniacld\" src=\"https://avatars.githubusercontent.com/u/19799268?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Clivern\"\u003e\u003cimg alt=\"Clivern\" src=\"https://avatars.githubusercontent.com/u/1634427?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/morphy2k\"\u003e\u003cimg alt=\"morphy2k\" src=\"https://avatars.githubusercontent.com/u/4280578?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/bernhardreisenberger\"\u003e\u003cimg alt=\"bernhardreisenberger\" src=\"https://avatars.githubusercontent.com/u/5809300?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/dshemin\"\u003e\u003cimg alt=\"dshemin\" src=\"https://avatars.githubusercontent.com/u/11780307?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ldez\"\u003eldez\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/doniacld\"\u003edoniacld\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Clivern\"\u003eClivern\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/morphy2k\"\u003emorphy2k\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/bernhardreisenberger\"\u003ebernhardreisenberger\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/dshemin\"\u003edshemin\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/butuzov\"\u003e\u003cimg alt=\"butuzov\" src=\"https://avatars.githubusercontent.com/u/651824?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/comdiv\"\u003e\u003cimg alt=\"comdiv\" src=\"https://avatars.githubusercontent.com/u/2387862?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/heynemann\"\u003e\u003cimg alt=\"heynemann\" src=\"https://avatars.githubusercontent.com/u/60965?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/gsamokovarov\"\u003e\u003cimg alt=\"gsamokovarov\" src=\"https://avatars.githubusercontent.com/u/604618?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mdelah\"\u003e\u003cimg alt=\"mdelah\" src=\"https://avatars.githubusercontent.com/u/4904544?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/tymonx\"\u003e\u003cimg alt=\"tymonx\" src=\"https://avatars.githubusercontent.com/u/8367378?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/butuzov\"\u003ebutuzov\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/comdiv\"\u003ecomdiv\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/heynemann\"\u003eheynemann\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gsamokovarov\"\u003egsamokovarov\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mdelah\"\u003emdelah\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/tymonx\"\u003etymonx\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/sina-devel\"\u003e\u003cimg alt=\"sina-devel\" src=\"https://avatars.githubusercontent.com/u/61763643?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/rawen17\"\u003e\u003cimg alt=\"rawen17\" src=\"https://avatars.githubusercontent.com/u/36483900?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/dominiquelefevre\"\u003e\u003cimg alt=\"dominiquelefevre\" src=\"https://avatars.githubusercontent.com/u/54854047?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/git-hulk\"\u003e\u003cimg alt=\"git-hulk\" src=\"https://avatars.githubusercontent.com/u/4987594?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/shmsr\"\u003e\u003cimg alt=\"shmsr\" src=\"https://avatars.githubusercontent.com/u/51480165?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/ytnsym\"\u003e\u003cimg alt=\"ytnsym\" src=\"https://avatars.githubusercontent.com/u/57400690?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/sina-devel\"\u003esina-devel\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/rawen17\"\u003erawen17\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/dominiquelefevre\"\u003edominiquelefevre\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/git-hulk\"\u003egit-hulk\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/shmsr\"\u003eshmsr\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ytnsym\"\u003eytnsym\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/zimmski\"\u003e\u003cimg alt=\"zimmski\" src=\"https://avatars.githubusercontent.com/u/1847950?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mapreal19\"\u003e\u003cimg alt=\"mapreal19\" src=\"https://avatars.githubusercontent.com/u/3055997?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/cce\"\u003e\u003cimg alt=\"cce\" src=\"https://avatars.githubusercontent.com/u/51567?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/skaji\"\u003e\u003cimg alt=\"skaji\" src=\"https://avatars.githubusercontent.com/u/1589550?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/ccoVeille\"\u003e\u003cimg alt=\"ccoVeille\" src=\"https://avatars.githubusercontent.com/u/3875889?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/tamird\"\u003e\u003cimg alt=\"tamird\" src=\"https://avatars.githubusercontent.com/u/1535036?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/zimmski\"\u003ezimmski\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mapreal19\"\u003emapreal19\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/cce\"\u003ecce\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/skaji\"\u003eskaji\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ccoVeille\"\u003eccoVeille\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/tamird\"\u003etamird\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/markelog\"\u003e\u003cimg alt=\"markelog\" src=\"https://avatars.githubusercontent.com/u/945528?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mihaitodor\"\u003e\u003cimg alt=\"mihaitodor\" src=\"https://avatars.githubusercontent.com/u/788216?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/dvejmz\"\u003e\u003cimg alt=\"dvejmz\" src=\"https://avatars.githubusercontent.com/u/9487006?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/abeltay\"\u003e\u003cimg alt=\"abeltay\" src=\"https://avatars.githubusercontent.com/u/15604207?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/damif94\"\u003e\u003cimg alt=\"damif94\" src=\"https://avatars.githubusercontent.com/u/29461526?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Groxx\"\u003e\u003cimg alt=\"Groxx\" src=\"https://avatars.githubusercontent.com/u/77197?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/markelog\"\u003emarkelog\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mihaitodor\"\u003emihaitodor\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/dvejmz\"\u003edvejmz\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/abeltay\"\u003eabeltay\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/damif94\"\u003edamif94\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Groxx\"\u003eGroxx\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/StephenButtolph\"\u003e\u003cimg alt=\"StephenButtolph\" src=\"https://avatars.githubusercontent.com/u/22109487?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/StephenBrown2\"\u003e\u003cimg alt=\"StephenBrown2\" src=\"https://avatars.githubusercontent.com/u/1148665?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/lsytj0413\"\u003e\u003cimg alt=\"lsytj0413\" src=\"https://avatars.githubusercontent.com/u/6871552?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/qascade\"\u003e\u003cimg alt=\"qascade\" src=\"https://avatars.githubusercontent.com/u/54154054?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/ridvansumset\"\u003e\u003cimg alt=\"ridvansumset\" src=\"https://avatars.githubusercontent.com/u/26631560?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/rliebz\"\u003e\u003cimg alt=\"rliebz\" src=\"https://avatars.githubusercontent.com/u/5321575?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/StephenButtolph\"\u003eStephenButtolph\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/StephenBrown2\"\u003eStephenBrown2\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/lsytj0413\"\u003elsytj0413\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/qascade\"\u003eqascade\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ridvansumset\"\u003eridvansumset\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/rliebz\"\u003erliebz\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/rdeusser\"\u003e\u003cimg alt=\"rdeusser\" src=\"https://avatars.githubusercontent.com/u/5935071?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/rmarku\"\u003e\u003cimg alt=\"rmarku\" src=\"https://avatars.githubusercontent.com/u/1113370?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/rnikoopour\"\u003e\u003cimg alt=\"rnikoopour\" src=\"https://avatars.githubusercontent.com/u/7692789?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/rafamadriz\"\u003e\u003cimg alt=\"rafamadriz\" src=\"https://avatars.githubusercontent.com/u/67771985?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/paco0x\"\u003e\u003cimg alt=\"paco0x\" src=\"https://avatars.githubusercontent.com/u/6123425?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/pa-m\"\u003e\u003cimg alt=\"pa-m\" src=\"https://avatars.githubusercontent.com/u/5503106?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/rdeusser\"\u003erdeusser\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/rmarku\"\u003ermarku\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/rnikoopour\"\u003ernikoopour\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/rafamadriz\"\u003erafamadriz\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/paco0x\"\u003epaco0x\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/pa-m\"\u003epa-m\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/cinar\"\u003e\u003cimg alt=\"cinar\" src=\"https://avatars.githubusercontent.com/u/1754092?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/natefinch\"\u003e\u003cimg alt=\"natefinch\" src=\"https://avatars.githubusercontent.com/u/3185864?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/nunnatsa\"\u003e\u003cimg alt=\"nunnatsa\" src=\"https://avatars.githubusercontent.com/u/60659093?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/michalhisim\"\u003e\u003cimg alt=\"michalhisim\" src=\"https://avatars.githubusercontent.com/u/764249?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/zeripath\"\u003e\u003cimg alt=\"zeripath\" src=\"https://avatars.githubusercontent.com/u/1824502?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/y-yagi\"\u003e\u003cimg alt=\"y-yagi\" src=\"https://avatars.githubusercontent.com/u/987638?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/cinar\"\u003ecinar\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/natefinch\"\u003enatefinch\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/nunnatsa\"\u003enunnatsa\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/michalhisim\"\u003emichalhisim\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/zeripath\"\u003ezeripath\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/y-yagi\"\u003ey-yagi\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/techknowlogick\"\u003e\u003cimg alt=\"techknowlogick\" src=\"https://avatars.githubusercontent.com/u/164197?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/okhowang\"\u003e\u003cimg alt=\"okhowang\" src=\"https://avatars.githubusercontent.com/u/3352585?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/meanguy\"\u003e\u003cimg alt=\"meanguy\" src=\"https://avatars.githubusercontent.com/u/78570571?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/likyh\"\u003e\u003cimg alt=\"likyh\" src=\"https://avatars.githubusercontent.com/u/3294100?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/kerneltravel\"\u003e\u003cimg alt=\"kerneltravel\" src=\"https://avatars.githubusercontent.com/u/437879?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/jmckenzieark\"\u003e\u003cimg alt=\"jmckenzieark\" src=\"https://avatars.githubusercontent.com/u/70923399?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/techknowlogick\"\u003etechknowlogick\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/okhowang\"\u003eokhowang\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/meanguy\"\u003emeanguy\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/likyh\"\u003elikyh\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/kerneltravel\"\u003ekerneltravel\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jmckenzieark\"\u003ejmckenzieark\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/haya14busa\"\u003e\u003cimg alt=\"haya14busa\" src=\"https://avatars.githubusercontent.com/u/3797062?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/fregin\"\u003e\u003cimg alt=\"fregin\" src=\"https://avatars.githubusercontent.com/u/23256240?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/ydah\"\u003e\u003cimg alt=\"ydah\" src=\"https://avatars.githubusercontent.com/u/13041216?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/WillAbides\"\u003e\u003cimg alt=\"WillAbides\" src=\"https://avatars.githubusercontent.com/u/233500?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/heyvito\"\u003e\u003cimg alt=\"heyvito\" src=\"https://avatars.githubusercontent.com/u/77198?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/VincentBaron\"\u003e\u003cimg alt=\"VincentBaron\" src=\"https://avatars.githubusercontent.com/u/58427099?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/haya14busa\"\u003ehaya14busa\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/fregin\"\u003efregin\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ydah\"\u003eydah\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/WillAbides\"\u003eWillAbides\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/heyvito\"\u003eheyvito\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/VincentBaron\"\u003eVincentBaron\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/scop\"\u003e\u003cimg alt=\"scop\" src=\"https://avatars.githubusercontent.com/u/109152?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/vkrol\"\u003e\u003cimg alt=\"vkrol\" src=\"https://avatars.githubusercontent.com/u/153412?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/KirillSluchaev\"\u003e\u003cimg alt=\"KirillSluchaev\" src=\"https://avatars.githubusercontent.com/u/58340009?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Jarema\"\u003e\u003cimg alt=\"Jarema\" src=\"https://avatars.githubusercontent.com/u/7369771?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/tartale\"\u003e\u003cimg alt=\"tartale\" src=\"https://avatars.githubusercontent.com/u/9323250?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/tmzane\"\u003e\u003cimg alt=\"tmzane\" src=\"https://avatars.githubusercontent.com/u/73077675?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/scop\"\u003escop\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/vkrol\"\u003evkrol\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/KirillSluchaev\"\u003eKirillSluchaev\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Jarema\"\u003eJarema\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/tartale\"\u003etartale\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/tmzane\"\u003etmzane\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/felipedavid\"\u003e\u003cimg alt=\"felipedavid\" src=\"https://avatars.githubusercontent.com/u/75049173?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/euank\"\u003e\u003cimg alt=\"euank\" src=\"https://avatars.githubusercontent.com/u/2147649?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Entuazism\"\u003e\u003cimg alt=\"Entuazism\" src=\"https://avatars.githubusercontent.com/u/56657856?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Juneezee\"\u003e\u003cimg alt=\"Juneezee\" src=\"https://avatars.githubusercontent.com/u/20135478?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/echoix\"\u003e\u003cimg alt=\"echoix\" src=\"https://avatars.githubusercontent.com/u/27212526?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/EXHades\"\u003e\u003cimg alt=\"EXHades\" src=\"https://avatars.githubusercontent.com/u/22260242?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/felipedavid\"\u003efelipedavid\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/euank\"\u003eeuank\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Entuazism\"\u003eEntuazism\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Juneezee\"\u003eJuneezee\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/echoix\"\u003eechoix\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/EXHades\"\u003eEXHades\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/petethepig\"\u003e\u003cimg alt=\"petethepig\" src=\"https://avatars.githubusercontent.com/u/662636?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Dirk007\"\u003e\u003cimg alt=\"Dirk007\" src=\"https://avatars.githubusercontent.com/u/17194484?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/yangdiangzb\"\u003e\u003cimg alt=\"yangdiangzb\" src=\"https://avatars.githubusercontent.com/u/16643665?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/derekperkins\"\u003e\u003cimg alt=\"derekperkins\" src=\"https://avatars.githubusercontent.com/u/3588778?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/bboreham\"\u003e\u003cimg alt=\"bboreham\" src=\"https://avatars.githubusercontent.com/u/8125524?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/attiss\"\u003e\u003cimg alt=\"attiss\" src=\"https://avatars.githubusercontent.com/u/23562566?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/petethepig\"\u003epetethepig\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Dirk007\"\u003eDirk007\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/yangdiangzb\"\u003eyangdiangzb\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/derekperkins\"\u003ederekperkins\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/bboreham\"\u003ebboreham\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/attiss\"\u003eattiss\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/hatamiarash7\"\u003e\u003cimg alt=\"hatamiarash7\" src=\"https://avatars.githubusercontent.com/u/16325641?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Aragur\"\u003e\u003cimg alt=\"Aragur\" src=\"https://avatars.githubusercontent.com/u/11004008?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/amincheloh\"\u003e\u003cimg alt=\"amincheloh\" src=\"https://avatars.githubusercontent.com/u/1217397?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/kulti\"\u003e\u003cimg alt=\"kulti\" src=\"https://avatars.githubusercontent.com/u/1286683?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/Abirdcfly\"\u003e\u003cimg alt=\"Abirdcfly\" src=\"https://avatars.githubusercontent.com/u/5100555?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/abhinav\"\u003e\u003cimg alt=\"abhinav\" src=\"https://avatars.githubusercontent.com/u/41730?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/hatamiarash7\"\u003ehatamiarash7\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Aragur\"\u003eAragur\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/amincheloh\"\u003eamincheloh\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/kulti\"\u003ekulti\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Abirdcfly\"\u003eAbirdcfly\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/abhinav\"\u003eabhinav\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/r-ricci\"\u003e\u003cimg alt=\"r-ricci\" src=\"https://avatars.githubusercontent.com/u/52817765?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mmcloughlin\"\u003e\u003cimg alt=\"mmcloughlin\" src=\"https://avatars.githubusercontent.com/u/7133685?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/mathieu-aubin\"\u003e\u003cimg alt=\"mathieu-aubin\" src=\"https://avatars.githubusercontent.com/u/15820228?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/martinsirbe\"\u003e\u003cimg alt=\"martinsirbe\" src=\"https://avatars.githubusercontent.com/u/13367583?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/avorima\"\u003e\u003cimg alt=\"avorima\" src=\"https://avatars.githubusercontent.com/u/15158349?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/moukoublen\"\u003e\u003cimg alt=\"moukoublen\" src=\"https://avatars.githubusercontent.com/u/1380039?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/r-ricci\"\u003er-ricci\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mmcloughlin\"\u003emmcloughlin\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mathieu-aubin\"\u003emathieu-aubin\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/martinsirbe\"\u003emartinsirbe\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/avorima\"\u003eavorima\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/moukoublen\"\u003emoukoublen\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/very-amused\"\u003e\u003cimg alt=\"very-amused\" src=\"https://avatars.githubusercontent.com/u/44382255?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/johnrichardrinehart\"\u003e\u003cimg alt=\"johnrichardrinehart\" src=\"https://avatars.githubusercontent.com/u/6321578?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/walles\"\u003e\u003cimg alt=\"walles\" src=\"https://avatars.githubusercontent.com/u/158201?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/jefersonf\"\u003e\u003cimg alt=\"jefersonf\" src=\"https://avatars.githubusercontent.com/u/3049540?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/jamesmaidment\"\u003e\u003cimg alt=\"jamesmaidment\" src=\"https://avatars.githubusercontent.com/u/2050324?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/jalaziz\"\u003e\u003cimg alt=\"jalaziz\" src=\"https://avatars.githubusercontent.com/u/247849?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/very-amused\"\u003every-amused\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/johnrichardrinehart\"\u003ejohnrichardrinehart\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/walles\"\u003ewalles\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jefersonf\"\u003ejefersonf\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jamesmaidment\"\u003ejamesmaidment\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jalaziz\"\u003ejalaziz\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/grongor\"\u003e\u003cimg alt=\"grongor\" src=\"https://avatars.githubusercontent.com/u/972493?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/tie\"\u003e\u003cimg alt=\"tie\" src=\"https://avatars.githubusercontent.com/u/14792994?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/quasilyte\"\u003e\u003cimg alt=\"quasilyte\" src=\"https://avatars.githubusercontent.com/u/6286655?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/davidhsingyuchen\"\u003e\u003cimg alt=\"davidhsingyuchen\" src=\"https://avatars.githubusercontent.com/u/17587061?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/gfariasalves-ionos\"\u003e\u003cimg alt=\"gfariasalves-ionos\" src=\"https://avatars.githubusercontent.com/u/112630064?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/gburanov\"\u003e\u003cimg alt=\"gburanov\" src=\"https://avatars.githubusercontent.com/u/2969603?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/grongor\"\u003egrongor\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/tie\"\u003etie\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/quasilyte\"\u003equasilyte\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/davidhsingyuchen\"\u003edavidhsingyuchen\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gfariasalves-ionos\"\u003egfariasalves-ionos\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gburanov\"\u003egburanov\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cmarkdown-accessiblity-table\u003e\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/ginglis13\"\u003e\u003cimg alt=\"ginglis13\" src=\"https://avatars.githubusercontent.com/u/43075615?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003cth align=\"center\"\u003e\u003ca href=\"https://github.com/flesser\"\u003e\u003cimg alt=\"flesser\" src=\"https://avatars.githubusercontent.com/u/510681?v=4\u0026amp;s=117\" width=\"117\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ginglis13\"\u003eginglis13\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/flesser\"\u003eflesser\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\u003c/markdown-accessiblity-table\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eLicense\u003c/h2\u003e\u003ca id=\"user-content-license\" class=\"anchor\" aria-label=\"Permalink: License\" href=\"#license\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eMIT\u003c/p\u003e\n\u003c/article\u003e","loaded":true,"timedOut":false,"errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"revive","anchor":"revive","htmlText":"revive"},{"level":2,"text":"Who uses Revive","anchor":"who-uses-revive","htmlText":"Who uses Revive"},{"level":2,"text":"Installation","anchor":"installation","htmlText":"Installation"},{"level":2,"text":"Usage","anchor":"usage","htmlText":"Usage"},{"level":3,"text":"Docker","anchor":"docker","htmlText":"Docker"},{"level":3,"text":"Bazel","anchor":"bazel","htmlText":"Bazel"},{"level":3,"text":"Text Editors","anchor":"text-editors","htmlText":"Text Editors"},{"level":3,"text":"GitHub Actions","anchor":"github-actions","htmlText":"GitHub Actions"},{"level":3,"text":"Continuous Integration","anchor":"continuous-integration","htmlText":"Continuous Integration"},{"level":3,"text":"Linter aggregators","anchor":"linter-aggregators","htmlText":"Linter aggregators"},{"level":4,"text":"golangci-lint","anchor":"golangci-lint","htmlText":"golangci-lint"},{"level":3,"text":"Command Line Flags","anchor":"command-line-flags","htmlText":"Command Line Flags"},{"level":3,"text":"Sample Invocations","anchor":"sample-invocations","htmlText":"Sample Invocations"},{"level":3,"text":"Comment Directives","anchor":"comment-directives","htmlText":"Comment Directives"},{"level":3,"text":"Configuration","anchor":"configuration","htmlText":"Configuration"},{"level":3,"text":"Default Configuration","anchor":"default-configuration","htmlText":"Default Configuration"},{"level":3,"text":"Custom Configuration","anchor":"custom-configuration","htmlText":"Custom Configuration"},{"level":3,"text":"Recommended Configuration","anchor":"recommended-configuration","htmlText":"Recommended Configuration"},{"level":3,"text":"Rule-level file excludes","anchor":"rule-level-file-excludes","htmlText":"Rule-level file excludes"},{"level":2,"text":"Available Rules","anchor":"available-rules","htmlText":"Available Rules"},{"level":2,"text":"Configurable rules","anchor":"configurable-rules","htmlText":"Configurable rules"},{"level":3,"text":"var-naming","anchor":"var-naming","htmlText":"var-naming"},{"level":2,"text":"Available Formatters","anchor":"available-formatters","htmlText":"Available Formatters"},{"level":3,"text":"Friendly","anchor":"friendly","htmlText":"Friendly"},{"level":3,"text":"Stylish","anchor":"stylish","htmlText":"Stylish"},{"level":3,"text":"Default","anchor":"default","htmlText":"Default"},{"level":3,"text":"Plain","anchor":"plain","htmlText":"Plain"},{"level":3,"text":"Unix","anchor":"unix","htmlText":"Unix"},{"level":3,"text":"JSON","anchor":"json","htmlText":"JSON"},{"level":3,"text":"NDJSON","anchor":"ndjson","htmlText":"NDJSON"},{"level":3,"text":"Checkstyle","anchor":"checkstyle","htmlText":"Checkstyle"},{"level":3,"text":"SARIF","anchor":"sarif","htmlText":"SARIF"},{"level":2,"text":"Extensibility","anchor":"extensibility","htmlText":"Extensibility"},{"level":3,"text":"Writing a Custom Rule","anchor":"writing-a-custom-rule","htmlText":"Writing a Custom Rule"},{"level":4,"text":"Using revive as a library","anchor":"using-revive-as-a-library","htmlText":"Using revive as a library"},{"level":3,"text":"Custom Formatter","anchor":"custom-formatter","htmlText":"Custom Formatter"},{"level":2,"text":"Speed Comparison","anchor":"speed-comparison","htmlText":"Speed Comparison"},{"level":3,"text":"golint","anchor":"golint","htmlText":"golint"},{"level":3,"text":"revive's speed","anchor":"revives-speed","htmlText":"revive's speed"},{"level":2,"text":"Overriding colorization detection","anchor":"overriding-colorization-detection","htmlText":"Overriding colorization detection"},{"level":2,"text":"Contributors","anchor":"contributors","htmlText":"Contributors"},{"level":2,"text":"License","anchor":"license","htmlText":"License"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive"}},{"displayName":"CODE_OF_CONDUCT.md","repoName":"revive","refName":"master","path":"CODE_OF_CONDUCT.md","preferredFileType":"code_of_conduct","tabName":"Code of conduct","richText":null,"loaded":false,"timedOut":false,"errorMessage":null,"headerInfo":{"toc":null,"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive"}},{"displayName":"LICENSE","repoName":"revive","refName":"master","path":"LICENSE","preferredFileType":"license","tabName":"MIT","richText":null,"loaded":false,"timedOut":false,"errorMessage":null,"headerInfo":{"toc":null,"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive"}},{"displayName":"SECURITY.md","repoName":".github","refName":"master","path":"SECURITY.md","preferredFileType":"security","tabName":"Security","richText":null,"loaded":false,"timedOut":false,"errorMessage":null,"headerInfo":{"toc":null,"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive"}}],"overviewFilesProcessingTime":0}},"appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-708ec8ade250.js","githubDevUrl":null,"enabled_features":{"copilot_workspace":null,"code_nav_ui_events":false,"overview_shared_code_dropdown_button":true,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}}</script> <div data-target="react-partial.reactRoot"><style data-styled="true" data-styled-version="5.3.11">.iVEunk{margin-top:16px;margin-bottom:16px;}/*!sc*/ .jzuOtQ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}/*!sc*/ .bGojzy{margin-bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:16px;}/*!sc*/ .iNSVHo{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding-bottom:16px;padding-top:8px;}/*!sc*/ .bVgnfw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;gap:8px;}/*!sc*/ @media screen and (max-width:320px){.bVgnfw{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}}/*!sc*/ .CEgMp{position:relative;}/*!sc*/ @media screen and (max-width:380px){.CEgMp .ref-selector-button-text-container{max-width:80px;}}/*!sc*/ @media screen and (max-width:320px){.CEgMp{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}.CEgMp .overview-ref-selector{width:100%;}.CEgMp .overview-ref-selector > span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}.CEgMp .overview-ref-selector > span > span[data-component="text"]{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}}/*!sc*/ .gMOVLe[data-size="medium"]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-width:0;}/*!sc*/ .gMOVLe[data-size="medium"] svg{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));}/*!sc*/ .gMOVLe[data-size="medium"] > span{width:inherit;}/*!sc*/ .gUkoLg{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}/*!sc*/ .bZBlpz{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;}/*!sc*/ .lhTYNA{margin-right:4px;color:var(--fgColor-muted,var(--color-fg-muted,#656d76));}/*!sc*/ .ffLUq{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}/*!sc*/ .bmcJak{min-width:0;}/*!sc*/ .fLXEGX{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (max-width:1079px){.fLXEGX{display:none;}}/*!sc*/ .lmSMZJ[data-size="medium"]{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));padding-left:4px;padding-right:4px;}/*!sc*/ .lmSMZJ[data-size="medium"] span[data-component="leadingVisual"]{margin-right:4px !important;}/*!sc*/ .dqfxud{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (min-width:1080px){.dqfxud{display:none;}}/*!sc*/ @media screen and (max-width:543px){.dqfxud{display:none;}}/*!sc*/ .fGwBZA[data-size="medium"][data-no-visuals]{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));}/*!sc*/ .jxTzTd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:8px;gap:8px;}/*!sc*/ .gqqBXN{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:8px;}/*!sc*/ @media screen and (max-width:543px){.gqqBXN{display:none;}}/*!sc*/ .dzXgxt{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (max-width:1011px){.dzXgxt{display:none;}}/*!sc*/ .iWFGlI{margin-left:8px;margin-right:8px;margin:0;}/*!sc*/ .vcvyP{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-width:160px;}/*!sc*/ .YUPas{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (min-width:1012px){.YUPas{display:none;}}/*!sc*/ .izFOf{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (min-width:544px){.izFOf{display:none;}}/*!sc*/ .vIPPs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;}/*!sc*/ .fdROMU{width:100%;border-collapse:separate;border-spacing:0;border:1px solid;border-color:var(--borderColor-default,var(--color-border-default,#d0d7de));border-radius:6px;table-layout:fixed;overflow:unset;}/*!sc*/ .jGKpsv{height:0px;line-height:0px;}/*!sc*/ .jGKpsv tr{height:0px;font-size:0px;}/*!sc*/ .jdgHnn{padding:16px;color:var(--fgColor-muted,var(--color-fg-muted,#656d76));font-size:12px;text-align:left;height:40px;}/*!sc*/ .jdgHnn th{padding-left:16px;background-color:var(--bgColor-muted,var(--color-canvas-subtle,#f6f8fa));}/*!sc*/ .bQivRW{width:100%;border-top-left-radius:6px;}/*!sc*/ @media screen and (min-width:544px){.bQivRW{display:none;}}/*!sc*/ .ldkMIO{width:40%;border-top-left-radius:6px;}/*!sc*/ @media screen and (max-width:543px){.ldkMIO{display:none;}}/*!sc*/ .jMbWeI{text-align:right;padding-right:16px;width:136px;border-top-right-radius:6px;}/*!sc*/ .gpqjiB{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));font-size:12px;height:40px;}/*!sc*/ .dzCJzi{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;min-width:273px;padding:8px;}/*!sc*/ @media screen and (min-width:544px){.dzCJzi{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;}}/*!sc*/ .eNCcrz{text-align:center;vertical-align:center;height:40px;border-top:1px solid;border-color:var(--borderColor-default,var(--color-border-default,#d0d7de));}/*!sc*/ .bHTcCe{border-top:1px solid var(--borderColor-default,var(--color-border-default));cursor:pointer;}/*!sc*/ .csrIcr{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;gap:16px;}/*!sc*/ .bUQNHB{border:1px solid;border-color:var(--borderColor-default,var(--color-border-default,#d0d7de));border-radius:6px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}/*!sc*/ @media screen and (max-width:543px){.bUQNHB{margin-left:-16px;margin-right:-16px;max-width:calc(100% + 32px);}}/*!sc*/ @media screen and (min-width:544px){.bUQNHB{max-width:100%;}}/*!sc*/ .jPdcfu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-bottom:1px solid;border-bottom-color:var(--borderColor-default,var(--color-border-default,#d0d7de));-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-right:8px;position:-webkit-sticky;position:sticky;top:0;background-color:var(--bgColor-default,var(--color-canvas-default,#ffffff));z-index:1;border-top-left-radius:6px;border-top-right-radius:6px;}/*!sc*/ .iphEWz{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border-bottom:none;max-width:100%;padding-left:8px;padding-right:8px;}/*!sc*/ .hUCRAk{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}/*!sc*/ .cwoBXV[data-size="medium"]{color:var(--fgColor-muted,var(--color-fg-subtle,#6e7781));padding-left:8px;padding-right:8px;}/*!sc*/ .QkQOb{padding:32px;overflow:auto;}/*!sc*/ data-styled.g1[id="Box-sc-g0xbh4-0"]{content:"iVEunk,jzuOtQ,bGojzy,iNSVHo,bVgnfw,CEgMp,gMOVLe,gUkoLg,bZBlpz,lhTYNA,ffLUq,bmcJak,fLXEGX,lmSMZJ,dqfxud,fGwBZA,jxTzTd,gqqBXN,dzXgxt,iWFGlI,vcvyP,YUPas,izFOf,vIPPs,fdROMU,jGKpsv,jdgHnn,bQivRW,ldkMIO,jMbWeI,gpqjiB,dzCJzi,eNCcrz,bHTcCe,csrIcr,bUQNHB,jPdcfu,iphEWz,hUCRAk,cwoBXV,QkQOb,"}/*!sc*/ .brGdpi{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip:rect(0,0,0,0);clip:rect(0,0,0,0);white-space:nowrap;border-width:0;}/*!sc*/ data-styled.g5[id="_VisuallyHidden__VisuallyHidden-sc-11jhm7a-0"]{content:"brGdpi,"}/*!sc*/ .hWlpPn{position:relative;display:inline-block;}/*!sc*/ .hWlpPn::after{position:absolute;z-index:1000000;display:none;padding:0.5em 0.75em;font:normal normal 11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";-webkit-font-smoothing:subpixel-antialiased;color:var(--tooltip-fgColor,var(--fgColor-onEmphasis,var(--color-fg-on-emphasis,#ffffff)));text-align:center;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;-webkit-letter-spacing:normal;-moz-letter-spacing:normal;-ms-letter-spacing:normal;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:var(--tooltip-bgColor,var(--bgColor-emphasis,var(--color-neutral-emphasis-plus,#24292f)));border-radius:6px;opacity:0;}/*!sc*/ @-webkit-keyframes tooltip-appear{from{opacity:0;}to{opacity:1;}}/*!sc*/ @keyframes tooltip-appear{from{opacity:0;}to{opacity:1;}}/*!sc*/ .hWlpPn:hover::after,.hWlpPn:active::after,.hWlpPn:focus::after,.hWlpPn:focus-within::after{display:inline-block;-webkit-text-decoration:none;text-decoration:none;-webkit-animation-name:tooltip-appear;animation-name:tooltip-appear;-webkit-animation-duration:0.1s;animation-duration:0.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-animation-delay:0s;animation-delay:0s;}/*!sc*/ .hWlpPn.tooltipped-no-delay:hover::after,.hWlpPn.tooltipped-no-delay:active::after,.hWlpPn.tooltipped-no-delay:focus::after,.hWlpPn.tooltipped-no-delay:focus-within::after{-webkit-animation-delay:0s;animation-delay:0s;}/*!sc*/ .hWlpPn.tooltipped-multiline:hover::after,.hWlpPn.tooltipped-multiline:active::after,.hWlpPn.tooltipped-multiline:focus::after,.hWlpPn.tooltipped-multiline:focus-within::after{display:table-cell;}/*!sc*/ .hWlpPn.tooltipped-s::after,.hWlpPn.tooltipped-se::after,.hWlpPn.tooltipped-sw::after{top:100%;right:50%;margin-top:6px;}/*!sc*/ .hWlpPn.tooltipped-se::after{right:auto;left:50%;margin-left:-16px;}/*!sc*/ .hWlpPn.tooltipped-sw::after{margin-right:-16px;}/*!sc*/ .hWlpPn.tooltipped-n::after,.hWlpPn.tooltipped-ne::after,.hWlpPn.tooltipped-nw::after{right:50%;bottom:100%;margin-bottom:6px;}/*!sc*/ .hWlpPn.tooltipped-ne::after{right:auto;left:50%;margin-left:-16px;}/*!sc*/ .hWlpPn.tooltipped-nw::after{margin-right:-16px;}/*!sc*/ .hWlpPn.tooltipped-s::after,.hWlpPn.tooltipped-n::after{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);}/*!sc*/ .hWlpPn.tooltipped-w::after{right:100%;bottom:50%;margin-right:6px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);}/*!sc*/ .hWlpPn.tooltipped-e::after{bottom:50%;left:100%;margin-left:6px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);}/*!sc*/ .hWlpPn.tooltipped-multiline::after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-wrap:break-word;white-space:pre-line;border-collapse:separate;}/*!sc*/ .hWlpPn.tooltipped-multiline.tooltipped-s::after,.hWlpPn.tooltipped-multiline.tooltipped-n::after{right:auto;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);}/*!sc*/ .hWlpPn.tooltipped-multiline.tooltipped-w::after,.hWlpPn.tooltipped-multiline.tooltipped-e::after{right:100%;}/*!sc*/ .hWlpPn.tooltipped-align-right-2::after{right:0;margin-right:0;}/*!sc*/ .hWlpPn.tooltipped-align-left-2::after{left:0;margin-left:0;}/*!sc*/ data-styled.g16[id="Tooltip__TooltipBase-sc-17tf59c-0"]{content:"hWlpPn,"}/*!sc*/ .liVpTx{display:inline-block;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap;max-width:125px;}/*!sc*/ data-styled.g18[id="Truncate__StyledTruncate-sc-23o1d2-0"]{content:"liVpTx,"}/*!sc*/ </style> <!-- --> <!-- --> <div class="Box-sc-g0xbh4-0 iVEunk"><div class="Box-sc-g0xbh4-0 jzuOtQ"><div class="Box-sc-g0xbh4-0 bGojzy"></div></div><div class="Box-sc-g0xbh4-0 iNSVHo"><div class="Box-sc-g0xbh4-0 bVgnfw"><div class="Box-sc-g0xbh4-0 CEgMp"><button type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-label="master branch" data-testid="anchor-button" class="Box-sc-g0xbh4-0 gMOVLe prc-Button-ButtonBase-c50BI overview-ref-selector width-full" data-loading="false" data-size="medium" data-variant="default" aria-describedby="branch-picker-repos-header-ref-selector-loading-announcement" id="branch-picker-repos-header-ref-selector"><span data-component="buttonContent" class="Box-sc-g0xbh4-0 gUkoLg prc-Button-ButtonContent-HKbr-"><span data-component="text" class="prc-Button-Label-pTQ3x"><div class="Box-sc-g0xbh4-0 bZBlpz"><div class="Box-sc-g0xbh4-0 lhTYNA"><svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></div><div class="Box-sc-g0xbh4-0 ffLUq ref-selector-button-text-container"><span class="Box-sc-g0xbh4-0 bmcJak prc-Text-Text-0ima0"> <!-- -->master</span></div></div></span><span data-component="trailingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></span></button><button hidden="" data-hotkey-scope="read-only-cursor-text-area"></button></div><div class="Box-sc-g0xbh4-0 fLXEGX"><a style="--button-color:fg.muted" type="button" href="/mgechev/revive/branches" class="Box-sc-g0xbh4-0 lmSMZJ prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="invisible" aria-describedby=":Rclab:-loading-announcement"><span data-component="buttonContent" class="Box-sc-g0xbh4-0 gUkoLg prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x">Branches</span></span></a><a style="--button-color:fg.muted" type="button" href="/mgechev/revive/tags" class="Box-sc-g0xbh4-0 lmSMZJ prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="invisible" aria-describedby=":Rklab:-loading-announcement"><span data-component="buttonContent" class="Box-sc-g0xbh4-0 gUkoLg prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-tag" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x">Tags</span></span></a></div><div class="Box-sc-g0xbh4-0 dqfxud"><a style="--button-color:fg.muted" type="button" aria-label="Go to Branches page" href="/mgechev/revive/branches" class="Box-sc-g0xbh4-0 fGwBZA prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Relab:-loading-announcement"><svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></a><a style="--button-color:fg.muted" type="button" aria-label="Go to Tags page" href="/mgechev/revive/tags" class="Box-sc-g0xbh4-0 fGwBZA prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Rmlab:-loading-announcement"><svg aria-hidden="true" focusable="false" class="octicon octicon-tag" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path></svg></a></div></div><div class="Box-sc-g0xbh4-0 jxTzTd"><div class="Box-sc-g0xbh4-0 gqqBXN"><div class="Box-sc-g0xbh4-0 dzXgxt"><!--$--><div class="Box-sc-g0xbh4-0 iWFGlI"><span class="Box-sc-g0xbh4-0 vcvyP TextInput-wrapper prc-components-TextInputWrapper-i1ofR prc-components-TextInputBaseWrapper-ueK9q" data-leading-visual="true" data-trailing-visual="true" aria-busy="false"><span class="TextInput-icon" id=":R2j5ab:" aria-hidden="true"><svg aria-hidden="true" focusable="false" class="octicon octicon-search" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path></svg></span><input type="text" aria-label="Go to file" role="combobox" aria-controls="file-results-list" aria-expanded="false" aria-haspopup="dialog" autoCorrect="off" spellcheck="false" placeholder="Go to file" aria-describedby=":R2j5ab: :R2j5abH1:" data-component="input" class="prc-components-Input-Ic-y8" value=""/><span class="TextInput-icon" id=":R2j5abH1:" aria-hidden="true"></span></span></div><!--/$--></div><div class="Box-sc-g0xbh4-0 YUPas"><button type="button" class="prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-describedby=":Rr5ab:-loading-announcement"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="text" class="prc-Button-Label-pTQ3x">Go to file</span></span></button></div><div class="react-directory-add-file-icon"></div><div class="react-directory-remove-file-icon"></div></div><button type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="primary" aria-describedby=":R55ab:-loading-announcement" id=":R55ab:"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-code hide-sm" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x">Code</span><span data-component="trailingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></span></button><div class="Box-sc-g0xbh4-0 izFOf"><button data-component="IconButton" type="button" aria-label="Open more actions menu" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-c50BI prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-describedby=":R75ab:-loading-announcement" id=":R75ab:"><svg aria-hidden="true" focusable="false" class="octicon octicon-kebab-horizontal" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg></button></div></div></div><div class="Box-sc-g0xbh4-0 vIPPs"><div data-hpc="true"><button hidden="" data-testid="focus-next-element-button" data-hotkey="j"></button><button hidden="" data-testid="focus-previous-element-button" data-hotkey="k"></button><h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading" id="folders-and-files">Folders and files</h2><table aria-labelledby="folders-and-files" class="Box-sc-g0xbh4-0 fdROMU"><thead class="Box-sc-g0xbh4-0 jGKpsv"><tr class="Box-sc-g0xbh4-0 jdgHnn"><th colSpan="2" class="Box-sc-g0xbh4-0 bQivRW"><span class="text-bold">Name</span></th><th colSpan="1" class="Box-sc-g0xbh4-0 ldkMIO"><span class="text-bold">Name</span></th><th class="hide-sm"><div title="Last commit message" class="Truncate__StyledTruncate-sc-23o1d2-0 liVpTx width-fit"><span class="text-bold">Last commit message</span></div></th><th colSpan="1" class="Box-sc-g0xbh4-0 jMbWeI"><div title="Last commit date" class="Truncate__StyledTruncate-sc-23o1d2-0 liVpTx width-fit"><span class="text-bold">Last commit date</span></div></th></tr></thead><tbody><tr class="Box-sc-g0xbh4-0 gpqjiB"><td colSpan="3" class="bgColor-muted p-1 rounded-top-2"><div class="Box-sc-g0xbh4-0 dzCJzi"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading">Latest commit</h2><div style="width:120px" class="Skeleton Skeleton--text" data-testid="loading"> </div><div class="d-flex flex-shrink-0 gap-2"><div data-testid="latest-commit-details" class="d-none d-sm-flex flex-items-center"></div><div class="d-flex gap-2"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading">History</h2><a href="/mgechev/revive/commits/master/" class="prc-Button-ButtonBase-c50BI d-none d-lg-flex LinkButton-module__code-view-link-button--xvCGA flex-items-center fgColor-default" data-loading="false" data-size="small" data-variant="invisible" aria-describedby=":Raqj8pab:-loading-announcement"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-history" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x"><span class="fgColor-default">1,125 Commits</span></span></span></a><div class="d-sm-none"></div><div class="d-flex d-lg-none"><span role="tooltip" aria-label="1,125 Commits" id="history-icon-button-tooltip" class="Tooltip__TooltipBase-sc-17tf59c-0 hWlpPn tooltipped-n"><a href="/mgechev/revive/commits/master/" class="prc-Button-ButtonBase-c50BI LinkButton-module__code-view-link-button--xvCGA flex-items-center fgColor-default" data-loading="false" data-size="small" data-variant="invisible" aria-describedby=":R1iqj8pab:-loading-announcement history-icon-button-tooltip"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-history" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path></svg></span></span></a></span></div></div></div></div></td></tr><tr class="react-directory-row undefined" id="folder-row-0"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".github" aria-label=".github, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/.github">.github</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".github" aria-label=".github, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/.github">.github</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-1"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="assets" aria-label="assets, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/assets">assets</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="assets" aria-label="assets, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/assets">assets</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-2"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="cli" aria-label="cli, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/cli">cli</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="cli" aria-label="cli, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/cli">cli</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-3"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="config" aria-label="config, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/config">config</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="config" aria-label="config, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/config">config</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-4"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="formatter" aria-label="formatter, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/formatter">formatter</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="formatter" aria-label="formatter, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/formatter">formatter</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-5"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="internal" aria-label="internal, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/internal">internal</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="internal" aria-label="internal, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/internal">internal</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-6"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="lint" aria-label="lint, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/lint">lint</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="lint" aria-label="lint, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/lint">lint</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-7"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="logging" aria-label="logging, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/logging">logging</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="logging" aria-label="logging, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/logging">logging</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-8"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="revivelib" aria-label="revivelib, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/revivelib">revivelib</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="revivelib" aria-label="revivelib, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/revivelib">revivelib</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-9"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="rule" aria-label="rule, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/rule">rule</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="rule" aria-label="rule, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/rule">rule</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-10"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="test" aria-label="test, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/test">test</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="test" aria-label="test, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/test">test</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-11"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="testdata" aria-label="testdata, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/testdata">testdata</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="testdata" aria-label="testdata, (Directory)" class="Link--primary" href="/mgechev/revive/tree/master/testdata">testdata</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-12"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".docs-deploy-key.pem.enc" aria-label=".docs-deploy-key.pem.enc, (File)" class="Link--primary" href="/mgechev/revive/blob/master/.docs-deploy-key.pem.enc">.docs-deploy-key.pem.enc</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".docs-deploy-key.pem.enc" aria-label=".docs-deploy-key.pem.enc, (File)" class="Link--primary" href="/mgechev/revive/blob/master/.docs-deploy-key.pem.enc">.docs-deploy-key.pem.enc</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-13"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".gitignore" aria-label=".gitignore, (File)" class="Link--primary" href="/mgechev/revive/blob/master/.gitignore">.gitignore</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".gitignore" aria-label=".gitignore, (File)" class="Link--primary" href="/mgechev/revive/blob/master/.gitignore">.gitignore</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-14"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".goreleaser.yml" aria-label=".goreleaser.yml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/.goreleaser.yml">.goreleaser.yml</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".goreleaser.yml" aria-label=".goreleaser.yml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/.goreleaser.yml">.goreleaser.yml</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-15"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="CODE_OF_CONDUCT.md" aria-label="CODE_OF_CONDUCT.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/CODE_OF_CONDUCT.md">CODE_OF_CONDUCT.md</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="CODE_OF_CONDUCT.md" aria-label="CODE_OF_CONDUCT.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/CODE_OF_CONDUCT.md">CODE_OF_CONDUCT.md</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-16"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="CONTRIBUTING.md" aria-label="CONTRIBUTING.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/CONTRIBUTING.md">CONTRIBUTING.md</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="CONTRIBUTING.md" aria-label="CONTRIBUTING.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/CONTRIBUTING.md">CONTRIBUTING.md</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-17"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="DEVELOPING.md" aria-label="DEVELOPING.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/DEVELOPING.md">DEVELOPING.md</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="DEVELOPING.md" aria-label="DEVELOPING.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/DEVELOPING.md">DEVELOPING.md</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-18"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="Dockerfile" aria-label="Dockerfile, (File)" class="Link--primary" href="/mgechev/revive/blob/master/Dockerfile">Dockerfile</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="Dockerfile" aria-label="Dockerfile, (File)" class="Link--primary" href="/mgechev/revive/blob/master/Dockerfile">Dockerfile</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-19"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="LICENSE" aria-label="LICENSE, (File)" class="Link--primary" href="/mgechev/revive/blob/master/LICENSE">LICENSE</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="LICENSE" aria-label="LICENSE, (File)" class="Link--primary" href="/mgechev/revive/blob/master/LICENSE">LICENSE</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-20"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="Makefile" aria-label="Makefile, (File)" class="Link--primary" href="/mgechev/revive/blob/master/Makefile">Makefile</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="Makefile" aria-label="Makefile, (File)" class="Link--primary" href="/mgechev/revive/blob/master/Makefile">Makefile</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-21"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="README.md" aria-label="README.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/README.md">README.md</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="README.md" aria-label="README.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/README.md">README.md</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-22"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="RULES_DESCRIPTIONS.md" aria-label="RULES_DESCRIPTIONS.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md">RULES_DESCRIPTIONS.md</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="RULES_DESCRIPTIONS.md" aria-label="RULES_DESCRIPTIONS.md, (File)" class="Link--primary" href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md">RULES_DESCRIPTIONS.md</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-23"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="defaults.toml" aria-label="defaults.toml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/defaults.toml">defaults.toml</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="defaults.toml" aria-label="defaults.toml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/defaults.toml">defaults.toml</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-24"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="go.mod" aria-label="go.mod, (File)" class="Link--primary" href="/mgechev/revive/blob/master/go.mod">go.mod</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="go.mod" aria-label="go.mod, (File)" class="Link--primary" href="/mgechev/revive/blob/master/go.mod">go.mod</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-25"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="go.sum" aria-label="go.sum, (File)" class="Link--primary" href="/mgechev/revive/blob/master/go.sum">go.sum</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="go.sum" aria-label="go.sum, (File)" class="Link--primary" href="/mgechev/revive/blob/master/go.sum">go.sum</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-26"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="main.go" aria-label="main.go, (File)" class="Link--primary" href="/mgechev/revive/blob/master/main.go">main.go</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="main.go" aria-label="main.go, (File)" class="Link--primary" href="/mgechev/revive/blob/master/main.go">main.go</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-27"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="renovate.json" aria-label="renovate.json, (File)" class="Link--primary" href="/mgechev/revive/blob/master/renovate.json">renovate.json</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="renovate.json" aria-label="renovate.json, (File)" class="Link--primary" href="/mgechev/revive/blob/master/renovate.json">renovate.json</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-28"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="revive.toml" aria-label="revive.toml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/revive.toml">revive.toml</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="revive.toml" aria-label="revive.toml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/revive.toml">revive.toml</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row truncate-for-mobile" id="folder-row-29"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="untyped.toml" aria-label="untyped.toml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/untyped.toml">untyped.toml</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="untyped.toml" aria-label="untyped.toml, (File)" class="Link--primary" href="/mgechev/revive/blob/master/untyped.toml">untyped.toml</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="Box-sc-g0xbh4-0 eNCcrz show-for-mobile" data-testid="view-all-files-row"><td colSpan="3" class="Box-sc-g0xbh4-0 bHTcCe"><div><button class="prc-Link-Link-85e08">View all files</button></div></td></tr></tbody></table></div><div class="Box-sc-g0xbh4-0 csrIcr"><div class="Box-sc-g0xbh4-0 bUQNHB"><div itemscope="" itemType="https://schema.org/abstract" class="Box-sc-g0xbh4-0 jPdcfu"><h2 class="_VisuallyHidden__VisuallyHidden-sc-11jhm7a-0 brGdpi">Repository files navigation</h2><nav class="Box-sc-g0xbh4-0 iphEWz prc-components-UnderlineWrapper-oOh5J" aria-label="Repository files"><ul class="prc-components-UnderlineItemList-b23Hf" role="list"><li class="Box-sc-g0xbh4-0 hUCRAk"><a class="prc-components-UnderlineItem-lJsg-" href="#" aria-current="page"><span data-component="icon"><svg aria-hidden="true" focusable="false" class="octicon octicon-book" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path></svg></span><span data-component="text" data-content="README">README</span></a></li><li class="Box-sc-g0xbh4-0 hUCRAk"><a class="prc-components-UnderlineItem-lJsg-" href="#"><span data-component="icon"><svg aria-hidden="true" focusable="false" class="octicon octicon-code-of-conduct" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8.048 2.241c.964-.709 2.079-1.238 3.325-1.241a4.616 4.616 0 0 1 3.282 1.355c.41.408.757.86.996 1.428.238.568.348 1.206.347 1.968 0 2.193-1.505 4.254-3.081 5.862-1.496 1.526-3.213 2.796-4.249 3.563l-.22.163a.749.749 0 0 1-.895 0l-.221-.163c-1.036-.767-2.753-2.037-4.249-3.563C1.51 10.008.007 7.952.002 5.762a4.614 4.614 0 0 1 1.353-3.407C3.123.585 6.223.537 8.048 2.24Zm-1.153.983c-1.25-1.033-3.321-.967-4.48.191a3.115 3.115 0 0 0-.913 2.335c0 1.556 1.109 3.24 2.652 4.813C5.463 11.898 6.96 13.032 8 13.805c.353-.262.758-.565 1.191-.905l-1.326-1.223a.75.75 0 0 1 1.018-1.102l1.48 1.366c.328-.281.659-.577.984-.887L9.99 9.802a.75.75 0 1 1 1.019-1.103l1.384 1.28c.295-.329.566-.661.81-.995L12.92 8.7l-1.167-1.168c-.674-.671-1.78-.664-2.474.03-.268.269-.538.537-.802.797-.893.882-2.319.843-3.185-.032-.346-.35-.693-.697-1.043-1.047a.75.75 0 0 1-.04-1.016c.162-.191.336-.401.52-.623.62-.748 1.356-1.637 2.166-2.417Zm7.112 4.442c.313-.65.491-1.293.491-1.916v-.001c0-.614-.088-1.045-.23-1.385-.143-.339-.357-.633-.673-.949a3.111 3.111 0 0 0-2.218-.915c-1.092.003-2.165.627-3.226 1.602-.823.755-1.554 1.637-2.228 2.45l-.127.154.562.566a.755.755 0 0 0 1.066.02l.794-.79c1.258-1.258 3.312-1.31 4.594-.032.396.394.792.791 1.173 1.173Z"></path></svg></span><span data-component="text" data-content="Code of conduct">Code of conduct</span></a></li><li class="Box-sc-g0xbh4-0 hUCRAk"><a class="prc-components-UnderlineItem-lJsg-" href="#"><span data-component="icon"><svg aria-hidden="true" focusable="false" class="octicon octicon-law" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path></svg></span><span data-component="text" data-content="MIT license">MIT license</span></a></li><li class="Box-sc-g0xbh4-0 hUCRAk"><a class="prc-components-UnderlineItem-lJsg-" href="#"><span data-component="icon"><svg aria-hidden="true" focusable="false" class="octicon octicon-law" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path></svg></span><span data-component="text" data-content="Security">Security</span></a></li></ul></nav><button style="--button-color:fg.subtle" type="button" aria-label="Outline" aria-haspopup="true" aria-expanded="false" tabindex="0" class="Box-sc-g0xbh4-0 cwoBXV prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="invisible" aria-describedby=":Rr9ab:-loading-announcement" id=":Rr9ab:"><svg aria-hidden="true" focusable="false" class="octicon octicon-list-unordered" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M5.75 2.5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5ZM2 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM2 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg></button></div><div class="Box-sc-g0xbh4-0 QkQOb js-snippet-clipboard-copy-unpositioned undefined" data-hpc="true"><article class="markdown-body entry-content container-lg" itemprop="text"><p dir="auto"><a href="https://github.com/mgechev/revive/actions/workflows/test.yaml"><img src="https://github.com/mgechev/revive/actions/workflows/test.yaml/badge.svg" alt="Build Status" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h1 tabindex="-1" class="heading-element" dir="auto">revive</h1><a id="user-content-revive" class="anchor" aria-label="Permalink: revive" href="#revive"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. <strong><code>Revive</code> provides a framework for development of custom rules, and lets you define a strict preset for enhancing your development & code review processes</strong>.</p> <p align="center" dir="auto"> <a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/logo.png"><img src="/mgechev/revive/raw/master/assets/logo.png" alt="" width="300" style="max-width: 100%;"></a> <br> Logo by <a href="https://github.com/hawkgs">Georgi Serev</a> </p> <p dir="auto">Here's how <code>revive</code> is different from <code>golint</code>:</p> <ul dir="auto"> <li>Allows to enable or disable rules using a configuration file.</li> <li>Allows to configure the linting rules with a TOML file.</li> <li>2x faster running the same rules as golint.</li> <li>Provides functionality for disabling a specific rule or the entire linter for a file or a range of lines. <ul dir="auto"> <li><code>golint</code> allows this only for generated files.</li> </ul> </li> <li>Optional type checking. Most rules in golint do not require type checking. If you disable them in the config file, revive will run over 6x faster than golint.</li> <li>Provides multiple formatters which let us customize the output.</li> <li>Allows to customize the return code for the entire linter or based on the failure of only some rules.</li> <li><em>Everyone can extend it easily with custom rules or formatters.</em></li> <li><code>Revive</code> provides more rules compared to <code>golint</code>.</li> </ul> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Who uses Revive</h2><a id="user-content-who-uses-revive" class="anchor" aria-label="Permalink: Who uses Revive" href="#who-uses-revive"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li><a href="https://github.com/pingcap/tidb"><code>tidb</code></a> - TiDB is a distributed HTAP database compatible with the MySQL protocol</li> <li><a href="https://github.com/grafana/grafana"><code>grafana</code></a> - The tool for beautiful monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More</li> <li><a href="https://github.com/etcd-io/etcd"><code>etcd</code></a> - Distributed reliable key-value store for the most critical data of a distributed system</li> <li><a href="https://github.com/uber/cadence"><code>cadence</code></a> - Cadence is a distributed, scalable, durable, and highly available orchestration engine by Uber to execute asynchronous long-running business logic in a scalable and resilient way</li> <li><a href="https://github.com/MontFerret/ferret"><code>ferret</code></a> - Declarative web scraping</li> <li><a href="https://github.com/gopasspw/gopass"><code>gopass</code></a> - The slightly more awesome standard unix password manager for teams</li> <li><a href="https://github.com/go-gitea/gitea"><code>gitea</code></a> - Git with a cup of tea, painless self-hosted git service</li> <li><a href="https://github.com/360EntSecGroup-Skylar/excelize"><code>excelize</code></a> - Go library for reading and writing Microsoft Excel™ (XLSX) files</li> <li><a href="https://github.com/xuri/aurora"><code>aurora</code></a> - aurora is a web-based Beanstalk queue server console written in Go</li> <li><a href="https://github.com/XiaoMi/soar"><code>soar</code></a> - SQL Optimizer And Rewriter</li> <li><a href="https://github.com/pyroscope-io/pyroscope"><code>pyroscope</code></a> - Continuous profiling platform</li> <li><a href="https://github.com/appleboy/gorush"><code>gorush</code></a> - A push notification server written in Go (Golang).</li> <li><a href="https://github.com/moncho/dry"><code>dry</code></a> - dry - A Docker manager for the terminal.</li> <li><a href="https://github.com/chenjiandongx/go-echarts"><code>go-echarts</code></a> - The adorable charts library for Golang</li> <li><a href="https://github.com/reviewdog/reviewdog"><code>reviewdog</code></a> - Automated code review tool integrated with any code analysis tools regardless of programming language</li> <li><a href="https://github.com/rudderlabs/rudder-server"><code>rudder-server</code></a> - Privacy and Security focused Segment-alternative, in Golang and React.</li> <li><a href="https://github.com/pa-m/sklearn"><code>sklearn</code></a> - A partial port of scikit-learn written in Go.</li> <li><a href="https://github.com/pseudomuto/protoc-gen-doc"><code>protoc-gen-doc</code></a> - Documentation generator plugin for Google Protocol Buffers.</li> <li><a href="https://github.com/llir/llvm"><code>llvm</code></a> - Library for interacting with LLVM IR in pure Go.</li> <li><a href="https://github.com/SAP/jenkins-library"><code>jenkins-library</code></a> - Jenkins shared library for Continuous Delivery pipelines by SAP.</li> <li><a href="https://github.com/tikv/pd"><code>pd</code></a> - Placement driver for TiKV.</li> <li><a href="https://github.com/shellhub-io/shellhub"><code>shellhub</code></a> - ShellHub enables teams to easily access any Linux device behind firewall and NAT.</li> <li><a href="https://github.com/TheThingsNetwork/lorawan-stack"><code>lorawan-stack</code></a> - The Things Network Stack for LoRaWAN V3</li> <li><a href="https://github.com/appleboy/gin-jwt"><code>gin-jwt</code></a> - This is a JWT middleware for Gin framework.</li> <li><a href="https://github.com/appleboy/gofight"><code>gofight</code></a> - Testing API Handler written in Golang.</li> <li><a href="https://github.com/Clivern/Beaver"><code>Beaver</code></a> - A Real Time Messaging Server.</li> <li><a href="https://github.com/go-ggz/ggz"><code>ggz</code></a> - An URL shortener service written in Golang</li> <li><a href="https://www.codeac.io?ref=revive" rel="nofollow"><code>Codeac.io</code></a> - Automated code review service integrates with GitHub, Bitbucket and GitLab (even self-hosted) and helps you fight technical debt.</li> <li><a href="https://github.com/apache/incubator-devlake"><code>DevLake</code></a> - Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools,which can distill insights to improve engineering productivity.</li> <li><a href="https://github.com/cinar/checker"><code>checker</code></a> - Checker helps validating user input through rules defined in struct tags or directly through functions.</li> <li><a href="https://github.com/milvus-io/milvus"><code>milvus</code></a> - A cloud-native vector database, storage for next generation AI applications.</li> <li><a href="https://github.com/cinar/indicator"><code>indicator</code></a> - Indicator provides various technical analysis indicators, strategies, and a backtesting framework.</li> </ul> <p dir="auto"><em>Open a PR to add your project</em>.</p> <p align="center" dir="auto"> <a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/demo.svg"><img src="/mgechev/revive/raw/master/assets/demo.svg" alt="" width="700" style="max-width: 100%;"></a> </p> <ul dir="auto"> <li><a href="#revive">revive</a> <ul dir="auto"> <li><a href="#who-uses-revive">Who uses Revive</a></li> <li><a href="#installation">Installation</a></li> <li><a href="#usage">Usage</a> <ul dir="auto"> <li><a href="#docker">Docker</a></li> <li><a href="#bazel">Bazel</a></li> <li><a href="#text-editors">Text Editors</a></li> <li><a href="#github-actions">GitHub Actions</a></li> <li><a href="#continuous-integration">Continuous Integration</a></li> <li><a href="#linter-aggregators">Linter aggregators</a> <ul dir="auto"> <li><a href="#golangci-lint">golangci-lint</a></li> </ul> </li> <li><a href="#command-line-flags">Command Line Flags</a></li> <li><a href="#sample-invocations">Sample Invocations</a></li> <li><a href="#comment-directives">Comment Directives</a></li> <li><a href="#configuration">Configuration</a></li> <li><a href="#default-configuration">Default Configuration</a></li> <li><a href="#custom-configuration">Custom Configuration</a></li> <li><a href="#recommended-configuration">Recommended Configuration</a></li> <li><a href="#rule-level-file-excludes">Rule-level file excludes</a></li> </ul> </li> <li><a href="#available-rules">Available Rules</a></li> <li><a href="#configurable-rules">Configurable rules</a> <ul dir="auto"> <li><a href="#var-naming"><code>var-naming</code></a></li> </ul> </li> <li><a href="#available-formatters">Available Formatters</a> <ul dir="auto"> <li><a href="#friendly">Friendly</a></li> <li><a href="#stylish">Stylish</a></li> <li><a href="#default">Default</a></li> <li><a href="#plain">Plain</a></li> <li><a href="#unix">Unix</a></li> <li><a href="#json">JSON</a></li> <li><a href="#ndjson">NDJSON</a></li> <li><a href="#checkstyle">Checkstyle</a></li> <li><a href="#sarif">SARIF</a></li> </ul> </li> <li><a href="#extensibility">Extensibility</a> <ul dir="auto"> <li><a href="#writing-a-custom-rule">Writing a Custom Rule</a> <ul dir="auto"> <li><a href="#using-revive-as-a-library">Using <code>revive</code> as a library</a></li> </ul> </li> <li><a href="#custom-formatter">Custom Formatter</a></li> </ul> </li> <li><a href="#speed-comparison">Speed Comparison</a> <ul dir="auto"> <li><a href="#golint">golint</a></li> <li><a href="#revives-speed">revive's speed</a></li> </ul> </li> <li><a href="#overriding-colorization-detection">Overriding colorization detection</a></li> <li><a href="#contributors">Contributors</a></li> <li><a href="#license">License</a></li> </ul> </li> </ul> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Installation</h2><a id="user-content-installation" class="anchor" aria-label="Permalink: Installation" href="#installation"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="go install github.com/mgechev/revive@latest"><pre>go install github.com/mgechev/revive@latest</pre></div> <p dir="auto">or get a released executable from the <a href="https://github.com/mgechev/revive/releases">Releases</a> page.</p> <p dir="auto">You can install the main branch (including the last commit) with:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="go install github.com/mgechev/revive@master"><pre>go install github.com/mgechev/revive@master</pre></div> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Usage</h2><a id="user-content-usage" class="anchor" aria-label="Permalink: Usage" href="#usage"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Since the default behavior of <code>revive</code> is compatible with <code>golint</code>, without providing any additional flags, the only difference you'd notice is faster execution.</p> <p dir="auto"><code>revive</code> supports a <code>-config</code> flag whose value should correspond to a TOML file describing which rules to use for <code>revive</code>'s linting. If not provided, <code>revive</code> will try to use a global config file (assumed to be located at <code>$HOME/revive.toml</code>). Otherwise, if no configuration TOML file is found then <code>revive</code> uses a built-in set of default linting rules.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Docker</h3><a id="user-content-docker" class="anchor" aria-label="Permalink: Docker" href="#docker"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">A volume must be mounted to share the current repository with the container. Please refer to the <a href="https://docs.docker.com/storage/bind-mounts/" rel="nofollow">bind mounts Docker documentation</a></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="docker run -v "$(pwd)":/var/<repository> ghcr.io/mgechev/revive:v1.3.7 -config /var/<repository>/revive.toml -formatter stylish ./var/kidle/..."><pre>docker run -v <span class="pl-s"><span class="pl-pds">"</span><span class="pl-s"><span class="pl-pds">$(</span>pwd<span class="pl-pds">)</span></span><span class="pl-pds">"</span></span>:/var/<span class="pl-k"><</span>repository<span class="pl-k">></span> ghcr.io/mgechev/revive:v1.3.7 -config /var/<span class="pl-k"><</span>repository<span class="pl-k">></span>/revive.toml -formatter stylish ./var/kidle/...</pre></div> <ul dir="auto"> <li><code>-v</code> is for the volume</li> <li><code>ghcr.io/mgechev/revive:v1.3.7 </code> is the image name and its version corresponds to <code>revive</code> command</li> <li>The provided flags are the same as the binary usage.</li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Bazel</h3><a id="user-content-bazel" class="anchor" aria-label="Permalink: Bazel" href="#bazel"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">If you want to use revive with Bazel, look at the <a href="https://github.com/atlassian/bazel-tools/tree/master/gorevive">rules</a> that Atlassian maintains.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Text Editors</h3><a id="user-content-text-editors" class="anchor" aria-label="Permalink: Text Editors" href="#text-editors"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>Support for VSCode via <a href="https://code.visualstudio.com/docs/languages/go#_build-and-diagnose" rel="nofollow">vscode-go</a> by changing the <code>go.lintTool</code> setting to <code>revive</code>:</li> </ul> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ "go.lintTool": "revive", }"><pre>{ <span class="pl-ent">"go.lintTool"</span>: <span class="pl-s"><span class="pl-pds">"</span>revive<span class="pl-pds">"</span></span>, }</pre></div> <ul dir="auto"> <li> <p dir="auto">Support for GoLand via <a href="https://dev.to/s0xzwasd/configure-revive-go-linter-in-goland-2ggl" rel="nofollow">File Watchers</a>.</p> </li> <li> <p dir="auto">Support for vim via <a href="https://github.com/dense-analysis/ale">dense-analysis/ale</a>.</p> <div class="highlight highlight-source-viml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let g:ale_linters = { \ 'go': ['revive'], \}"><pre><span class="pl-k">let</span> <span class="pl-smi"><span class="pl-k">g:</span>ale_linters</span> <span class="pl-k">=</span> { <span class="pl-cce">\ </span> <span class="pl-s"><span class="pl-pds">'</span>go<span class="pl-pds">'</span></span>: [<span class="pl-s"><span class="pl-pds">'</span>revive<span class="pl-pds">'</span></span>], <span class="pl-cce">\}</span></pre></div> </li> <li> <p dir="auto">Support for Neovim via <a href="https://github.com/jose-elias-alvarez/null-ls.nvim">null-ls.nvim</a>.</p> <div class="highlight highlight-source-lua notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="require("null-ls").setup({ sources = { require("null-ls").builtins.diagnostics.revive }, })"><pre><span class="pl-c1">require</span>(<span class="pl-s"><span class="pl-pds">"</span>null-ls<span class="pl-pds">"</span></span>).<span class="pl-c1">setup</span>({ <span class="pl-smi">sources</span> <span class="pl-k">=</span> { <span class="pl-c1">require</span>(<span class="pl-s"><span class="pl-pds">"</span>null-ls<span class="pl-pds">"</span></span>).<span class="pl-e">builtins</span>.<span class="pl-e">diagnostics</span>.<span class="pl-e">revive</span> }, })</pre></div> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">GitHub Actions</h3><a id="user-content-github-actions" class="anchor" aria-label="Permalink: GitHub Actions" href="#github-actions"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li><a href="https://github.com/marketplace/actions/revive-action">Revive Action</a> with annotation support</li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Continuous Integration</h3><a id="user-content-continuous-integration" class="anchor" aria-label="Permalink: Continuous Integration" href="#continuous-integration"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><a href="https://www.codeac.io?ref=revive" rel="nofollow">Codeac.io</a> - Automated code review service integrates with GitHub, Bitbucket and GitLab (even self-hosted) and helps you fight technical debt. Check your <a href="https://www.codeac.io/documentation/pull-requests.html?ref=revive" rel="nofollow">pull-requests</a> with <a href="https://www.codeac.io/documentation/revive-configuration.html?ref=revive" rel="nofollow">revive</a> automatically. (free for open-source projects)</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Linter aggregators</h3><a id="user-content-linter-aggregators" class="anchor" aria-label="Permalink: Linter aggregators" href="#linter-aggregators"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">golangci-lint</h4><a id="user-content-golangci-lint" class="anchor" aria-label="Permalink: golangci-lint" href="#golangci-lint"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">To enable <code>revive</code> in <code>golangci-lint</code> you need to add <code>revive</code> to the list of enabled linters:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# golangci-lint configuration file linters: enable: - revive"><pre><span class="pl-c"><span class="pl-c">#</span> golangci-lint configuration file</span> <span class="pl-ent">linters</span>: <span class="pl-ent">enable</span>: - <span class="pl-s">revive</span></pre></div> <p dir="auto">Then <code>revive</code> can be configured by adding an entry to the <code>linters-settings</code> section of the configuration, for example:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# golangci-lint configuration file linters-settings: revive: ignore-generated-header: true severity: warning rules: - name: atomic - name: line-length-limit severity: error arguments: [80] - name: unhandled-error arguments : ["fmt.Printf", "myFunction"]"><pre><span class="pl-c"><span class="pl-c">#</span> golangci-lint configuration file</span> <span class="pl-ent">linters-settings</span>: <span class="pl-ent">revive</span>: <span class="pl-ent">ignore-generated-header</span>: <span class="pl-c1">true</span> <span class="pl-ent">severity</span>: <span class="pl-s">warning</span> <span class="pl-ent">rules</span>: - <span class="pl-ent">name</span>: <span class="pl-s">atomic</span> - <span class="pl-ent">name</span>: <span class="pl-s">line-length-limit</span> <span class="pl-ent">severity</span>: <span class="pl-s">error</span> <span class="pl-ent">arguments</span>: <span class="pl-s">[80]</span> - <span class="pl-ent">name</span>: <span class="pl-s">unhandled-error</span> <span class="pl-ent">arguments </span>: <span class="pl-s">["fmt.Printf", "myFunction"]</span></pre></div> <p dir="auto">The above configuration enables three rules of <code>revive</code>: <em>atomic</em>, <em>line-length-limit</em> and <em>unhandled-error</em> and pass some arguments to the last two. The <a href="#configuration">Configuration</a> section of this document provides details on how to configure <code>revive</code>. Note that while <code>revive</code> configuration is in TOML, that of <code>golangci-lint</code> is in YAML.</p> <p dir="auto">Please notice that if no particular configuration is provided, <code>revive</code> will behave as <code>go-lint</code> does, i.e. all <code>go-lint</code> rules are enabled (the <a href="#available-rules">Available Rules table</a> details what are the <code>go-lint</code> rules). When a configuration is provided, only rules in the configuration are enabled.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Command Line Flags</h3><a id="user-content-command-line-flags" class="anchor" aria-label="Permalink: Command Line Flags" href="#command-line-flags"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>revive</code> accepts the following command line parameters:</p> <ul dir="auto"> <li> <p dir="auto"><code>-config [PATH]</code> - path to the config file in TOML format, defaults to <code>$HOME/revive.toml</code> if present.</p> </li> <li> <p dir="auto"><code>-exclude [PATTERN]</code> - pattern for files/directories/packages to be excluded for linting. You can specify the files you want to exclude for linting either as package name (i.e. <code>github.com/mgechev/revive</code>), list them as individual files (i.e. <code>file.go</code>), directories (i.e. <code>./foo/...</code>), or any combination of the three. If no exclusion patterns are specified, <code>vendor/...</code> will be excluded by default.</p> </li> <li> <p dir="auto"><code>-formatter [NAME]</code> - formatter to be used for the output. The currently available formatters are:</p> <ul dir="auto"> <li><code>default</code> - will output the failures the same way that <code>golint</code> does.</li> <li><code>json</code> - outputs the failures in JSON format.</li> <li><code>ndjson</code> - outputs the failures as a stream in newline delimited JSON (NDJSON) format.</li> <li><code>friendly</code> - outputs the failures when found. Shows the summary of all the failures.</li> <li><code>stylish</code> - formats the failures in a table. Keep in mind that it doesn't stream the output so it might be perceived as slower compared to others.</li> <li><code>checkstyle</code> - outputs the failures in XML format compatible with that of Java's <a href="https://checkstyle.org/" rel="nofollow">Checkstyle</a>.</li> </ul> </li> <li> <p dir="auto"><code>-max_open_files</code> - maximum number of open files at the same time. Defaults to unlimited.</p> </li> <li> <p dir="auto"><code>-set_exit_status</code> - set exit status to 1 if any issues are found, overwrites <code>errorCode</code> and <code>warningCode</code> in config.</p> </li> <li> <p dir="auto"><code>-version</code> - get revive version.</p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Sample Invocations</h3><a id="user-content-sample-invocations" class="anchor" aria-label="Permalink: Sample Invocations" href="#sample-invocations"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="revive -config revive.toml -exclude file1.go -exclude file2.go -formatter friendly github.com/mgechev/revive package/..."><pre>revive -config revive.toml -exclude file1.go -exclude file2.go -formatter friendly github.com/mgechev/revive package/...</pre></div> <ul dir="auto"> <li>The command above will use the configuration from <code>revive.toml</code></li> <li><code>revive</code> will ignore <code>file1.go</code> and <code>file2.go</code></li> <li>The output will be formatted with the <code>friendly</code> formatter</li> <li>The linter will analyze <code>github.com/mgechev/revive</code> and the files in <code>package</code></li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Comment Directives</h3><a id="user-content-comment-directives" class="anchor" aria-label="Permalink: Comment Directives" href="#comment-directives"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Using comments, you can disable the linter for the entire file or only a range of lines:</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//revive:disable func Public() {} //revive:enable"><pre><span class="pl-c">//revive:disable</span> <span class="pl-k">func</span> <span class="pl-s1">Public</span>() {} <span class="pl-c">//revive:enable</span></pre></div> <p dir="auto">The snippet above, will disable <code>revive</code> between the <code>revive:disable</code> and <code>revive:enable</code> comments. If you skip <code>revive:enable</code>, the linter will be disabled for the rest of the file.</p> <p dir="auto">With <code>revive:disable-next-line</code> and <code>revive:disable-line</code> you can disable <code>revive</code> on a particular code line.</p> <p dir="auto">You can do the same on a rule level. In case you want to disable only a particular rule, you can use:</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//revive:disable:unexported-return func Public() private { return private } //revive:enable:unexported-return"><pre><span class="pl-c">//revive:disable:unexported-return</span> <span class="pl-k">func</span> <span class="pl-s1">Public</span>() <span class="pl-smi">private</span> { <span class="pl-k">return</span> <span class="pl-s1">private</span> } <span class="pl-c">//revive:enable:unexported-return</span></pre></div> <p dir="auto">This way, <code>revive</code> will not warn you that you're returning an object of an unexported type, from an exported function.</p> <p dir="auto">You can document why you disable the linter by adding a trailing text in the directive, for example</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//revive:disable Until the code is stable"><pre><span class="pl-c">//revive:disable Until the code is stable</span></pre></div> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//revive:disable:cyclomatic High complexity score but easy to understand"><pre><span class="pl-c">//revive:disable:cyclomatic High complexity score but easy to understand</span></pre></div> <p dir="auto">You can also configure <code>revive</code> to enforce documenting linter disabling directives by adding</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[directive.specify-disable-reason]"><pre>[<span class="pl-en">directive</span>.<span class="pl-en">specify-disable-reason</span>]</pre></div> <p dir="auto">in the configuration. You can set the severity (defaults to <em>warning</em>) of the violation of this directive</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[directive.specify-disable-reason] severity = "error""><pre>[<span class="pl-en">directive</span>.<span class="pl-en">specify-disable-reason</span>] <span class="pl-smi">severity</span> = <span class="pl-s"><span class="pl-pds">"</span>error<span class="pl-pds">"</span></span></pre></div> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Configuration</h3><a id="user-content-configuration" class="anchor" aria-label="Permalink: Configuration" href="#configuration"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>revive</code> can be configured with a TOML file. Here's a sample configuration with an explanation of the individual properties:</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# When set to false, ignores files with "GENERATED" header, similar to golint ignoreGeneratedHeader = true # Sets the default severity to "warning" severity = "warning" # Sets the default failure confidence. This means that linting errors # with less than 0.8 confidence will be ignored. confidence = 0.8 # Sets the error code for failures with the "error" severity errorCode = 0 # Sets the error code for failures with severity "warning" warningCode = 0 # Configuration of the `cyclomatic` rule. Here we specify that # the rule should fail if it detects code with higher complexity than 10. [rule.cyclomatic] arguments = [10] # Sets the severity of the `package-comments` rule to "error". [rule.package-comments] severity = "error""><pre><span class="pl-c"><span class="pl-c">#</span> When set to false, ignores files with "GENERATED" header, similar to golint</span> <span class="pl-smi">ignoreGeneratedHeader</span> = <span class="pl-c1">true</span> <span class="pl-c"><span class="pl-c">#</span> Sets the default severity to "warning"</span> <span class="pl-smi">severity</span> = <span class="pl-s"><span class="pl-pds">"</span>warning<span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span> Sets the default failure confidence. This means that linting errors</span> <span class="pl-c"><span class="pl-c">#</span> with less than 0.8 confidence will be ignored.</span> <span class="pl-smi">confidence</span> = <span class="pl-c1">0.8</span> <span class="pl-c"><span class="pl-c">#</span> Sets the error code for failures with the "error" severity</span> <span class="pl-smi">errorCode</span> = <span class="pl-c1">0</span> <span class="pl-c"><span class="pl-c">#</span> Sets the error code for failures with severity "warning"</span> <span class="pl-smi">warningCode</span> = <span class="pl-c1">0</span> <span class="pl-c"><span class="pl-c">#</span> Configuration of the `cyclomatic` rule. Here we specify that</span> <span class="pl-c"><span class="pl-c">#</span> the rule should fail if it detects code with higher complexity than 10.</span> [<span class="pl-en">rule</span>.<span class="pl-en">cyclomatic</span>] <span class="pl-smi">arguments</span> = [<span class="pl-c1">10</span>] <span class="pl-c"><span class="pl-c">#</span> Sets the severity of the `package-comments` rule to "error".</span> [<span class="pl-en">rule</span>.<span class="pl-en">package-comments</span>] <span class="pl-smi">severity</span> = <span class="pl-s"><span class="pl-pds">"</span>error<span class="pl-pds">"</span></span></pre></div> <p dir="auto">By default <code>revive</code> will enable only the linting rules that are named in the configuration file. For example, the previous configuration file makes <code>revive</code> to enable only <em>cyclomatic</em> and <em>package-comments</em> linting rules.</p> <p dir="auto">To enable all available rules you need to add:</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="enableAllRules = true"><pre><span class="pl-smi">enableAllRules</span> = <span class="pl-c1">true</span></pre></div> <p dir="auto">This will enable all available rules no matter what rules are named in the configuration file.</p> <p dir="auto">To disable a rule, you simply mark it as disabled in the configuration. For example:</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[rule.line-length-limit] Disabled = true"><pre>[<span class="pl-en">rule</span>.<span class="pl-en">line-length-limit</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span></pre></div> <p dir="auto">When enabling all rules you still need/can provide specific configurations for rules. The following file is an example configuration where all rules are enabled, except for those that are explicitly disabled, and some rules are configured with particular arguments:</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="severity = "warning" confidence = 0.8 errorCode = 0 warningCode = 0 # Enable all available rules enableAllRules = true # Disabled rules [rule.blank-imports] Disabled = true [rule.file-header] Disabled = true [rule.max-public-structs] Disabled = true [rule.line-length-limit] Disabled = true [rule.function-length] Disabled = true [rule.banned-characters] Disabled = true # Rule tuning [rule.argument-limit] Arguments = [5] [rule.cyclomatic] Arguments = [10] [rule.cognitive-complexity] Arguments = [7] [rule.function-result-limit] Arguments = [3] [rule.error-strings] Arguments = ["mypackage.Error"]"><pre><span class="pl-smi">severity</span> = <span class="pl-s"><span class="pl-pds">"</span>warning<span class="pl-pds">"</span></span> <span class="pl-smi">confidence</span> = <span class="pl-c1">0.8</span> <span class="pl-smi">errorCode</span> = <span class="pl-c1">0</span> <span class="pl-smi">warningCode</span> = <span class="pl-c1">0</span> <span class="pl-c"><span class="pl-c">#</span> Enable all available rules</span> <span class="pl-smi">enableAllRules</span> = <span class="pl-c1">true</span> <span class="pl-c"><span class="pl-c">#</span> Disabled rules</span> [<span class="pl-en">rule</span>.<span class="pl-en">blank-imports</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span> [<span class="pl-en">rule</span>.<span class="pl-en">file-header</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span> [<span class="pl-en">rule</span>.<span class="pl-en">max-public-structs</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span> [<span class="pl-en">rule</span>.<span class="pl-en">line-length-limit</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span> [<span class="pl-en">rule</span>.<span class="pl-en">function-length</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span> [<span class="pl-en">rule</span>.<span class="pl-en">banned-characters</span>] <span class="pl-smi">Disabled</span> = <span class="pl-c1">true</span> <span class="pl-c"><span class="pl-c">#</span> Rule tuning</span> [<span class="pl-en">rule</span>.<span class="pl-en">argument-limit</span>] <span class="pl-smi">Arguments</span> = [<span class="pl-c1">5</span>] [<span class="pl-en">rule</span>.<span class="pl-en">cyclomatic</span>] <span class="pl-smi">Arguments</span> = [<span class="pl-c1">10</span>] [<span class="pl-en">rule</span>.<span class="pl-en">cognitive-complexity</span>] <span class="pl-smi">Arguments</span> = [<span class="pl-c1">7</span>] [<span class="pl-en">rule</span>.<span class="pl-en">function-result-limit</span>] <span class="pl-smi">Arguments</span> = [<span class="pl-c1">3</span>] [<span class="pl-en">rule</span>.<span class="pl-en">error-strings</span>] <span class="pl-smi">Arguments</span> = [<span class="pl-s"><span class="pl-pds">"</span>mypackage.Error<span class="pl-pds">"</span></span>]</pre></div> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Default Configuration</h3><a id="user-content-default-configuration" class="anchor" aria-label="Permalink: Default Configuration" href="#default-configuration"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The default configuration of <code>revive</code> can be found at <code>defaults.toml</code>. This will enable all rules available in <code>golint</code> and use their default configuration (i.e. the way they are hardcoded in <code>golint</code>).</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="revive -config defaults.toml github.com/mgechev/revive"><pre>revive -config defaults.toml github.com/mgechev/revive</pre></div> <p dir="auto">This will use the configuration file <code>defaults.toml</code>, the <code>default</code> formatter, and will run linting over the <code>github.com/mgechev/revive</code> package.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Custom Configuration</h3><a id="user-content-custom-configuration" class="anchor" aria-label="Permalink: Custom Configuration" href="#custom-configuration"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="revive -config config.toml -formatter friendly github.com/mgechev/revive"><pre>revive -config config.toml -formatter friendly github.com/mgechev/revive</pre></div> <p dir="auto">This will use <code>config.toml</code>, the <code>friendly</code> formatter, and will run linting over the <code>github.com/mgechev/revive</code> package.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Recommended Configuration</h3><a id="user-content-recommended-configuration" class="anchor" aria-label="Permalink: Recommended Configuration" href="#recommended-configuration"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The following snippet contains the recommended <code>revive</code> configuration that you can use in your project:</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ignoreGeneratedHeader = false severity = "warning" confidence = 0.8 errorCode = 0 warningCode = 0 [rule.blank-imports] [rule.context-as-argument] [rule.context-keys-type] [rule.dot-imports] [rule.error-return] [rule.error-strings] [rule.error-naming] [rule.exported] [rule.increment-decrement] [rule.var-naming] [rule.var-declaration] [rule.package-comments] [rule.range] [rule.receiver-naming] [rule.time-naming] [rule.unexported-return] [rule.indent-error-flow] [rule.errorf] [rule.empty-block] [rule.superfluous-else] [rule.unused-parameter] [rule.unreachable-code] [rule.redefines-builtin-id]"><pre><span class="pl-smi">ignoreGeneratedHeader</span> = <span class="pl-c1">false</span> <span class="pl-smi">severity</span> = <span class="pl-s"><span class="pl-pds">"</span>warning<span class="pl-pds">"</span></span> <span class="pl-smi">confidence</span> = <span class="pl-c1">0.8</span> <span class="pl-smi">errorCode</span> = <span class="pl-c1">0</span> <span class="pl-smi">warningCode</span> = <span class="pl-c1">0</span> [<span class="pl-en">rule</span>.<span class="pl-en">blank-imports</span>] [<span class="pl-en">rule</span>.<span class="pl-en">context-as-argument</span>] [<span class="pl-en">rule</span>.<span class="pl-en">context-keys-type</span>] [<span class="pl-en">rule</span>.<span class="pl-en">dot-imports</span>] [<span class="pl-en">rule</span>.<span class="pl-en">error-return</span>] [<span class="pl-en">rule</span>.<span class="pl-en">error-strings</span>] [<span class="pl-en">rule</span>.<span class="pl-en">error-naming</span>] [<span class="pl-en">rule</span>.<span class="pl-en">exported</span>] [<span class="pl-en">rule</span>.<span class="pl-en">increment-decrement</span>] [<span class="pl-en">rule</span>.<span class="pl-en">var-naming</span>] [<span class="pl-en">rule</span>.<span class="pl-en">var-declaration</span>] [<span class="pl-en">rule</span>.<span class="pl-en">package-comments</span>] [<span class="pl-en">rule</span>.<span class="pl-en">range</span>] [<span class="pl-en">rule</span>.<span class="pl-en">receiver-naming</span>] [<span class="pl-en">rule</span>.<span class="pl-en">time-naming</span>] [<span class="pl-en">rule</span>.<span class="pl-en">unexported-return</span>] [<span class="pl-en">rule</span>.<span class="pl-en">indent-error-flow</span>] [<span class="pl-en">rule</span>.<span class="pl-en">errorf</span>] [<span class="pl-en">rule</span>.<span class="pl-en">empty-block</span>] [<span class="pl-en">rule</span>.<span class="pl-en">superfluous-else</span>] [<span class="pl-en">rule</span>.<span class="pl-en">unused-parameter</span>] [<span class="pl-en">rule</span>.<span class="pl-en">unreachable-code</span>] [<span class="pl-en">rule</span>.<span class="pl-en">redefines-builtin-id</span>]</pre></div> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Rule-level file excludes</h3><a id="user-content-rule-level-file-excludes" class="anchor" aria-label="Permalink: Rule-level file excludes" href="#rule-level-file-excludes"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">You also can setup custom excludes for each rule.</p> <p dir="auto">It's an alternative for the global <code>-exclude</code> program arg.</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ignoreGeneratedHeader = false severity = "warning" confidence = 0.8 errorCode = 0 warningCode = 0 [rule.blank-imports] Exclude=["**/*.pb.go"] [rule.context-as-argument] Exclude=["src/somepkg/*.go", "TEST"]"><pre><span class="pl-smi">ignoreGeneratedHeader</span> = <span class="pl-c1">false</span> <span class="pl-smi">severity</span> = <span class="pl-s"><span class="pl-pds">"</span>warning<span class="pl-pds">"</span></span> <span class="pl-smi">confidence</span> = <span class="pl-c1">0.8</span> <span class="pl-smi">errorCode</span> = <span class="pl-c1">0</span> <span class="pl-smi">warningCode</span> = <span class="pl-c1">0</span> [<span class="pl-en">rule</span>.<span class="pl-en">blank-imports</span>] <span class="pl-smi">Exclude</span>=[<span class="pl-s"><span class="pl-pds">"</span>**/*.pb.go<span class="pl-pds">"</span></span>] [<span class="pl-en">rule</span>.<span class="pl-en">context-as-argument</span>] <span class="pl-smi">Exclude</span>=[<span class="pl-s"><span class="pl-pds">"</span>src/somepkg/*.go<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>TEST<span class="pl-pds">"</span></span>]</pre></div> <p dir="auto">You can use the following exclude patterns</p> <ol dir="auto"> <li>full paths to files <code>src/pkg/mypkg/some.go</code></li> <li>globs <code>src/**/*.pb.go</code></li> <li>regexes (should have prefix ~) <code>~\.(pb|auto|generated)\.go$</code></li> <li>well-known <code>TEST</code> (same as <code>**/*_test.go</code>)</li> <li>special cases: a. <code>*</code> and <code>~</code> patterns exclude all files (same effect as disabling the rule) b. <code>""</code> (empty) pattern excludes nothing</li> </ol> <blockquote> <p dir="auto">NOTE: do not mess with <code>exclude</code> that can be used at the top level of TOML file, that means "exclude package patterns", not "exclude file patterns"</p> </blockquote> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Available Rules</h2><a id="user-content-available-rules" class="anchor" aria-label="Permalink: Available Rules" href="#available-rules"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">List of all available rules. The rules ported from <code>golint</code> are left unchanged and indicated in the <code>golint</code> column.</p> <markdown-accessiblity-table><table> <thead> <tr> <th>Name</th> <th align="center">Config</th> <th align="left">Description</th> <th align="center"><code>golint</code></th> <th align="center">Typed</th> </tr> </thead> <tbody> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-key-types"><code>context-keys-type</code></a></td> <td align="center">n/a</td> <td align="left">Disallows the usage of basic types in <code>context.WithValue</code>.</td> <td align="center">yes</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#time-equal"><code>time-equal</code></a></td> <td align="center">n/a</td> <td align="left">Suggests to use <code>time.Time.Equal</code> instead of <code>==</code> and <code>!=</code> for equality check time.</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#time-naming"><code>time-naming</code></a></td> <td align="center">n/a</td> <td align="left">Conventions around the naming of time variables.</td> <td align="center">yes</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unchecked-type-assertions"><code>unchecked-type-assertions</code></a></td> <td align="center">n/a</td> <td align="left">Disallows type assertions without checking the result.</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-declaration"><code>var-declaration</code></a></td> <td align="center">n/a</td> <td align="left">Reduces redundancies around variable declaration.</td> <td align="center">yes</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-return"><code>unexported-return</code></a></td> <td align="center">n/a</td> <td align="left">Warns when a public return is from unexported type.</td> <td align="center">yes</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#errorf"><code>errorf</code></a></td> <td align="center">n/a</td> <td align="left">Should replace <code>errors.New(fmt.Sprintf())</code> with <code>fmt.Errorf()</code></td> <td align="center">yes</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#blank-imports"><code>blank-imports</code></a></td> <td align="center">n/a</td> <td align="left">Disallows blank imports</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-as-argument"><code>context-as-argument</code></a></td> <td align="center">n/a</td> <td align="left"><code>context.Context</code> should be the first argument of a function.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#dot-imports"><code>dot-imports</code></a></td> <td align="center">n/a</td> <td align="left">Forbids <code>.</code> imports.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-return"><code>error-return</code></a></td> <td align="center">n/a</td> <td align="left">The error return parameter should be last.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-strings"><code>error-strings</code></a></td> <td align="center">[]string</td> <td align="left">Conventions around error strings.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-naming"><code>error-naming</code></a></td> <td align="center">n/a</td> <td align="left">Naming of error variables.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#exported"><code>exported</code></a></td> <td align="center">[]string</td> <td align="left">Naming and commenting conventions on exported symbols.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return"><code>if-return</code></a></td> <td align="center">n/a</td> <td align="left">Redundant if when returning an error.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#increment-decrement"><code>increment-decrement</code></a></td> <td align="center">n/a</td> <td align="left">Use <code>i++</code> and <code>i--</code> instead of <code>i += 1</code> and <code>i -= 1</code>.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-naming"><code>var-naming</code></a></td> <td align="center">allowlist & blocklist of initialisms</td> <td align="left">Naming rules.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#package-comments"><code>package-comments</code></a></td> <td align="center">n/a</td> <td align="left">Package commenting conventions.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range"><code>range</code></a></td> <td align="center">n/a</td> <td align="left">Prevents redundant variables when iterating over a collection.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#receiver-naming"><code>receiver-naming</code></a></td> <td align="center">map (optional)</td> <td align="left">Conventions around the naming of receivers.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#indent-error-flow"><code>indent-error-flow</code></a></td> <td align="center">[]string</td> <td align="left">Prevents redundant else statements.</td> <td align="center">yes</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#argument-limit"><code>argument-limit</code></a></td> <td align="center">int (defaults to 8)</td> <td align="left">Specifies the maximum number of arguments a function can receive</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#cyclomatic"><code>cyclomatic</code></a></td> <td align="center">int (defaults to 10)</td> <td align="left">Sets restriction for maximum Cyclomatic complexity.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#max-public-structs"><code>max-public-structs</code></a></td> <td align="center">int (defaults to 5)</td> <td align="left">The maximum number of public structs in a file.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#file-header"><code>file-header</code></a></td> <td align="center">string (defaults to none)</td> <td align="left">Header which each file should have.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#empty-block"><code>empty-block</code></a></td> <td align="center">n/a</td> <td align="left">Warns on empty code blocks</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#superfluous-else"><code>superfluous-else</code></a></td> <td align="center">[]string</td> <td align="left">Prevents redundant else statements (extends <a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#indent-error-flow"><code>indent-error-flow</code></a>)</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-naming"><code>confusing-naming</code></a></td> <td align="center">n/a</td> <td align="left">Warns on methods with names that differ only by capitalization</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#get-return"><code>get-return</code></a></td> <td align="center">n/a</td> <td align="left">Warns on getters that do not yield any result</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#modifies-parameter"><code>modifies-parameter</code></a></td> <td align="center">n/a</td> <td align="left">Warns on assignments to function parameters</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-results"><code>confusing-results</code></a></td> <td align="center">n/a</td> <td align="left">Suggests to name potentially confusing function results</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#deep-exit"><code>deep-exit</code></a></td> <td align="center">n/a</td> <td align="left">Looks for program exits in funcs other than <code>main()</code> or <code>init()</code></td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter"><code>unused-parameter</code></a></td> <td align="center">n/a</td> <td align="left">Suggests to rename or remove unused function parameters</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unreachable-code"><code>unreachable-code</code></a></td> <td align="center">n/a</td> <td align="left">Warns on unreachable code</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#add-constant"><code>add-constant</code></a></td> <td align="center">map</td> <td align="left">Suggests using constant for magic numbers and string literals</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#flag-parameter"><code>flag-parameter</code></a></td> <td align="center">n/a</td> <td align="left">Warns on boolean parameters that create a control coupling</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unnecessary-stmt"><code>unnecessary-stmt</code></a></td> <td align="center">n/a</td> <td align="left">Suggests removing or simplifying unnecessary statements</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#struct-tag"><code>struct-tag</code></a></td> <td align="center">[]string</td> <td align="left">Checks common struct tags like <code>json</code>, <code>xml</code>, <code>yaml</code></td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#modifies-value-receiver"><code>modifies-value-receiver</code></a></td> <td align="center">n/a</td> <td align="left">Warns on assignments to value-passed method receivers</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#constant-logical-expr"><code>constant-logical-expr</code></a></td> <td align="center">n/a</td> <td align="left">Warns on constant logical expressions</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bool-literal-in-expr"><code>bool-literal-in-expr</code></a></td> <td align="center">n/a</td> <td align="left">Suggests removing Boolean literals from logic expressions</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redefines-builtin-id"><code>redefines-builtin-id</code></a></td> <td align="center">n/a</td> <td align="left">Warns on redefinitions of builtin identifiers</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#function-result-limit"><code>function-result-limit</code></a></td> <td align="center">int (defaults to 3)</td> <td align="left">Specifies the maximum number of results a function can return</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#imports-blocklist"><code>imports-blocklist</code></a></td> <td align="center">[]string</td> <td align="left">Disallows importing the specified packages</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range-val-in-closure"><code>range-val-in-closure</code></a></td> <td align="center">n/a</td> <td align="left">Warns if range value is used in a closure dispatched as goroutine</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range-val-address"><code>range-val-address</code></a></td> <td align="center">n/a</td> <td align="left">Warns if address of range value is used dangerously</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#waitgroup-by-value"><code>waitgroup-by-value</code></a></td> <td align="center">n/a</td> <td align="left">Warns on functions taking sync.WaitGroup as a by-value parameter</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#atomic"><code>atomic</code></a></td> <td align="center">n/a</td> <td align="left">Check for common mistaken usages of the <code>sync/atomic</code> package</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#empty-lines"><code>empty-lines</code></a></td> <td align="center">n/a</td> <td align="left">Warns when there are heading or trailing newlines in a block</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#line-length-limit"><code>line-length-limit</code></a></td> <td align="center">int (defaults to 80)</td> <td align="left">Specifies the maximum number of characters in a line</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#call-to-gc"><code>call-to-gc</code></a></td> <td align="center">n/a</td> <td align="left">Warns on explicit call to the garbage collector</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#duplicated-imports"><code>duplicated-imports</code></a></td> <td align="center">n/a</td> <td align="left">Looks for packages that are imported two or more times</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#import-shadowing"><code>import-shadowing</code></a></td> <td align="center">n/a</td> <td align="left">Spots identifiers that shadow an import</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bare-return"><code>bare-return</code></a></td> <td align="center">n/a</td> <td align="left">Warns on bare returns</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-receiver"><code>unused-receiver</code></a></td> <td align="center">n/a</td> <td align="left">Suggests to rename or remove unused method receivers</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unhandled-error"><code>unhandled-error</code></a></td> <td align="center">[]string</td> <td align="left">Warns on unhandled errors returned by function calls</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#cognitive-complexity"><code>cognitive-complexity</code></a></td> <td align="center">int (defaults to 7)</td> <td align="left">Sets restriction for maximum Cognitive complexity.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#string-of-int"><code>string-of-int</code></a></td> <td align="center">n/a</td> <td align="left">Warns on suspicious casts from int to string</td> <td align="center">no</td> <td align="center">yes</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#string-format"><code>string-format</code></a></td> <td align="center">map</td> <td align="left">Warns on specific string literals that fail one or more user-configured regular expressions</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#early-return"><code>early-return</code></a></td> <td align="center">[]string</td> <td align="left">Spots if-then-else statements where the predicate may be inverted to reduce nesting</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unconditional-recursion"><code>unconditional-recursion</code></a></td> <td align="center">n/a</td> <td align="left">Warns on function calls that will lead to (direct) infinite recursion</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#identical-branches"><code>identical-branches</code></a></td> <td align="center">n/a</td> <td align="left">Spots if-then-else statements with identical <code>then</code> and <code>else</code> branches</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#defer"><code>defer</code></a></td> <td align="center">map</td> <td align="left">Warns on some <a href="https://blog.learngoprogramming.com/5-gotchas-of-defer-in-go-golang-part-iii-36a1ab3d6ef1" rel="nofollow">defer gotchas</a></td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-naming"><code>unexported-naming</code></a></td> <td align="center">n/a</td> <td align="left">Warns on wrongly named un-exported symbols</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#function-length"><code>function-length</code></a></td> <td align="center">int, int (defaults to 50 statements, 75 lines)</td> <td align="left">Warns on functions exceeding the statements or lines max</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#nested-structs"><code>nested-structs</code></a></td> <td align="center">n/a</td> <td align="left">Warns on structs within structs</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#useless-break"><code>useless-break</code></a></td> <td align="center">n/a</td> <td align="left">Warns on useless <code>break</code> statements in case clauses</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#banned-characters"><code>banned-characters</code></a></td> <td align="center">[]string (defaults to []string{})</td> <td align="left">Checks banned characters in identifiers</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#optimize-operands-order"><code>optimize-operands-order</code></a></td> <td align="center">n/a</td> <td align="left">Checks inefficient conditional expressions</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#use-any"><code>use-any</code></a></td> <td align="center">n/a</td> <td align="left">Proposes to replace <code>interface{}</code> with its alias <code>any</code></td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#datarace"><code>datarace</code></a></td> <td align="center">n/a</td> <td align="left">Spots potential dataraces</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comment-spacings"><code>comment-spacings</code></a></td> <td align="center">[]string</td> <td align="left">Warns on malformed comments</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-import-alias"><code>redundant-import-alias</code></a></td> <td align="center">n/a</td> <td align="left">Warns on import aliases matching the imported package name</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#import-alias-naming"><code>import-alias-naming</code></a></td> <td align="center">string or map[string]string (defaults to allow regex pattern ^[a-z][a-z0-9]{0,}$)</td> <td align="left">Conventions around the naming of import aliases.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#enforce-map-style"><code>enforce-map-style</code></a></td> <td align="center">string (defaults to "any")</td> <td align="left">Enforces consistent usage of <code>make(map[type]type)</code> or <code>map[type]type{}</code> for map initialization. Does not affect <code>make(map[type]type, size)</code> constructions.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#enforce-slice-style"><code>enforce-slice-style</code></a></td> <td align="center">string (defaults to "any")</td> <td align="left">Enforces consistent usage of <code>make([]type, 0)</code> or <code>[]type{}</code> for slice initialization. Does not affect <code>make(map[type]type, non_zero_len, or_non_zero_cap)</code> constructions.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#enforce-repeated-arg-type-style"><code>enforce-repeated-arg-type-style</code></a></td> <td align="center">string (defaults to "any")</td> <td align="left">Enforces consistent style for repeated argument and/or return value types.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#max-control-nesting"><code>max-control-nesting</code></a></td> <td align="center">int (defaults to 5)</td> <td align="left">Sets restriction for maximum nesting of control structures.</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comments-density"><code>comments-density</code></a></td> <td align="center">int (defaults to 0)</td> <td align="left">Enforces a minimum comment / code relation</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#file-length-limit"><code>file-length-limit</code></a></td> <td align="center">map (optional)</td> <td align="left">Enforces a maximum number of lines per file</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#filename-format"><code>filename-format</code></a></td> <td align="center">regular expression (optional)</td> <td align="left">Enforces the formatting of filenames</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-build-tag"><code>redundant-build-tag</code></a></td> <td align="center">n/a</td> <td align="left">Warns about redundant <code>// +build</code> comment lines</td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#use-errors-new"><code>use-errors-new</code></a></td> <td align="center">n/a</td> <td align="left">Spots calls to <code>fmt.Errorf</code> that can be replaced by <code>errors.New</code></td> <td align="center">no</td> <td align="center">no</td> </tr> <tr> <td><a href="/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redundant-test-main-exit"><code>redundant-test-main-exit</code></a></td> <td align="center">n/a</td> <td align="left">Suggests removing <code>Exit</code> call in <code>TestMain</code> function for test files</td> <td align="center">no</td> <td align="center">no</td> </tr> </tbody> </table></markdown-accessiblity-table> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Configurable rules</h2><a id="user-content-configurable-rules" class="anchor" aria-label="Permalink: Configurable rules" href="#configurable-rules"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Here you can find how you can configure some existing rules:</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto"><code>var-naming</code></h3><a id="user-content-var-naming" class="anchor" aria-label="Permalink: var-naming" href="#var-naming"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">This rule accepts two slices of strings, an allowlist and a blocklist of initialisms. By default, the rule behaves exactly as the alternative in <code>golint</code> but optionally, you can relax it (see <a href="https://github.com/golang/lint/issues/89" data-hovercard-type="issue" data-hovercard-url="/golang/lint/issues/89/hovercard">golint/lint/issues/89</a>)</p> <div class="highlight highlight-source-toml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[rule.var-naming] arguments = [["ID"], ["VM"]]"><pre>[<span class="pl-en">rule</span>.<span class="pl-en">var-naming</span>] <span class="pl-smi">arguments</span> = [[<span class="pl-s"><span class="pl-pds">"</span>ID<span class="pl-pds">"</span></span>], [<span class="pl-s"><span class="pl-pds">"</span>VM<span class="pl-pds">"</span></span>]]</pre></div> <p dir="auto">This way, revive will not warn for an identifier called <code>customId</code> but will warn that <code>customVm</code> should be called <code>customVM</code>.</p> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Available Formatters</h2><a id="user-content-available-formatters" class="anchor" aria-label="Permalink: Available Formatters" href="#available-formatters"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">This section lists all the available formatters and provides a screenshot for each one.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Friendly</h3><a id="user-content-friendly" class="anchor" aria-label="Permalink: Friendly" href="#friendly"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/formatter-friendly.png"><img src="/mgechev/revive/raw/master/assets/formatter-friendly.png" alt="Friendly formatter" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Stylish</h3><a id="user-content-stylish" class="anchor" aria-label="Permalink: Stylish" href="#stylish"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/formatter-stylish.png"><img src="/mgechev/revive/raw/master/assets/formatter-stylish.png" alt="Stylish formatter" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Default</h3><a id="user-content-default" class="anchor" aria-label="Permalink: Default" href="#default"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The default formatter produces the same output as <code>golint</code>.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/formatter-default.png"><img src="/mgechev/revive/raw/master/assets/formatter-default.png" alt="Default formatter" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Plain</h3><a id="user-content-plain" class="anchor" aria-label="Permalink: Plain" href="#plain"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The plain formatter produces the same output as the default formatter and appends the URL to the rule description.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/formatter-plain.png"><img src="/mgechev/revive/raw/master/assets/formatter-plain.png" alt="Plain formatter" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Unix</h3><a id="user-content-unix" class="anchor" aria-label="Permalink: Unix" href="#unix"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The unix formatter produces the same output as the default formatter but surrounds the rules in <code>[]</code>.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="/mgechev/revive/blob/master/assets/formatter-unix.png"><img src="/mgechev/revive/raw/master/assets/formatter-unix.png" alt="Unix formatter" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">JSON</h3><a id="user-content-json" class="anchor" aria-label="Permalink: JSON" href="#json"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The <code>json</code> formatter produces output in JSON format.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">NDJSON</h3><a id="user-content-ndjson" class="anchor" aria-label="Permalink: NDJSON" href="#ndjson"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The <code>ndjson</code> formatter produces output in <a href="https://github.com/ndjson/ndjson-spec"><code>Newline Delimited JSON</code></a> format.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Checkstyle</h3><a id="user-content-checkstyle" class="anchor" aria-label="Permalink: Checkstyle" href="#checkstyle"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The <code>checkstyle</code> formatter produces output in a <a href="https://checkstyle.sourceforge.io/" rel="nofollow">Checkstyle-like</a> format.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">SARIF</h3><a id="user-content-sarif" class="anchor" aria-label="Permalink: SARIF" href="#sarif"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The <code>sarif</code> formatter produces output in SARIF, for <em>Static Analysis Results Interchange Format</em>, a standard JSON-based format for the output of static analysis tools defined and promoted by <a href="https://www.oasis-open.org/" rel="nofollow">OASIS</a>.</p> <p dir="auto">Current supported version of the standard is <a href="https://docs.oasis-open.org/sarif/sarif/v2.1.0/csprd01/sarif-v2.1.0-csprd01.html" rel="nofollow">SARIF-v2.1.0</a>.</p> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Extensibility</h2><a id="user-content-extensibility" class="anchor" aria-label="Permalink: Extensibility" href="#extensibility"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The tool can be extended with custom rules or formatters. This section contains additional information on how to implement such.</p> <p dir="auto">To extend the linter with a custom rule you can push it to this repository or use <code>revive</code> as a library (see below)</p> <p dir="auto">To add a custom formatter you'll have to push it to this repository or fork it. This is due to the limited <code>-buildmode=plugin</code> support which <a href="https://golang.org/pkg/plugin/" rel="nofollow">works only on Linux (with known issues)</a>.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Writing a Custom Rule</h3><a id="user-content-writing-a-custom-rule" class="anchor" aria-label="Permalink: Writing a Custom Rule" href="#writing-a-custom-rule"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">See <a href="/mgechev/revive/blob/master/DEVELOPING.md">DEVELOPING.md</a> for instructions on how to write a custom rule.</p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Using <code>revive</code> as a library</h4><a id="user-content-using-revive-as-a-library" class="anchor" aria-label="Permalink: Using revive as a library" href="#using-revive-as-a-library"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">If a rule is specific to your use case (i.e. it is not a good candidate to be added to <code>revive</code>'s rule set) you can add it to your linter using <code>revive</code> as a linting engine.</p> <p dir="auto">The following code shows how to use <code>revive</code> in your application. In the example only one rule is added (<code>myRule</code>), of course, you can add as many as you need to. Your rules can be configured programmatically or with the standard <code>revive</code> configuration file. The full rule set of <code>revive</code> is also actionable by your application.</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="package main import ( "github.com/mgechev/revive/cli" "github.com/mgechev/revive/lint" "github.com/mgechev/revive/revivelib" ) func main() { cli.RunRevive(revivelib.NewExtraRule(&myRule{}, lint.RuleConfig{})) } type myRule struct{} func (f myRule) Name() string { return "myRule" } func (f myRule) Apply(*lint.File, lint.Arguments) []lint.Failure { ... }"><pre><span class="pl-k">package</span> main <span class="pl-k">import</span> ( <span class="pl-s">"github.com/mgechev/revive/cli"</span> <span class="pl-s">"github.com/mgechev/revive/lint"</span> <span class="pl-s">"github.com/mgechev/revive/revivelib"</span> ) <span class="pl-k">func</span> <span class="pl-s1">main</span>() { <span class="pl-s1">cli</span>.<span class="pl-c1">RunRevive</span>(<span class="pl-s1">revivelib</span>.<span class="pl-c1">NewExtraRule</span>(<span class="pl-c1">&</span><span class="pl-smi">myRule</span>{}, lint.<span class="pl-smi">RuleConfig</span>{})) } <span class="pl-k">type</span> <span class="pl-smi">myRule</span> <span class="pl-k">struct</span>{} <span class="pl-k">func</span> (<span class="pl-s1">f</span> <span class="pl-smi">myRule</span>) <span class="pl-c1">Name</span>() <span class="pl-smi">string</span> { <span class="pl-k">return</span> <span class="pl-s">"myRule"</span> } <span class="pl-k">func</span> (<span class="pl-s1">f</span> <span class="pl-smi">myRule</span>) <span class="pl-c1">Apply</span>(<span class="pl-c1">*</span>lint.<span class="pl-smi">File</span>, lint.<span class="pl-smi">Arguments</span>) []lint.<span class="pl-smi">Failure</span> { <span class="pl-c1">...</span> }</pre></div> <p dir="auto">You can still go further and use <code>revive</code> without its CLI, as part of your library, or your CLI:</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="package mylib import ( "github.com/mgechev/revive/cli" "github.com/mgechev/revive/revivelib" "github.com/mgechev/revive/lint" ) // Error checking removed for clarity func LintMyFile(file string) { conf, _:= config.GetConfig("../defaults.toml") revive, _ := revivelib.New( conf, // Configuration file true, // Set exit status 2048, // Max open files // Then add as many extra rules as you need revivelib.NewExtraRule(&myRule{}, lint.RuleConfig{}), ) failuresChan, err := revive.Lint( revivelib.Include(file), revivelib.Exclude("./fixtures"), // You can use as many revivelib.Include or revivelib.Exclude as required ) if err != nil { panic("Shouldn't have failed: " + err.Error()) } // Now let's return the formatted errors failures, exitCode, _ := revive.Format("stylish", failuresChan) // failures is the string with all formatted lint error messages // exit code is 0 if no errors, 1 if errors (unless config options change it) // ... do something with them } type myRule struct{} func (f myRule) Name() string { return "myRule" } func (f myRule) Apply(*lint.File, lint.Arguments) []lint.Failure { ... }"><pre><span class="pl-k">package</span> mylib <span class="pl-k">import</span> ( <span class="pl-s">"github.com/mgechev/revive/cli"</span> <span class="pl-s">"github.com/mgechev/revive/revivelib"</span> <span class="pl-s">"github.com/mgechev/revive/lint"</span> ) <span class="pl-c">// Error checking removed for clarity</span> <span class="pl-k">func</span> <span class="pl-s1">LintMyFile</span>(<span class="pl-s1">file</span> <span class="pl-smi">string</span>) { <span class="pl-s1">conf</span>, <span class="pl-s1">_</span><span class="pl-c1">:=</span> <span class="pl-s1">config</span>.<span class="pl-c1">GetConfig</span>(<span class="pl-s">"../defaults.toml"</span>) <span class="pl-s1">revive</span>, <span class="pl-s1">_</span> <span class="pl-c1">:=</span> <span class="pl-s1">revivelib</span>.<span class="pl-c1">New</span>( <span class="pl-s1">conf</span>, <span class="pl-c">// Configuration file</span> <span class="pl-c1">true</span>, <span class="pl-c">// Set exit status</span> <span class="pl-c1">2048</span>, <span class="pl-c">// Max open files</span> <span class="pl-c">// Then add as many extra rules as you need</span> <span class="pl-s1">revivelib</span>.<span class="pl-c1">NewExtraRule</span>(<span class="pl-c1">&</span><span class="pl-smi">myRule</span>{}, lint.<span class="pl-smi">RuleConfig</span>{}), ) <span class="pl-s1">failuresChan</span>, <span class="pl-s1">err</span> <span class="pl-c1">:=</span> <span class="pl-s1">revive</span>.<span class="pl-c1">Lint</span>( <span class="pl-s1">revivelib</span>.<span class="pl-c1">Include</span>(<span class="pl-s1">file</span>), <span class="pl-s1">revivelib</span>.<span class="pl-c1">Exclude</span>(<span class="pl-s">"./fixtures"</span>), <span class="pl-c">// You can use as many revivelib.Include or revivelib.Exclude as required</span> ) <span class="pl-k">if</span> <span class="pl-s1">err</span> <span class="pl-c1">!=</span> <span class="pl-c1">nil</span> { <span class="pl-s1">panic</span>(<span class="pl-s">"Shouldn't have failed: "</span> <span class="pl-c1">+</span> <span class="pl-s1">err</span>.<span class="pl-c1">Error</span>()) } <span class="pl-c">// Now let's return the formatted errors</span> <span class="pl-s1">failures</span>, <span class="pl-s1">exitCode</span>, <span class="pl-s1">_</span> <span class="pl-c1">:=</span> <span class="pl-s1">revive</span>.<span class="pl-c1">Format</span>(<span class="pl-s">"stylish"</span>, <span class="pl-s1">failuresChan</span>) <span class="pl-c">// failures is the string with all formatted lint error messages</span> <span class="pl-c">// exit code is 0 if no errors, 1 if errors (unless config options change it)</span> <span class="pl-c">// ... do something with them</span> } <span class="pl-k">type</span> <span class="pl-smi">myRule</span> <span class="pl-k">struct</span>{} <span class="pl-k">func</span> (<span class="pl-s1">f</span> <span class="pl-smi">myRule</span>) <span class="pl-c1">Name</span>() <span class="pl-smi">string</span> { <span class="pl-k">return</span> <span class="pl-s">"myRule"</span> } <span class="pl-k">func</span> (<span class="pl-s1">f</span> <span class="pl-smi">myRule</span>) <span class="pl-c1">Apply</span>(<span class="pl-c1">*</span>lint.<span class="pl-smi">File</span>, lint.<span class="pl-smi">Arguments</span>) []lint.<span class="pl-smi">Failure</span> { <span class="pl-c1">...</span> }</pre></div> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Custom Formatter</h3><a id="user-content-custom-formatter" class="anchor" aria-label="Permalink: Custom Formatter" href="#custom-formatter"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Each formatter needs to implement the following interface:</p> <div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type Formatter interface { Format(<-chan Failure, Config) (string, error) Name() string }"><pre><span class="pl-k">type</span> <span class="pl-smi">Formatter</span> <span class="pl-k">interface</span> { <span class="pl-c1">Format</span>(<span class="pl-c1"><-</span><span class="pl-k">chan</span> <span class="pl-smi">Failure</span>, <span class="pl-smi">Config</span>) (<span class="pl-smi">string</span>, <span class="pl-smi">error</span>) <span class="pl-c1">Name</span>() <span class="pl-smi">string</span> }</pre></div> <p dir="auto">The <code>Format</code> method accepts a channel of <code>Failure</code> instances and the configuration of the enabled rules. The <code>Name()</code> method should return a string different from the names of the already existing rules. This string is used when specifying the formatter when invoking the <code>revive</code> CLI tool.</p> <p dir="auto">For a sample formatter, take a look at <a href="/mgechev/revive/blob/master/formatter/json.go">this file</a>.</p> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Speed Comparison</h2><a id="user-content-speed-comparison" class="anchor" aria-label="Permalink: Speed Comparison" href="#speed-comparison"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Compared to <code>golint</code>, <code>revive</code> performs better because it lints the files for each individual rule into a separate goroutine. Here's a basic performance benchmark on MacBook Pro Early 2013 run on Kubernetes:</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">golint</h3><a id="user-content-golint" class="anchor" aria-label="Permalink: golint" href="#golint"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="time golint kubernetes/... > /dev/null real 0m54.837s user 0m57.844s sys 0m9.146s"><pre><span class="pl-k">time</span> golint kubernetes/... <span class="pl-k">></span> /dev/null real 0m54.837s user 0m57.844s sys 0m9.146s</pre></div> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">revive's speed</h3><a id="user-content-revives-speed" class="anchor" aria-label="Permalink: revive's speed" href="#revives-speed"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# no type checking time revive -config untyped.toml kubernetes/... > /dev/null real 0m8.471s user 0m40.721s sys 0m3.262s"><pre><span class="pl-c"><span class="pl-c">#</span> no type checking</span> <span class="pl-k">time</span> revive -config untyped.toml kubernetes/... <span class="pl-k">></span> /dev/null real 0m8.471s user 0m40.721s sys 0m3.262s</pre></div> <p dir="auto">Keep in mind that if you use rules that require type checking, the performance may drop to 2x faster than <code>golint</code>:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# type checking enabled time revive kubernetes/... > /dev/null real 0m26.211s user 2m6.708s sys 0m17.192s"><pre><span class="pl-c"><span class="pl-c">#</span> type checking enabled</span> <span class="pl-k">time</span> revive kubernetes/... <span class="pl-k">></span> /dev/null real 0m26.211s user 2m6.708s sys 0m17.192s</pre></div> <p dir="auto">Currently, type-checking is enabled by default. If you want to run the linter without type-checking, remove all typed rules from the configuration file.</p> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Overriding colorization detection</h2><a id="user-content-overriding-colorization-detection" class="anchor" aria-label="Permalink: Overriding colorization detection" href="#overriding-colorization-detection"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">By default, <code>revive</code> determines whether or not to colorize its output based on whether it's connected to a TTY or not. This works for most use cases, but may not behave as expected if you use <code>revive</code> in a pipeline of commands, where STDOUT is being piped to another command.</p> <p dir="auto">To force colorization, add <code>REVIVE_FORCE_COLOR=1</code> to the environment you're running in. For example:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="REVIVE_FORCE_COLOR=1 revive -formatter friendly ./... | tee revive.log"><pre>REVIVE_FORCE_COLOR=1 revive -formatter friendly ./... <span class="pl-k">|</span> tee revive.log</pre></div> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Contributors</h2><a id="user-content-contributors" class="anchor" aria-label="Permalink: Contributors" href="#contributors"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/mgechev"><img alt="mgechev" src="https://avatars.githubusercontent.com/u/455023?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/chavacava"><img alt="chavacava" src="https://avatars.githubusercontent.com/u/25788468?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/denisvmedia"><img alt="denisvmedia" src="https://avatars.githubusercontent.com/u/5462781?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/mfederowicz"><img alt="mfederowicz" src="https://avatars.githubusercontent.com/u/57678185?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/xuri"><img alt="xuri" src="https://avatars.githubusercontent.com/u/2809468?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/alexandear"><img alt="alexandear" src="https://avatars.githubusercontent.com/u/3228886?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/mgechev">mgechev</a></td> <td align="center"><a href="https://github.com/chavacava">chavacava</a></td> <td align="center"><a href="https://github.com/denisvmedia">denisvmedia</a></td> <td align="center"><a href="https://github.com/mfederowicz">mfederowicz</a></td> <td align="center"><a href="https://github.com/xuri">xuri</a></td> <td align="center"><a href="https://github.com/alexandear">alexandear</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/ldez"><img alt="ldez" src="https://avatars.githubusercontent.com/u/5674651?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/doniacld"><img alt="doniacld" src="https://avatars.githubusercontent.com/u/19799268?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Clivern"><img alt="Clivern" src="https://avatars.githubusercontent.com/u/1634427?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/morphy2k"><img alt="morphy2k" src="https://avatars.githubusercontent.com/u/4280578?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/bernhardreisenberger"><img alt="bernhardreisenberger" src="https://avatars.githubusercontent.com/u/5809300?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/dshemin"><img alt="dshemin" src="https://avatars.githubusercontent.com/u/11780307?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/ldez">ldez</a></td> <td align="center"><a href="https://github.com/doniacld">doniacld</a></td> <td align="center"><a href="https://github.com/Clivern">Clivern</a></td> <td align="center"><a href="https://github.com/morphy2k">morphy2k</a></td> <td align="center"><a href="https://github.com/bernhardreisenberger">bernhardreisenberger</a></td> <td align="center"><a href="https://github.com/dshemin">dshemin</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/butuzov"><img alt="butuzov" src="https://avatars.githubusercontent.com/u/651824?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/comdiv"><img alt="comdiv" src="https://avatars.githubusercontent.com/u/2387862?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/heynemann"><img alt="heynemann" src="https://avatars.githubusercontent.com/u/60965?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/gsamokovarov"><img alt="gsamokovarov" src="https://avatars.githubusercontent.com/u/604618?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/mdelah"><img alt="mdelah" src="https://avatars.githubusercontent.com/u/4904544?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/tymonx"><img alt="tymonx" src="https://avatars.githubusercontent.com/u/8367378?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/butuzov">butuzov</a></td> <td align="center"><a href="https://github.com/comdiv">comdiv</a></td> <td align="center"><a href="https://github.com/heynemann">heynemann</a></td> <td align="center"><a href="https://github.com/gsamokovarov">gsamokovarov</a></td> <td align="center"><a href="https://github.com/mdelah">mdelah</a></td> <td align="center"><a href="https://github.com/tymonx">tymonx</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/sina-devel"><img alt="sina-devel" src="https://avatars.githubusercontent.com/u/61763643?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/rawen17"><img alt="rawen17" src="https://avatars.githubusercontent.com/u/36483900?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/dominiquelefevre"><img alt="dominiquelefevre" src="https://avatars.githubusercontent.com/u/54854047?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/git-hulk"><img alt="git-hulk" src="https://avatars.githubusercontent.com/u/4987594?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/shmsr"><img alt="shmsr" src="https://avatars.githubusercontent.com/u/51480165?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/ytnsym"><img alt="ytnsym" src="https://avatars.githubusercontent.com/u/57400690?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/sina-devel">sina-devel</a></td> <td align="center"><a href="https://github.com/rawen17">rawen17</a></td> <td align="center"><a href="https://github.com/dominiquelefevre">dominiquelefevre</a></td> <td align="center"><a href="https://github.com/git-hulk">git-hulk</a></td> <td align="center"><a href="https://github.com/shmsr">shmsr</a></td> <td align="center"><a href="https://github.com/ytnsym">ytnsym</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/zimmski"><img alt="zimmski" src="https://avatars.githubusercontent.com/u/1847950?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/mapreal19"><img alt="mapreal19" src="https://avatars.githubusercontent.com/u/3055997?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/cce"><img alt="cce" src="https://avatars.githubusercontent.com/u/51567?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/skaji"><img alt="skaji" src="https://avatars.githubusercontent.com/u/1589550?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/ccoVeille"><img alt="ccoVeille" src="https://avatars.githubusercontent.com/u/3875889?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/tamird"><img alt="tamird" src="https://avatars.githubusercontent.com/u/1535036?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/zimmski">zimmski</a></td> <td align="center"><a href="https://github.com/mapreal19">mapreal19</a></td> <td align="center"><a href="https://github.com/cce">cce</a></td> <td align="center"><a href="https://github.com/skaji">skaji</a></td> <td align="center"><a href="https://github.com/ccoVeille">ccoVeille</a></td> <td align="center"><a href="https://github.com/tamird">tamird</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/markelog"><img alt="markelog" src="https://avatars.githubusercontent.com/u/945528?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/mihaitodor"><img alt="mihaitodor" src="https://avatars.githubusercontent.com/u/788216?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/dvejmz"><img alt="dvejmz" src="https://avatars.githubusercontent.com/u/9487006?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/abeltay"><img alt="abeltay" src="https://avatars.githubusercontent.com/u/15604207?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/damif94"><img alt="damif94" src="https://avatars.githubusercontent.com/u/29461526?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Groxx"><img alt="Groxx" src="https://avatars.githubusercontent.com/u/77197?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/markelog">markelog</a></td> <td align="center"><a href="https://github.com/mihaitodor">mihaitodor</a></td> <td align="center"><a href="https://github.com/dvejmz">dvejmz</a></td> <td align="center"><a href="https://github.com/abeltay">abeltay</a></td> <td align="center"><a href="https://github.com/damif94">damif94</a></td> <td align="center"><a href="https://github.com/Groxx">Groxx</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/StephenButtolph"><img alt="StephenButtolph" src="https://avatars.githubusercontent.com/u/22109487?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/StephenBrown2"><img alt="StephenBrown2" src="https://avatars.githubusercontent.com/u/1148665?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/lsytj0413"><img alt="lsytj0413" src="https://avatars.githubusercontent.com/u/6871552?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/qascade"><img alt="qascade" src="https://avatars.githubusercontent.com/u/54154054?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/ridvansumset"><img alt="ridvansumset" src="https://avatars.githubusercontent.com/u/26631560?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/rliebz"><img alt="rliebz" src="https://avatars.githubusercontent.com/u/5321575?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/StephenButtolph">StephenButtolph</a></td> <td align="center"><a href="https://github.com/StephenBrown2">StephenBrown2</a></td> <td align="center"><a href="https://github.com/lsytj0413">lsytj0413</a></td> <td align="center"><a href="https://github.com/qascade">qascade</a></td> <td align="center"><a href="https://github.com/ridvansumset">ridvansumset</a></td> <td align="center"><a href="https://github.com/rliebz">rliebz</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/rdeusser"><img alt="rdeusser" src="https://avatars.githubusercontent.com/u/5935071?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/rmarku"><img alt="rmarku" src="https://avatars.githubusercontent.com/u/1113370?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/rnikoopour"><img alt="rnikoopour" src="https://avatars.githubusercontent.com/u/7692789?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/rafamadriz"><img alt="rafamadriz" src="https://avatars.githubusercontent.com/u/67771985?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/paco0x"><img alt="paco0x" src="https://avatars.githubusercontent.com/u/6123425?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/pa-m"><img alt="pa-m" src="https://avatars.githubusercontent.com/u/5503106?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/rdeusser">rdeusser</a></td> <td align="center"><a href="https://github.com/rmarku">rmarku</a></td> <td align="center"><a href="https://github.com/rnikoopour">rnikoopour</a></td> <td align="center"><a href="https://github.com/rafamadriz">rafamadriz</a></td> <td align="center"><a href="https://github.com/paco0x">paco0x</a></td> <td align="center"><a href="https://github.com/pa-m">pa-m</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/cinar"><img alt="cinar" src="https://avatars.githubusercontent.com/u/1754092?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/natefinch"><img alt="natefinch" src="https://avatars.githubusercontent.com/u/3185864?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/nunnatsa"><img alt="nunnatsa" src="https://avatars.githubusercontent.com/u/60659093?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/michalhisim"><img alt="michalhisim" src="https://avatars.githubusercontent.com/u/764249?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/zeripath"><img alt="zeripath" src="https://avatars.githubusercontent.com/u/1824502?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/y-yagi"><img alt="y-yagi" src="https://avatars.githubusercontent.com/u/987638?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/cinar">cinar</a></td> <td align="center"><a href="https://github.com/natefinch">natefinch</a></td> <td align="center"><a href="https://github.com/nunnatsa">nunnatsa</a></td> <td align="center"><a href="https://github.com/michalhisim">michalhisim</a></td> <td align="center"><a href="https://github.com/zeripath">zeripath</a></td> <td align="center"><a href="https://github.com/y-yagi">y-yagi</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/techknowlogick"><img alt="techknowlogick" src="https://avatars.githubusercontent.com/u/164197?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/okhowang"><img alt="okhowang" src="https://avatars.githubusercontent.com/u/3352585?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/meanguy"><img alt="meanguy" src="https://avatars.githubusercontent.com/u/78570571?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/likyh"><img alt="likyh" src="https://avatars.githubusercontent.com/u/3294100?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/kerneltravel"><img alt="kerneltravel" src="https://avatars.githubusercontent.com/u/437879?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/jmckenzieark"><img alt="jmckenzieark" src="https://avatars.githubusercontent.com/u/70923399?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/techknowlogick">techknowlogick</a></td> <td align="center"><a href="https://github.com/okhowang">okhowang</a></td> <td align="center"><a href="https://github.com/meanguy">meanguy</a></td> <td align="center"><a href="https://github.com/likyh">likyh</a></td> <td align="center"><a href="https://github.com/kerneltravel">kerneltravel</a></td> <td align="center"><a href="https://github.com/jmckenzieark">jmckenzieark</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/haya14busa"><img alt="haya14busa" src="https://avatars.githubusercontent.com/u/3797062?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/fregin"><img alt="fregin" src="https://avatars.githubusercontent.com/u/23256240?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/ydah"><img alt="ydah" src="https://avatars.githubusercontent.com/u/13041216?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/WillAbides"><img alt="WillAbides" src="https://avatars.githubusercontent.com/u/233500?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/heyvito"><img alt="heyvito" src="https://avatars.githubusercontent.com/u/77198?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/VincentBaron"><img alt="VincentBaron" src="https://avatars.githubusercontent.com/u/58427099?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/haya14busa">haya14busa</a></td> <td align="center"><a href="https://github.com/fregin">fregin</a></td> <td align="center"><a href="https://github.com/ydah">ydah</a></td> <td align="center"><a href="https://github.com/WillAbides">WillAbides</a></td> <td align="center"><a href="https://github.com/heyvito">heyvito</a></td> <td align="center"><a href="https://github.com/VincentBaron">VincentBaron</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/scop"><img alt="scop" src="https://avatars.githubusercontent.com/u/109152?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/vkrol"><img alt="vkrol" src="https://avatars.githubusercontent.com/u/153412?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/KirillSluchaev"><img alt="KirillSluchaev" src="https://avatars.githubusercontent.com/u/58340009?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Jarema"><img alt="Jarema" src="https://avatars.githubusercontent.com/u/7369771?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/tartale"><img alt="tartale" src="https://avatars.githubusercontent.com/u/9323250?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/tmzane"><img alt="tmzane" src="https://avatars.githubusercontent.com/u/73077675?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/scop">scop</a></td> <td align="center"><a href="https://github.com/vkrol">vkrol</a></td> <td align="center"><a href="https://github.com/KirillSluchaev">KirillSluchaev</a></td> <td align="center"><a href="https://github.com/Jarema">Jarema</a></td> <td align="center"><a href="https://github.com/tartale">tartale</a></td> <td align="center"><a href="https://github.com/tmzane">tmzane</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/felipedavid"><img alt="felipedavid" src="https://avatars.githubusercontent.com/u/75049173?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/euank"><img alt="euank" src="https://avatars.githubusercontent.com/u/2147649?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Entuazism"><img alt="Entuazism" src="https://avatars.githubusercontent.com/u/56657856?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Juneezee"><img alt="Juneezee" src="https://avatars.githubusercontent.com/u/20135478?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/echoix"><img alt="echoix" src="https://avatars.githubusercontent.com/u/27212526?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/EXHades"><img alt="EXHades" src="https://avatars.githubusercontent.com/u/22260242?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/felipedavid">felipedavid</a></td> <td align="center"><a href="https://github.com/euank">euank</a></td> <td align="center"><a href="https://github.com/Entuazism">Entuazism</a></td> <td align="center"><a href="https://github.com/Juneezee">Juneezee</a></td> <td align="center"><a href="https://github.com/echoix">echoix</a></td> <td align="center"><a href="https://github.com/EXHades">EXHades</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/petethepig"><img alt="petethepig" src="https://avatars.githubusercontent.com/u/662636?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Dirk007"><img alt="Dirk007" src="https://avatars.githubusercontent.com/u/17194484?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/yangdiangzb"><img alt="yangdiangzb" src="https://avatars.githubusercontent.com/u/16643665?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/derekperkins"><img alt="derekperkins" src="https://avatars.githubusercontent.com/u/3588778?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/bboreham"><img alt="bboreham" src="https://avatars.githubusercontent.com/u/8125524?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/attiss"><img alt="attiss" src="https://avatars.githubusercontent.com/u/23562566?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/petethepig">petethepig</a></td> <td align="center"><a href="https://github.com/Dirk007">Dirk007</a></td> <td align="center"><a href="https://github.com/yangdiangzb">yangdiangzb</a></td> <td align="center"><a href="https://github.com/derekperkins">derekperkins</a></td> <td align="center"><a href="https://github.com/bboreham">bboreham</a></td> <td align="center"><a href="https://github.com/attiss">attiss</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/hatamiarash7"><img alt="hatamiarash7" src="https://avatars.githubusercontent.com/u/16325641?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Aragur"><img alt="Aragur" src="https://avatars.githubusercontent.com/u/11004008?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/amincheloh"><img alt="amincheloh" src="https://avatars.githubusercontent.com/u/1217397?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/kulti"><img alt="kulti" src="https://avatars.githubusercontent.com/u/1286683?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/Abirdcfly"><img alt="Abirdcfly" src="https://avatars.githubusercontent.com/u/5100555?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/abhinav"><img alt="abhinav" src="https://avatars.githubusercontent.com/u/41730?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/hatamiarash7">hatamiarash7</a></td> <td align="center"><a href="https://github.com/Aragur">Aragur</a></td> <td align="center"><a href="https://github.com/amincheloh">amincheloh</a></td> <td align="center"><a href="https://github.com/kulti">kulti</a></td> <td align="center"><a href="https://github.com/Abirdcfly">Abirdcfly</a></td> <td align="center"><a href="https://github.com/abhinav">abhinav</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/r-ricci"><img alt="r-ricci" src="https://avatars.githubusercontent.com/u/52817765?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/mmcloughlin"><img alt="mmcloughlin" src="https://avatars.githubusercontent.com/u/7133685?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/mathieu-aubin"><img alt="mathieu-aubin" src="https://avatars.githubusercontent.com/u/15820228?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/martinsirbe"><img alt="martinsirbe" src="https://avatars.githubusercontent.com/u/13367583?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/avorima"><img alt="avorima" src="https://avatars.githubusercontent.com/u/15158349?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/moukoublen"><img alt="moukoublen" src="https://avatars.githubusercontent.com/u/1380039?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/r-ricci">r-ricci</a></td> <td align="center"><a href="https://github.com/mmcloughlin">mmcloughlin</a></td> <td align="center"><a href="https://github.com/mathieu-aubin">mathieu-aubin</a></td> <td align="center"><a href="https://github.com/martinsirbe">martinsirbe</a></td> <td align="center"><a href="https://github.com/avorima">avorima</a></td> <td align="center"><a href="https://github.com/moukoublen">moukoublen</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/very-amused"><img alt="very-amused" src="https://avatars.githubusercontent.com/u/44382255?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/johnrichardrinehart"><img alt="johnrichardrinehart" src="https://avatars.githubusercontent.com/u/6321578?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/walles"><img alt="walles" src="https://avatars.githubusercontent.com/u/158201?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/jefersonf"><img alt="jefersonf" src="https://avatars.githubusercontent.com/u/3049540?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/jamesmaidment"><img alt="jamesmaidment" src="https://avatars.githubusercontent.com/u/2050324?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/jalaziz"><img alt="jalaziz" src="https://avatars.githubusercontent.com/u/247849?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/very-amused">very-amused</a></td> <td align="center"><a href="https://github.com/johnrichardrinehart">johnrichardrinehart</a></td> <td align="center"><a href="https://github.com/walles">walles</a></td> <td align="center"><a href="https://github.com/jefersonf">jefersonf</a></td> <td align="center"><a href="https://github.com/jamesmaidment">jamesmaidment</a></td> <td align="center"><a href="https://github.com/jalaziz">jalaziz</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/grongor"><img alt="grongor" src="https://avatars.githubusercontent.com/u/972493?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/tie"><img alt="tie" src="https://avatars.githubusercontent.com/u/14792994?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/quasilyte"><img alt="quasilyte" src="https://avatars.githubusercontent.com/u/6286655?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/davidhsingyuchen"><img alt="davidhsingyuchen" src="https://avatars.githubusercontent.com/u/17587061?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/gfariasalves-ionos"><img alt="gfariasalves-ionos" src="https://avatars.githubusercontent.com/u/112630064?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/gburanov"><img alt="gburanov" src="https://avatars.githubusercontent.com/u/2969603?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/grongor">grongor</a></td> <td align="center"><a href="https://github.com/tie">tie</a></td> <td align="center"><a href="https://github.com/quasilyte">quasilyte</a></td> <td align="center"><a href="https://github.com/davidhsingyuchen">davidhsingyuchen</a></td> <td align="center"><a href="https://github.com/gfariasalves-ionos">gfariasalves-ionos</a></td> <td align="center"><a href="https://github.com/gburanov">gburanov</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <markdown-accessiblity-table><table> <thead> <tr> <th align="center"><a href="https://github.com/ginglis13"><img alt="ginglis13" src="https://avatars.githubusercontent.com/u/43075615?v=4&s=117" width="117" style="max-width: 100%;"></a></th> <th align="center"><a href="https://github.com/flesser"><img alt="flesser" src="https://avatars.githubusercontent.com/u/510681?v=4&s=117" width="117" style="max-width: 100%;"></a></th> </tr> </thead> <tbody> <tr> <td align="center"><a href="https://github.com/ginglis13">ginglis13</a></td> <td align="center"><a href="https://github.com/flesser">flesser</a></td> </tr> </tbody> </table></markdown-accessiblity-table> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">License</h2><a id="user-content-license" class="anchor" aria-label="Permalink: License" href="#license"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">MIT</p> </article></div></div></div></div></div> <!-- --> <!-- --> <script type="application/json" id="__PRIMER_DATA_:R0:__">{"resolvedServerColorMode":"day"}</script></div> </react-partial> <input type="hidden" data-csrf="true" value="8a38sEHV6j77xHxHnLR1JPihO7wxiKBi69jI3q5LvMVez8sGv2adUyBNOO/lFRmsUywBtMHMBGzIOP2HjEQeog==" /> </div> <div data-view-component="true" class="Layout-sidebar"> <div class="BorderGrid about-margin" data-pjax> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <div class="hide-sm hide-md"> <h2 class="mb-3 h4">About</h2> <p class="f4 my-3"> 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint </p> <div class="my-3 d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link flex-shrink-0 mr-2"> <path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path> </svg> <span class="flex-auto min-width-0 css-truncate css-truncate-target width-fit"> <a title="https://revive.run" role="link" target="_blank" rel="noopener noreferrer nofollow" class="text-bold" href="https://revive.run">revive.run</a> </span> </div> <h3 class="sr-only">Topics</h3> <div class="my-3"> <div class="f6"> <a href="/topics/go" title="Topic: go" data-view-component="true" class="topic-tag topic-tag-link"> go </a> <a href="/topics/golang" title="Topic: golang" data-view-component="true" class="topic-tag topic-tag-link"> golang </a> <a href="/topics/static-code-analysis" title="Topic: static-code-analysis" data-view-component="true" class="topic-tag topic-tag-link"> static-code-analysis </a> <a href="/topics/linter" title="Topic: linter" data-view-component="true" class="topic-tag topic-tag-link"> linter </a> <a href="/topics/static-analysis" title="Topic: static-analysis" data-view-component="true" class="topic-tag topic-tag-link"> static-analysis </a> <a href="/topics/golint" title="Topic: golint" data-view-component="true" class="topic-tag topic-tag-link"> golint </a> <a href="/topics/hacktoberfest" title="Topic: hacktoberfest" data-view-component="true" class="topic-tag topic-tag-link"> hacktoberfest </a> </div> </div> <h3 class="sr-only">Resources</h3> <div class="mt-2"> <a class="Link--muted" data-analytics-event="{"category":"Repository Overview","action":"click","label":"location:sidebar;file:readme"}" href="#readme-ov-file"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book mr-2"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> Readme </a> </div> <h3 class="sr-only">License</h3> <div class="mt-2"> <a href="#MIT-1-ov-file" class="Link--muted" data-analytics-event="{"category":"Repository Overview","action":"click","label":"location:sidebar;file:license"}" > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-law mr-2"> <path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path> </svg> MIT license </a> </div> <h3 class="sr-only">Code of conduct</h3> <div class="mt-2"> <a href="#coc-ov-file" class="Link--muted" data-analytics-event="{"category":"Repository Overview","action":"click","label":"location:sidebar;file:code of conduct"}" > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-of-conduct mr-2"> <path d="M8.048 2.241c.964-.709 2.079-1.238 3.325-1.241a4.616 4.616 0 0 1 3.282 1.355c.41.408.757.86.996 1.428.238.568.348 1.206.347 1.968 0 2.193-1.505 4.254-3.081 5.862-1.496 1.526-3.213 2.796-4.249 3.563l-.22.163a.749.749 0 0 1-.895 0l-.221-.163c-1.036-.767-2.753-2.037-4.249-3.563C1.51 10.008.007 7.952.002 5.762a4.614 4.614 0 0 1 1.353-3.407C3.123.585 6.223.537 8.048 2.24Zm-1.153.983c-1.25-1.033-3.321-.967-4.48.191a3.115 3.115 0 0 0-.913 2.335c0 1.556 1.109 3.24 2.652 4.813C5.463 11.898 6.96 13.032 8 13.805c.353-.262.758-.565 1.191-.905l-1.326-1.223a.75.75 0 0 1 1.018-1.102l1.48 1.366c.328-.281.659-.577.984-.887L9.99 9.802a.75.75 0 1 1 1.019-1.103l1.384 1.28c.295-.329.566-.661.81-.995L12.92 8.7l-1.167-1.168c-.674-.671-1.78-.664-2.474.03-.268.269-.538.537-.802.797-.893.882-2.319.843-3.185-.032-.346-.35-.693-.697-1.043-1.047a.75.75 0 0 1-.04-1.016c.162-.191.336-.401.52-.623.62-.748 1.356-1.637 2.166-2.417Zm7.112 4.442c.313-.65.491-1.293.491-1.916v-.001c0-.614-.088-1.045-.23-1.385-.143-.339-.357-.633-.673-.949a3.111 3.111 0 0 0-2.218-.915c-1.092.003-2.165.627-3.226 1.602-.823.755-1.554 1.637-2.228 2.45l-.127.154.562.566a.755.755 0 0 0 1.066.02l.794-.79c1.258-1.258 3.312-1.31 4.594-.032.396.394.792.791 1.173 1.173Z"></path> </svg> Code of conduct </a> </div> <h3 class="sr-only">Security policy</h3> <div class="mt-2"> <a href="#security-ov-file" class="Link--muted" data-analytics-event="{"category":"Repository Overview","action":"click","label":"location:sidebar;file:security policy"}" > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-law mr-2"> <path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path> </svg> Security policy </a> </div> <include-fragment src="/mgechev/revive/hovercards/citation/sidebar_partial?tree_name=master"> </include-fragment> <div class="mt-2"> <a href="/mgechev/revive/activity" data-view-component="true" class="Link Link--muted"><svg text="gray" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pulse mr-2"> <path d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.751.751 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77 4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.751.751 0 0 1 6 2Z"></path> </svg> <span class="color-fg-muted">Activity</span></a> </div> <h3 class="sr-only">Stars</h3> <div class="mt-2"> <a href="/mgechev/revive/stargazers" data-view-component="true" class="Link Link--muted"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg> <strong>5.1k</strong> stars</a> </div> <h3 class="sr-only">Watchers</h3> <div class="mt-2"> <a href="/mgechev/revive/watchers" data-view-component="true" class="Link Link--muted"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-eye mr-2"> <path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14c-1.981 0-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2ZM1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5c1.473 0 2.825-.742 3.955-1.715 1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5c-1.473 0-2.825.742-3.955 1.715-1.124.967-1.954 2.096-2.366 2.717ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"></path> </svg> <strong>37</strong> watching</a> </div> <h3 class="sr-only">Forks</h3> <div class="mt-2"> <a href="/mgechev/revive/forks" data-view-component="true" class="Link Link--muted"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg> <strong>290</strong> forks</a> </div> <div class="mt-2"> <a class="Link--muted" href="/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fmgechev%2Frevive&report=mgechev+%28user%29"> Report repository </a> </div> </div> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <h2 class="h4 mb-3" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame"> <a href="/mgechev/revive/releases" data-view-component="true" class="Link--primary no-underline Link">Releases <span title="37" data-view-component="true" class="Counter">37</span></a></h2> <a class="Link--primary d-flex no-underline" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/mgechev/revive/releases/tag/v1.8.0"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-tag flex-shrink-0 mt-1 color-fg-success"> <path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path> </svg> <div class="ml-2 min-width-0"> <div class="d-flex"> <span class="css-truncate css-truncate-target text-bold mr-2" style="max-width: none;">v1.8.0</span> <span title="Label: Latest" data-view-component="true" class="Label Label--success flex-shrink-0"> Latest </span> </div> <div class="text-small color-fg-muted"><relative-time datetime="2025-03-30T11:12:11Z" class="no-wrap">Mar 30, 2025</relative-time></div> </div> </a> <div data-view-component="true" class="mt-3"> <a text="small" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/mgechev/revive/releases" data-view-component="true" class="Link">+ 36 releases</a></div> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <include-fragment src="/mgechev/revive/packages_list?current_repository=revive" aria-busy="true" aria-label="Loading latest packages"> <h2 class="h4 mb-3"> <a href="/users/mgechev/packages?repo_name=revive" data-view-component="true" class="Link--primary no-underline Link d-flex flex-items-center">Packages <span title="0" hidden="hidden" data-view-component="true" class="Counter ml-1">0</span></a></h2> <div class="mb-2 d-flex flex-items-center"> <div class="Skeleton mr-2" style="width:20px;height:20px;"></div> <div class="Skeleton Skeleton--text flex-auto"> </div> </div> <div class="mb-2 d-flex flex-items-center"> <div class="Skeleton mr-2" style="width:20px;height:20px;"></div> <div class="Skeleton Skeleton--text flex-auto"> </div> </div> <div class="mb-2 d-flex flex-items-center"> <div class="Skeleton mr-2" style="width:20px;height:20px;"></div> <div class="Skeleton Skeleton--text flex-auto"> </div> </div> </include-fragment> </div> </div> <div class="BorderGrid-row" > <div class="BorderGrid-cell"> <h2 class="h4 mb-3"> <a href="/mgechev/revive/network/dependents" data-view-component="true" class="Link--primary no-underline Link">Used by <span title="8,168" data-view-component="true" class="Counter">8.2k</span></a> </h2> <a class="d-flex flex-items-center" href="/mgechev/revive/network/dependents"> <ul class="hx_flex-avatar-stack list-style-none min-width-0"> <li class="hx_flex-avatar-stack-item"> <img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/375856?s=64&v=4" width="32" height="32" alt="@s-urbaniak" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/194590?s=64&v=4" width="32" height="32" alt="@jorgefuertes" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/402052?s=64&v=4" width="32" height="32" alt="@bomgar" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/72527088?s=64&v=4" width="32" height="32" alt="@PatricioHenderson" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar" src="https://avatars.githubusercontent.com/u/8085?s=64&v=4" width="32" height="32" alt="@Shopify" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar" src="https://avatars.githubusercontent.com/u/932489?s=64&v=4" width="32" height="32" alt="@target" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar" src="https://avatars.githubusercontent.com/u/121823712?s=64&v=4" width="32" height="32" alt="@mirrorboards" /> </li> <li class="hx_flex-avatar-stack-item"> <img class="avatar avatar-user" src="https://avatars.githubusercontent.com/u/2923242?s=64&v=4" width="32" height="32" alt="@tkw1536" /> </li> </ul> <span class="px-2 text-bold text-small no-wrap"> + 8,160 </span> </a> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <h2 class="h4 mb-3"> <a href="/mgechev/revive/graphs/contributors" data-view-component="true" class="Link--primary no-underline Link d-flex flex-items-center">Contributors <span title="120" data-view-component="true" class="Counter ml-1">120</span></a></h2> <ul class="list-style-none d-flex flex-wrap mb-n2"> <li class="mb-2 mr-2" > <a href="https://github.com/apps/renovate" class="" > <img src="https://avatars.githubusercontent.com/in/2740?s=64&v=4" alt="@renovate[bot]" size="32" height="32" width="32" data-view-component="true" class="avatar" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/chavacava" class="" data-hovercard-type="user" data-hovercard-url="/users/chavacava/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/25788468?s=64&v=4" alt="@chavacava" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/mgechev" class="" data-hovercard-type="user" data-hovercard-url="/users/mgechev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/455023?s=64&v=4" alt="@mgechev" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/renovate-bot" class="" data-hovercard-type="user" data-hovercard-url="/users/renovate-bot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/25180681?s=64&v=4" alt="@renovate-bot" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/alexandear" class="" data-hovercard-type="user" data-hovercard-url="/users/alexandear/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/3228886?s=64&v=4" alt="@alexandear" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/denisvmedia" class="" data-hovercard-type="user" data-hovercard-url="/users/denisvmedia/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/5462781?s=64&v=4" alt="@denisvmedia" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/mfederowicz" class="" data-hovercard-type="user" data-hovercard-url="/users/mfederowicz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/57678185?s=64&v=4" alt="@mfederowicz" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/xuri" class="" data-hovercard-type="user" data-hovercard-url="/users/xuri/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/2809468?s=64&v=4" alt="@xuri" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/ldez" class="" data-hovercard-type="user" data-hovercard-url="/users/ldez/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/5674651?s=64&v=4" alt="@ldez" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/ccoVeille" class="" data-hovercard-type="user" data-hovercard-url="/users/ccoVeille/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/3875889?s=64&v=4" alt="@ccoVeille" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/morphy2k" class="" data-hovercard-type="user" data-hovercard-url="/users/morphy2k/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/4280578?s=64&v=4" alt="@morphy2k" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/doniacld" class="" data-hovercard-type="user" data-hovercard-url="/users/doniacld/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/19799268?s=64&v=4" alt="@doniacld" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/Clivern" class="" data-hovercard-type="user" data-hovercard-url="/users/Clivern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/1634427?s=64&v=4" alt="@Clivern" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> <li class="mb-2 mr-2" > <a href="https://github.com/butuzov" class="" data-hovercard-type="user" data-hovercard-url="/users/butuzov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" > <img src="https://avatars.githubusercontent.com/u/651824?s=64&v=4" alt="@butuzov" size="32" height="32" width="32" data-view-component="true" class="avatar circle" /> </a> </li> </ul> <div data-view-component="true" class="mt-3"> <a text="small" href="/mgechev/revive/graphs/contributors" data-view-component="true" class="Link--inTextBlock Link">+ 106 contributors</a></div> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <h2 class="h4 mb-3">Languages</h2> <div class="mb-2"> <span data-view-component="true" class="Progress"> <span style="background-color:#00ADD8 !important;;width: 99.8%;" itemprop="keywords" data-view-component="true" class="Progress-item color-bg-success-emphasis"></span> <span style="background-color:#ededed !important;;width: 0.2%;" itemprop="keywords" data-view-component="true" class="Progress-item color-bg-success-emphasis"></span> </span></div> <ul class="list-style-none"> <li class="d-inline"> <a class="d-inline-flex flex-items-center flex-nowrap Link--secondary no-underline text-small mr-3" href="/mgechev/revive/search?l=go" data-ga-click="Repository, language stats search click, location:repo overview"> <svg style="color:#00ADD8;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill mr-2"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> <span class="color-fg-default text-bold mr-1">Go</span> <span>99.8%</span> </a> </li> <li class="d-inline"> <span class="d-inline-flex flex-items-center flex-nowrap text-small mr-3"> <svg style="color:#ededed;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill mr-2"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> <span class="color-fg-default text-bold mr-1">Other</span> <span>0.2%</span> </span> </li> </ul> </div> </div> </div> </div> </div></div> </div> </div> </turbo-frame> </main> </div> </div> <footer class="footer pt-8 pb-6 f6 color-fg-muted p-responsive" role="contentinfo" > <h2 class='sr-only'>Footer</h2> <div class="d-flex flex-justify-center flex-items-center flex-column-reverse flex-lg-row flex-wrap flex-lg-nowrap"> <div class="d-flex flex-items-center flex-shrink-0 mx-2"> <a aria-label="Homepage" title="GitHub" class="footer-octicon mr-2" href="https://github.com"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12 1C5.9225 1 1 5.9225 1 12C1 16.8675 4.14875 20.9787 8.52125 22.4362C9.07125 22.5325 9.2775 22.2025 9.2775 21.9137C9.2775 21.6525 9.26375 20.7862 9.26375 19.865C6.5 20.3737 5.785 19.1912 5.565 18.5725C5.44125 18.2562 4.905 17.28 4.4375 17.0187C4.0525 16.8125 3.5025 16.3037 4.42375 16.29C5.29 16.2762 5.90875 17.0875 6.115 17.4175C7.105 19.0812 8.68625 18.6137 9.31875 18.325C9.415 17.61 9.70375 17.1287 10.02 16.8537C7.5725 16.5787 5.015 15.63 5.015 11.4225C5.015 10.2262 5.44125 9.23625 6.1425 8.46625C6.0325 8.19125 5.6475 7.06375 6.2525 5.55125C6.2525 5.55125 7.17375 5.2625 9.2775 6.67875C10.1575 6.43125 11.0925 6.3075 12.0275 6.3075C12.9625 6.3075 13.8975 6.43125 14.7775 6.67875C16.8813 5.24875 17.8025 5.55125 17.8025 5.55125C18.4075 7.06375 18.0225 8.19125 17.9125 8.46625C18.6138 9.23625 19.04 10.2125 19.04 11.4225C19.04 15.6437 16.4688 16.5787 14.0213 16.8537C14.42 17.1975 14.7638 17.8575 14.7638 18.8887C14.7638 20.36 14.75 21.5425 14.75 21.9137C14.75 22.2025 14.9563 22.5462 15.5063 22.4362C19.8513 20.9787 23 16.8537 23 12C23 5.9225 18.0775 1 12 1Z"></path> </svg> </a> <span> © 2025 GitHub, Inc. </span> </div> <nav aria-label="Footer"> <h3 class="sr-only" id="sr-footer-heading">Footer navigation</h3> <ul class="list-style-none d-flex flex-justify-center flex-wrap mb-2 mb-lg-0" aria-labelledby="sr-footer-heading"> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to Terms","label":"text:terms"}" href="https://docs.github.com/site-policy/github-terms/github-terms-of-service" data-view-component="true" class="Link--secondary Link">Terms</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to privacy","label":"text:privacy"}" href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement" data-view-component="true" class="Link--secondary Link">Privacy</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to security","label":"text:security"}" href="https://github.com/security" data-view-component="true" class="Link--secondary Link">Security</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to status","label":"text:status"}" href="https://www.githubstatus.com/" data-view-component="true" class="Link--secondary Link">Status</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to docs","label":"text:docs"}" href="https://docs.github.com/" data-view-component="true" class="Link--secondary Link">Docs</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to contact","label":"text:contact"}" href="https://support.github.com?tags=dotcom-footer" data-view-component="true" class="Link--secondary Link">Contact</a> </li> <li class="mx-2" > <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{"location":"footer","action":"cookies","context":"subfooter","tag":"link","label":"cookies_link_subfooter_footer"}" > Manage cookies </button> </cookie-consent-link> </li> <li class="mx-2"> <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{"location":"footer","action":"dont_share_info","context":"subfooter","tag":"link","label":"dont_share_info_link_subfooter_footer"}" > Do not share my personal information </button> </cookie-consent-link> </li> </ul> </nav> </div> </footer> <ghcc-consent id="ghcc" class="position-fixed bottom-0 left-0" style="z-index: 999999" data-initial-cookie-consent-allowed="" data-cookie-consent-required="false"></ghcc-consent> <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> You can’t perform that action at this time. </div> <template id="site-details-dialog"> <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open> <summary role="button" aria-label="Close dialog"></summary> <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal"> <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="octocat-spinner my-6 js-details-dialog-spinner"></div> </details-dialog> </details> </template> <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;"> <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;"> </div> </div> <template id="snippet-clipboard-copy-button"> <div class="zeroclipboard-container position-absolute right-0 top-0"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> <template id="snippet-clipboard-copy-button-unpositioned"> <div class="zeroclipboard-container"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> </div> <div id="js-global-screen-reader-notice" class="sr-only mt-n1" aria-live="polite" aria-atomic="true" ></div> <div id="js-global-screen-reader-notice-assertive" class="sr-only mt-n1" aria-live="assertive" aria-atomic="true"></div> </body> </html>