# spotify-checkstyle-config
**Repository Path**: mirrors_spotify/spotify-checkstyle-config
## Basic Information
- **Project Name**: spotify-checkstyle-config
- **Description**: The Spotify checkstyle configuration
- **Primary Language**: Unknown
- **License**: LGPL-2.1
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-18
- **Last Updated**: 2025-09-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Spotify Checkstyle Configuration
================================
[](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.spotify.checkstyle%22%20spotify-checkstyle-config)
[](LICENSE.txt)
This project provides a default configuration for checkstyle at Spotify.
To use it, configure your maven-checkstyle-plugin like so:
```
maven-checkstyle-plugin
2.17
com.spotify.checkstyle
spotify-checkstyle-config
LATEST-VERSION
com.puppycrawl.tools
checkstyle
8.24
spotify_checks.xml
true
true
true
error
validate
validate
check
```
See the [maven-checkstyle-plugin docs](https://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html)
for more information about what the configuration parameters mean.
Internally, we have the above configuration in the `` section of a
company-wide parent pom, meaning that projects only need to specify the below in their
`` section:
```
maven-checkstyle-plugin
```
# Configuration
## Suppressions
The configuration of the checkstyle plugin you get from `spotify_checks.xml` tells it to
optionally look for a file named `suppressions.xml` as per the
[SuppressionFilter docs](http://checkstyle.sourceforge.net/config_filters.html#SuppressionFilter).
This means you can configure suppressions by providing such a file on your
project's classpath or in the current directory where you build it - note
that for multi-module projects, it's probably a good idea to use something
like [this solution](http://stackoverflow.com/a/19690484/1659929) to share
the configuration among each sub-module.
# IDEA support
There is a [configuration file for IntelliJ IDEA](src/main/idea/spotify-checkstyle-idea.xml) that you can import into your project.
# Code of conduct
This project adheres to the [Open Code of Conduct][code-of-conduct]. By participating, you are expected to honor this code.
[code-of-conduct]: https://github.com/spotify/code-of-conduct/blob/master/code-of-conduct.md