Linting
To enforce the coding styles we set out to follow on the Coding Style page of this guide, we will use a linter. The linter will run in the CI so that it isn't possible to merge a merge request where linting fails.
Since we don't have any code to lint yet, we will start integrating linters into our project at later stages of this guide. For now we can simply decide which linters we will use.
On Epic Fantasy Forge, we use three primary programming languages, Elixir, Rust and TypeScript. We will need a linter for each.
Linters
The below table lists which linters we will use for which programming language on Epic Fantasy Forge:
Linter | Programming Language |
---|---|
Credo | Elixir |
Clippy | Rust |
ESLint | TypeScript |