okami.mom/albedo

git clone https://git.nkp.pet/okami.mom/albedo

Aly Raffaufrefactor(gleam): clean up code and enforce focused lint checksb585313

main
1.1 KiB40 linesraw
1# Manual review prompts, including the focused checks.
2[tools.glinter]
3include = ["src/", "test/"]
4stats = true
5
6[tools.glinter.rules]
7missing_type_annotation = "error"
8missing_labels = "error"
9unqualified_import = "error"
10unnecessary_variable = "error"
11duplicate_import = "error"
12echo = "error"
13avoid_todo = "error"
14todo_without_message = "error"
15division_by_zero = "error"
16short_variable_name = "off"
17trailing_underscore = "off"
18nolint_unused = "error"
19nolint_inline = "error"
20assert_ok_pattern = "warning"
21avoid_panic = "warning"
22panic_without_message = "warning"
23discarded_result = "warning"
24thrown_away_error = "warning"
25error_context_lost = "warning"
26unused_exports = "warning"
27redundant_case = "warning"
28label_possible = "off"
29prefer_guard_clause = "off"
30stringly_typed_error = "off"
31unwrap_used = "off"
32unnecessary_string_concatenation = "off"
33function_complexity = "off"
34module_complexity = "off"
35deep_nesting = "off"
36string_inspect = "off"
37ffi_usage = "off"
38
39[tools.glinter.ignore]
40"test/**/*.gleam" = ["assert_ok_pattern", "avoid_panic", "panic_without_message", "unused_exports"]