Comments (6)
The input parameter in build.gradle is the project path which should be known to the user. I do not see the benefit showing it again and again. When you specify input as your git repository path, then detekt should show app/src.... for you.
If I run detekt on detekt all sub modules are included in the path variable.
from detekt.
Yup doing input = "${rootProject.file('.')}"
does the job. Thanks for the other optimizations.
from detekt.
Can we maybe revisit this? I've got input = "${subProject.file('.')}"
now and when I execute detektCheck
from the root directory I end up having src/androidTest/java/com/vanniktech/chessclock/screenshots/ScreenshotsTest.kt
in the terminal where I can't click onto since the app/
is missing.
from detekt.
Clicking on a link in the terminal seems like a good use case. Personally I like just having the package + file name to save space.
A good idea would be maybe to provide terminal output customization next to output formatters like mentioned here. Feel free to open an issue for that ^^
from detekt.
Created #171
from detekt.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.
from detekt.
Related Issues (20)
- Split `ExplicitItLambdaParameter` in two
- https://detekt.dev/docs/next/rules/potential-bugs/#unnamedparameteruse HOT 3
- Getting NullPointerException in detekt-formatting MultiLineIfElseRule
- CoroutineLaunchedInTestWithoutRunTest | Fails to detect coroutine usage in methods referenced from classpath HOT 2
- False Positive: TopLevelPropertyNaming applying to extension properties
- StringTemplateIndent conflicts with MultilineRawStringIndentation HOT 4
- CoroutineLaunchedInTestWithoutRunTest | Fail to detect Flow based Coroutine Launches HOT 1
- Question for new rule to check if test method is missing `@Test` annotation HOT 2
- False negative for companion object in UndocumentedPublicClass
- False negative for enum constants in UndocumentedPublic* rule group HOT 2
- UnusedPrivateProperty does not detect unused property named "logger" HOT 2
- `RedundantSuspendModifier` false-positives with extension functions HOT 3
- False-positve `UnusedImports` when there are mutiple functions of the same name
- Create a property to store the `basePath`
- Alias ObjectPropertyNaming as ObjectPropertyName
- StringLiteralDuplication potential false positive with interpolated strings HOT 3
- NamedArguments: False positive on spread varargs
- Ignore / Suppress specific magic number warning in detekt baseline.xml for a Compose function HOT 1
- detekt-core shouldn't depend on detekt-psi-utils HOT 2
- ignoreFailures doesn't work when using gradle workers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from detekt.