Thank you for your interest in contributing to our project! Below, you’ll find instructions on how to get involved, what guidelines to follow, and how our contribution process works.
There are several ways you can contribute to the project:
- Reporting Bugs: If you find a bug, please report it in info@jwizard.pl.
- Feature Requests: If you have an idea for a new feature, create an issue and describe your proposal.
- Creating Pull Requests: You can also contribute by adding new features or fixing existing code.
- Review the existing issues to ensure that the bug hasn’t already been reported.
- If it’s a new bug, open a new issue and include the following details:
- A clear description of the issue.
- Steps to reproduce the bug.
- Your environment (OS version, browser version, etc.).
- Expected and actual behavior.
Please follow these coding standards:
- Follow the rules defined in the
.editorconfig
file. - Use KDoc-style documentation for added or modified code to avoid issues when automatically generating website documentation.
- Use
PascalCase
for naming classes,camelCase
for variables and methods, andSCREAMING_SNAKE_CASE
for constants. - Each Kotlin class should reside in a separate file to avoid clutter in the project.
- Avoid mutable variables (
var
); whenever possible, use immutable collections or thread-safe mutable collections (ex.ConcurrentHashMap
instead ofHashMap
). - Always use
const
for primitive constants. - Avoid explicitly specifying types when unnecessary (ex. in
get()
constructs). - Use braces on the same line.
- Do not start interface names with the I prefix.
- For two or more properties in a class’s primary constructor, place each property on a new line.
- Always add a trailing comma for collections with a variable number of elements.
If a convention is not mentioned above, please refer to the official Kotlin coding conventions: Kotlin Coding Conventions.
Failure to follow these conventions may result in your pull request being rejected with a request to revise the added/modified code.
If you have any questions regarding other aspects of coding conventions, feel free to reach out at info@jwizard.pl.
Please follow these commit message conventions:
- feat: For adding a new feature.
- fix: For fixing a bug.
- docs: For documentation changes.
- style: For changes that don’t affect the code logic (ex. formatting).
- refactor: For refactoring existing code without changing functionality.
- test: For adding or changing tests.
- chore: For configuration changes or maintenance tasks.