mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Deploying to gh-pages from @ crystal-ameba/ameba@5aac63ea74 🚀
This commit is contained in:
		
							parent
							
								
									4be0551946
								
							
						
					
					
						commit
						f00425a866
					
				
					 147 changed files with 866 additions and 1206 deletions
				
			
		|  | @ -965,7 +965,7 @@ then it will use the config as specified inside the first of the following files | |||
|   </h2> | ||||
|    | ||||
|      | ||||
|       <a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L37" target="_blank"> | ||||
|       <a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L37" target="_blank"> | ||||
|         ameba/config.cr | ||||
|       </a> | ||||
|      | ||||
|  | @ -1234,7 +1234,7 @@ then it will use the config as specified inside the first of the following files | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L141" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L141" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1256,7 +1256,7 @@ then it will use the config as specified inside the first of the following files | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L106" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L106" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1289,7 +1289,7 @@ then it will use the config as specified inside the first of the following files | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L84" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L84" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1310,7 +1310,7 @@ then it will use the config as specified inside the first of the following files | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L84" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L84" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1334,7 +1334,7 @@ config.excluded <span class="o">=</span> [<span class="s">"spec"</span | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L81" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L81" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1358,7 +1358,7 @@ config.excluded <span class="o">=</span> [<span class="s">"spec"</span | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L81" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L81" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1383,7 +1383,7 @@ config.formatter</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L167" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L167" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1406,7 +1406,7 @@ config.formatter <span class="o">=</span> <span class="n">:progress</span></code | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L177" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L177" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1431,7 +1431,7 @@ config.formatter</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L167" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L167" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1457,7 +1457,7 @@ config.globs</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L72" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L72" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1483,7 +1483,7 @@ config.globs</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L72" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L72" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1499,7 +1499,7 @@ config.globs</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L60" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L60" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1515,7 +1515,7 @@ config.globs</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L61" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L61" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1531,7 +1531,7 @@ config.globs</code></pre> | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L61" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L61" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1557,7 +1557,7 @@ config.sources <span class="c"># => list of sources pointing to files found b | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L154" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L154" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1580,7 +1580,7 @@ config.update_rule <span class="s">"MyRuleName"</span>, enabled: <span | |||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L190" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L190" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  | @ -1597,15 +1597,15 @@ config.update_rule <span class="s">"MyRuleName"</span>, enabled: <span | |||
|            | ||||
|           <p>Updates rules properties.</p> | ||||
| <pre><code class="language-crystal">config <span class="o">=</span> <span class="t">Ameba</span><span class="t">::</span><span class="t">Config</span>.load | ||||
| config.update_rules <span class="s">%w(Rule1 Rule2)</span>, enabled: <span class="n">true</span></code></pre> | ||||
| config.update_rules <span class="s">%w[Rule1 Rule2]</span>, enabled: <span class="n">true</span></code></pre> | ||||
| <p>also it allows to update groups of rules:</p> | ||||
| <pre><code class="language-crystal">config.update_rules <span class="s">%w(Group1 Group2)</span>, enabled: <span class="n">true</span></code></pre> | ||||
| <pre><code class="language-crystal">config.update_rules <span class="s">%w[Group1 Group2]</span>, enabled: <span class="n">true</span></code></pre> | ||||
|         </div> | ||||
|        | ||||
|       <br/> | ||||
|       <div> | ||||
|          | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/52a3e47/src/ameba/config.cr#L211" target="_blank">View source</a>] | ||||
|           [<a href="https://github.com/crystal-ameba/ameba/blob/5aac63e/src/ameba/config.cr#L211" target="_blank">View source</a>] | ||||
|          | ||||
|       </div> | ||||
|     </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue