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

Spotless config is using heavily discouraged wildcards #1832

Open
ColtonIdle opened this issue Feb 26, 2025 · 0 comments
Open

Spotless config is using heavily discouraged wildcards #1832

ColtonIdle opened this issue Feb 26, 2025 · 0 comments

Comments

@ColtonIdle
Copy link

ColtonIdle commented Feb 26, 2025

diffplug/spotless#111 (comment)

Maintainer of spotless says

Just a bump that src/*/java/**/*.java will perform far better than **/*.java. We heavily discourage **/blah wildcards.

Meanwhile NIA uses the heavily discouraged wildcards

such as

            kotlin {
                target("**/*.kt")
                targetExclude("**/build/**/*.kt")
                ktlint(ktlintVersion).editorConfigOverride(
                    mapOf(
                        "android" to "true",
                    ),
                )
                licenseHeaderFile(rootProject.file("spotless/copyright.kt"))
            }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant