https://github.com/alexandregv/norminette-docker
Dockerized norminette (42School's code linter)
https://github.com/alexandregv/norminette-docker
Last synced: about 1 month 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T21:31:59.000Z (about 1 year ago)
- Last Synced: 2024-11-18T06:43:53.390Z (7 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 ·  ·  · 
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
[](https://starchart.cc/alexandregv/norminette-docker)