@@ -0,0 +1,17 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 4
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+max_line_length = 120
+[*.{config,src}]
+[*.md]
+trim_trailing_whitespace = false
@@ -0,0 +1,2 @@
+# Code formatter introduced; code was re-formatted
+d8c64208e3f377cf5fd4236a9089c3f9822fde5a
@@ -43,6 +43,9 @@ jobs:
run: make xref
if: ${{ matrix.otp != '23.3' }}
+ - name: Code formatter validation
+ run: make format_check
- name: Eunit test
run: make test
@@ -18,6 +18,12 @@ test: $(REBAR)
xref: $(REBAR)
$(REBAR) xref
+format: $(REBAR)
+ $(REBAR) fmt
+format_check: $(REBAR)
+ $(REBAR) fmt --check
doc: $(REBAR)
$(REBAR) as dev edoc