Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .credo.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Credo configuration. Runs on top of Credo's default check set.
%{
configs: [
%{
name: "default",
files: %{
included: ["lib/", "test/"],
excluded: []
},
checks: %{
extra: [
# NIF entry points mirror the positional C ABI in c_src/llama_cpp_ex —
# their arity is fixed by the native signatures, not a style choice.
# The keyword-based wrappers around them keep the public API ergonomic.
{Credo.Check.Refactor.FunctionArity, files: %{excluded: ["lib/llama_cpp_ex/nif.ex"]}}
]
}
}
]
}
Loading