danger-plugin-no-console
Version:
Danger plugin to prevent merging code that still has `console.log`s inside it.
77 lines (65 loc) • 3.15 kB
HTML
<html>
<head>
<meta charset="utf-8">
<base data-ice="baseUrl">
<title data-ice="title">API Document</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
<script src="script/prettify/prettify.js"></script>
<script src="script/manual.js"></script>
</head>
<body class="layout-container" data-ice="rootContainer">
<header>
<a href="./">Home</a>
<a href="identifiers.html">Reference</a>
<a href="source.html">Source</a>
<a data-ice="repoURL" href="https://github.com/withspectrum/danger-plugin-no-console.git" class="repo-url-github">Repository</a>
<div class="search-box">
<span>
<img src="./image/search.png">
<span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span>
</span>
<ul class="search-result"></ul>
</div>
</header>
<nav class="navigation" data-ice="nav"><div>
<ul>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-noConsole">noConsole</a></span></span></li>
</ul>
</div>
</nav>
<div class="content" data-ice="content"><div data-ice="index" class="github-markdown"><h1 id="danger-plugin-no-console">danger-plugin-no-console</h1>
<p><a href="https://travis-ci.org/withspectrum/danger-plugin-no-console"><img src="https://travis-ci.org/withspectrum/danger-plugin-no-console.svg?branch=master" alt="Build Status"></a>
<a href="https://badge.fury.io/js/danger-plugin-no-console"><img src="https://badge.fury.io/js/danger-plugin-no-console.svg" alt="npm version"></a>
<a href="https://github.com/semantic-release/semantic-release"><img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release"></a></p>
<blockquote>
<p>Danger plugin to prevent merging code that still has <code>console.log</code>s inside it.</p>
</blockquote>
<h2 id="usage">Usage</h2>
<p>Install:</p>
<pre><code class="lang-sh"><code class="source-code prettyprint">yarn add danger-plugin-no-console --dev</code>
</code></pre>
<p>At a glance:</p>
<pre><code class="lang-js"><code class="source-code prettyprint">// dangerfile.js
import noConsole from 'danger-plugin-no-console'
noConsole()</code>
</code></pre>
<h2 id="changelog">Changelog</h2>
<p>See the GitHub <a href="https://github.com/withspectrum/danger-plugin-no-console/releases">release history</a>.</p>
<h2 id="contributing">Contributing</h2>
<p>See <a href="CONTRIBUTING.md">CONTRIBUTING.md</a>.</p>
</div>
</div>
<footer class="footer">
Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(0.5.2)</span><img src="./image/esdoc-logo-mini-black.png"></a>
</footer>
<script src="script/search_index.js"></script>
<script src="script/search.js"></script>
<script src="script/pretty-print.js"></script>
<script src="script/inherited-summary.js"></script>
<script src="script/test-summary.js"></script>
<script src="script/inner-link.js"></script>
<script src="script/patch-for-local.js"></script>
</body>
</html>