Skip to content

Commit

Permalink
chore: fix detekt hook crashing on kts files
Browse files Browse the repository at this point in the history
  • Loading branch information
matejdro committed Jun 21, 2024
1 parent 1013bac commit 1df3b6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ potential-bugs:
active: false
MissingPackageDeclaration:
active: true
excludes: [ '**/*.kts' ]
NullableToStringCall:
active: true
UnconditionalJumpStatementInLoop:
Expand Down
2 changes: 1 addition & 1 deletion config/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#

./gradlew -q --continue --parallel -Pprecommit=true buildSrc:detekt detektMetadataMain detektJvmMain detektAndroidDebug detektAndroidRelease detektJvmTest detektMain detektTest :kotlinova-gradle:detektMain
./gradlew -q --continue --parallel -Pprecommit=true buildSrc:detekt detekt

0 comments on commit 1df3b6e

Please sign in to comment.