Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
Update formatting and lintting
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Nov 11, 2023
1 parent 8fcbb2a commit 604a50f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions docs/contribute/linting.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
---
layout: page
title: Linting
permalink: /contribute/linting
title: Formatting and Linting
permalink: /contribute/formatting_linting
parent: Contribute
nav_order: 5
---

## Formatting
```bash
crystal tool format
```

## Linting
You align code conventions using Ameba. Refer to the link [https://github.com/crystal-ameba/ameba#installation](https://github.com/crystal-ameba/ameba#installation) to install Ameba.

```bash
# Basic
ameba

# Auto fix
ameba --fix
```

# Ameba installation
# https://github.com/crystal-ameba/ameba#installation
```
*Ameba conf: [.ameba.yml](https://github.com/noir-cr/noir/blob/main/.ameba.yml)*

0 comments on commit 604a50f

Please sign in to comment.