# Setting up precommit lints for all team members

DevFeed: [Setting up precommit lints for all team members](<https://devfeed.tech/articles/setting-up-precommit-lints-for-all-team-members-29054.md>)

Original publisher: [Read original article](<https://dmitrysamoylenko.com/2020/12/06/configure_lints.html>)

Author: Dmitry Samoylenko

Published: 2020-12-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dmitry Samoylenko - Android Developer Blog](<https://devfeed.tech/sources/dmitry-samoylenko-android-developer-blog.md>)

Topics: [Script](<https://devfeed.tech/topics/script.md>), [Git](<https://devfeed.tech/topics/git.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [androidstudio](<https://devfeed.tech/tags/androidstudio.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [detekt](<https://devfeed.tech/tags/detekt.md>), [git](<https://devfeed.tech/tags/git.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [script](<https://devfeed.tech/tags/script.md>), [unix](<https://devfeed.tech/tags/unix.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A tutorial on configuring Detekt and ktlint, running lint checks before each Git commit with a pre-commit script, and sharing the setup with team members. The script supports Unix systems and requires edits for Windows.

## Source excerpt

What lints?