Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexandregv/norminette-docker
Dockerized norminette (42School's code linter)
https://github.com/alexandregv/norminette-docker
Last synced: 2 months ago
JSON representation
Dockerized norminette (42School's code linter)
- Host: GitHub
- URL: https://github.com/alexandregv/norminette-docker
- Owner: alexandregv
- Created: 2020-11-13T22:55:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T21:31:59.000Z (9 months ago)
- Last Synced: 2024-05-10T22:34:47.395Z (9 months ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-42 - norminette-docker - Docker image for norminette. (Tools / Norminette)
README
# norminette-docker · ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/alexandregv/norminette/v2?label=image%20size%20v2) · ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/alexandregv/norminette/v3?label=image%20size%20v3) · ![Docker Pulls](https://img.shields.io/docker/pulls/alexandregv/norminette)
Dockerized norminette (42School's code linter)
Multiple versions are supported. Please check your campus rules to check which version should be used.## Usage
### Linux / macOS / PowerShell
```
cd ft_printf# Norminette version 2
docker run -v $PWD:/code alexandregv/norminette:v2# Norminette version 3 (latest v3, so 3.3.53 as of writing)
docker run -v $PWD:/code alexandregv/norminette:v3# Norminette version 3.3.51
docker run -v $PWD:/code alexandregv/norminette:v3# Norminette version 3.3.53
docker run -v $PWD:/code alexandregv/norminette:v3# Pass arguments to norminette
docker run -v $PWD:/code alexandregv/norminette:v2 -R CheckForbiddenSourceHeader main.c
```### Windows (cmd.exe)
On Windows (cmd.exe), just replace `$PWD` with `%cd%` in the previous commands.
## See also
* [norminette-action](https://github.com/alexandregv/norminette-action) - GitHub Action (CI) to test norminette after each push, automatically. Uses this docker image.
* [norminette-action-demo](https://github.com/alexandregv/norminette-action-demo) - Demo repository for norminette-action.
* [norminette-vim](https://github.com/alexandregv/norminette-vim) - Vim integration for norminette. Displays norm errors directly inside Vim.All of these are compatible with Norm version 2 and 3.
## Stargazers over time
[![Stargazers over time](https://starchart.cc/alexandregv/norminette-docker.svg?variant=adaptive)](https://starchart.cc/alexandregv/norminette-docker)