Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Filename Convention Issues #88

Closed
2 tasks done
angrezichatterbox opened this issue Sep 6, 2024 · 1 comment
Closed
2 tasks done

Fix Filename Convention Issues #88

angrezichatterbox opened this issue Sep 6, 2024 · 1 comment
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed refactor Refactor code to improve quality

Comments

@angrezichatterbox
Copy link
Member

Terms

Description

Ktlint's filename convention rule has been disabled (ktlint_standard_filename = disabled). This rule should be enabled and applied to ensure that filenames follow the correct naming conventions.

The file naming should follow the PascalCase

// Incorrect: Filename does not follow convention
user_profile.kt

// Correct: Filename follows the convention
UserProfile.kt

For more information this docs could be refrerred

  • Comment out or remove the line ktlint_standard_filename = disabled from your .editorconfig file to re-enable this rule.
  • Execute ./gradlew lintKotlin in your terminal to identify files with filename convention issues.
  • Rename the files to comply with the Ktlint filename conventions.

Contribution

I would love to work on this issue and am more than willing to help anyone interested to work on this issue. :)

@angrezichatterbox angrezichatterbox added feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed refactor Refactor code to improve quality labels Sep 6, 2024
@andrewtavis
Copy link
Member

Closed by #104 :) :) Thanks so much, @Linfye!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed refactor Refactor code to improve quality
Projects
Archived in project
Development

No branches or pull requests

2 participants