Skip to content

Commit

Permalink
deploy: 038a0ee
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 21, 2025
1 parent a1a3ba9 commit 526bcb9
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 39 deletions.
23 changes: 1 addition & 22 deletions favicon.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 24 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,23 +156,42 @@ <h1 class="menu-title">Lefthook Documentation</h1>
<div id="content" class="content">
<main>
<h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h1>
<p><img align="right" width="147" height="125" title="Lefthook logo"
src="./favicon.svg"></p>
<p><strong>Lefthook</strong> is a Git hooks manager. This documentation provides the reference for installing, configuring and using the lefthook.</p>
<p>Maybe you are looking for</p>
<ul>
<li>
<p><strong><a href="./installation">Installation instructions</a></strong> to install lefthook to your system or just project.</p>
<p><strong><a href="./installation">Installation instructions</a></strong> to install lefthook to your OS or project.</p>
</li>
<li>
<p><strong><a href="./examples">Examples</a></strong> of lefthook common usage.</p>
</li>
<li>
<p><strong><a href="./configuration">Configuration</a></strong> with details explanation of lefthook options.</p>
<p><strong><a href="./configuration">Configuration</a></strong> with detailed explanation of lefthook options.</p>
</li>
</ul>
<p><strong>Example:</strong> Run your linters on <code>pre-commit</code> hook and forget about the routine.</p>
<pre><code class="language-yml"># lefthook.yml

pre-commit:
parallel: true
jobs:
- run: yarn run stylelint --fix {staged_files}
glob: "*.css"
stage_fixed: true

- run: yarn run eslint --fix "{staged_files}"
glob:
- "*.ts"
- "*.js"
- "*.tsx"
- "*.jsx"
stage_fixed: true
</code></pre>
<hr />
<a href="https://evilmartians.com/?utm_source=lefthook">
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
<p>❓If you have a question or found a mistake in the documentation, please create a new <a href="https://github.com/evilmartians/lefthook/discussions/new/choose">discussion</a>. Small contributions help maintaining the quality of the project.</p>
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="100%" height="54"></a>
<p><em>If you have a question or found a mistake in the documentation, please create a new <a href="https://github.com/evilmartians/lefthook/discussions/new/choose">discussion</a>. Small contributions help maintaining the quality of the project.</em></p>

</main>

Expand Down
29 changes: 24 additions & 5 deletions intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,23 +156,42 @@ <h1 class="menu-title">Lefthook Documentation</h1>
<div id="content" class="content">
<main>
<h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h1>
<p><img align="right" width="147" height="125" title="Lefthook logo"
src="./favicon.svg"></p>
<p><strong>Lefthook</strong> is a Git hooks manager. This documentation provides the reference for installing, configuring and using the lefthook.</p>
<p>Maybe you are looking for</p>
<ul>
<li>
<p><strong><a href="./installation">Installation instructions</a></strong> to install lefthook to your system or just project.</p>
<p><strong><a href="./installation">Installation instructions</a></strong> to install lefthook to your OS or project.</p>
</li>
<li>
<p><strong><a href="./examples">Examples</a></strong> of lefthook common usage.</p>
</li>
<li>
<p><strong><a href="./configuration">Configuration</a></strong> with details explanation of lefthook options.</p>
<p><strong><a href="./configuration">Configuration</a></strong> with detailed explanation of lefthook options.</p>
</li>
</ul>
<p><strong>Example:</strong> Run your linters on <code>pre-commit</code> hook and forget about the routine.</p>
<pre><code class="language-yml"># lefthook.yml

pre-commit:
parallel: true
jobs:
- run: yarn run stylelint --fix {staged_files}
glob: "*.css"
stage_fixed: true

- run: yarn run eslint --fix "{staged_files}"
glob:
- "*.ts"
- "*.js"
- "*.tsx"
- "*.jsx"
stage_fixed: true
</code></pre>
<hr />
<a href="https://evilmartians.com/?utm_source=lefthook">
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
<p>❓If you have a question or found a mistake in the documentation, please create a new <a href="https://github.com/evilmartians/lefthook/discussions/new/choose">discussion</a>. Small contributions help maintaining the quality of the project.</p>
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="100%" height="54"></a>
<p><em>If you have a question or found a mistake in the documentation, please create a new <a href="https://github.com/evilmartians/lefthook/discussions/new/choose">discussion</a>. Small contributions help maintaining the quality of the project.</em></p>

</main>

Expand Down
29 changes: 24 additions & 5 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,23 +157,42 @@ <h1 class="menu-title">Lefthook Documentation</h1>
<div id="content" class="content">
<main>
<h1 id="introduction"><a class="header" href="#introduction">Introduction</a></h1>
<p><img align="right" width="147" height="125" title="Lefthook logo"
src="./favicon.svg"></p>
<p><strong>Lefthook</strong> is a Git hooks manager. This documentation provides the reference for installing, configuring and using the lefthook.</p>
<p>Maybe you are looking for</p>
<ul>
<li>
<p><strong><a href="./installation">Installation instructions</a></strong> to install lefthook to your system or just project.</p>
<p><strong><a href="./installation">Installation instructions</a></strong> to install lefthook to your OS or project.</p>
</li>
<li>
<p><strong><a href="./examples">Examples</a></strong> of lefthook common usage.</p>
</li>
<li>
<p><strong><a href="./configuration">Configuration</a></strong> with details explanation of lefthook options.</p>
<p><strong><a href="./configuration">Configuration</a></strong> with detailed explanation of lefthook options.</p>
</li>
</ul>
<p><strong>Example:</strong> Run your linters on <code>pre-commit</code> hook and forget about the routine.</p>
<pre><code class="language-yml"># lefthook.yml

pre-commit:
parallel: true
jobs:
- run: yarn run stylelint --fix {staged_files}
glob: "*.css"
stage_fixed: true

- run: yarn run eslint --fix "{staged_files}"
glob:
- "*.ts"
- "*.js"
- "*.tsx"
- "*.jsx"
stage_fixed: true
</code></pre>
<hr />
<a href="https://evilmartians.com/?utm_source=lefthook">
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
<p>❓If you have a question or found a mistake in the documentation, please create a new <a href="https://github.com/evilmartians/lefthook/discussions/new/choose">discussion</a>. Small contributions help maintaining the quality of the project.</p>
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="100%" height="54"></a>
<p><em>If you have a question or found a mistake in the documentation, please create a new <a href="https://github.com/evilmartians/lefthook/discussions/new/choose">discussion</a>. Small contributions help maintaining the quality of the project.</em></p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="install-lefthook"><a class="header" href="#install-lefthook">Install lefthook</a></h1>
<p>Choose your fighter:</p>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 526bcb9

Please sign in to comment.