Skip to content

Commit 7ce10e1

Browse files
committed
Apply linter reviews and rebar3 3.25
1 parent 68cffd2 commit 7ce10e1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ on:
1111

1212
jobs:
1313
test:
14-
name: OTP ${{matrix.otp}}
14+
name: OTP ${{matrix.otp}} - rebar3 ${{matrix.rebar3}}
1515
strategy:
1616
matrix:
1717
otp: ['28', '27', '26']
18-
rebar3: ['3.24']
18+
rebar3: ['3.24', '3.25']
1919
runs-on: 'ubuntu-24.04'
2020
env:
2121
OTPVER: ${{ matrix.otp }}

rebar.config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,16 @@
119119
filter => "*.erl",
120120
rules => [
121121
{elvis_text_style, line_length, #{limit => 120, skip_comments => false}},
122+
{elvis_style, consistent_generic_type, #{preferred_type => term}},
122123
{elvis_style, invalid_dynamic_call, #{
123124
ignore => [
124125
prometheus_misc,
125126
prometheus_registry,
126127
prometheus_sup
127128
]
128129
}},
129-
{elvis_style, god_modules, #{limit => 54}},
130-
{elvis_style, dont_repeat_yourself, #{min_complexity => 50}}
130+
{elvis_style, god_modules, #{limit => 40}},
131+
{elvis_style, dont_repeat_yourself, #{min_complexity => 15}}
131132
],
132133
ruleset => erl_files
133134
},

0 commit comments

Comments
 (0)