Skip to content

Commit

Permalink
Create cleanthat.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamOswald authored Nov 15, 2022
1 parent 75bff41 commit 0f88cf3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions cleanthat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
syntax_version: "2021-08-02"
meta:
labels:
- "cleanthat"
refs:
branches:
- "refs/heads/develop"
- "refs/heads/main"
- "refs/heads/master"
source_code:
excludes:
- "regex:.*/generated/.*"
encoding: "UTF-8"
line_ending: "LF"
languages:
- language: "java"
language_version: "11"
source_code:
includes:
- "regex:.*\\.java"
processors:
- engine: "rules"
parameters:
production_ready_only: true
- engine: "revelc_imports"
parameters:
# Organize imports like in Eclipse
remove_unused: true
groups: "java.,javax.,org.,com."
static_groups: "java,*"
# Use Spring formatting convention
- engine: "spring_formatter"
parameters: {}

0 comments on commit 0f88cf3

Please sign in to comment.