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

Question: Disable all rules for specific modules or packages #708

Closed
bruno-garces opened this issue Mar 3, 2020 · 3 comments
Closed

Question: Disable all rules for specific modules or packages #708

bruno-garces opened this issue Mar 3, 2020 · 3 comments
Labels

Comments

@bruno-garces
Copy link

bruno-garces commented Mar 3, 2020

Hello! I'm trying to integrate ktlint (0.36.0) to an android project.

Is there any way I can disable all rules for specific modules or submodules? Or any specific packages?

I'm trying the following without success.

[**/package/**/*.{kt,kts}]
disable_rules=import-ordering,etc
@Tapchicoma
Copy link
Collaborator

You have a typo, should be disabled_rules

@bruno-garces
Copy link
Author

Somehow I wrote it wrong here but I have it right on my .editorconfig file. Sorry, my bad.

@romtsn
Copy link
Collaborator

romtsn commented May 28, 2020

Closing in favour of #742, please track it there.

@romtsn romtsn closed this as completed May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants