Add linter to force formatting and standard style in the SDK code only
Used linter: ktlint-gradle
The lint job in CI is a step before the build command as we do not want to build when the code is not formatted properly
To test the linter locally :
./gradlew sdk:ktlintCheck for violation checks and report generation
./gradlew sdk:ktlinFormat for automatic formatting
Description
Add linter to force formatting and standard style in the SDK code only Used linter: ktlint-gradle The lint job in CI is a step before the build command as we do not want to build when the code is not formatted properly
To test the linter locally :
./gradlew sdk:ktlintCheck
for violation checks and report generation./gradlew sdk:ktlinFormat
for automatic formatting