| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tools/syz-linter: suggest any instead of interface{} | Dmitry Vyukov | 2025-12-22 | 1 | -0/+8 |
| | | | | | Any is the preferred over interface{} now in Go. | ||||
| * | tools/syz-linter: add loopvar test | Taras Madan | 2025-02-17 | 1 | -0/+8 |
| | | |||||
| * | tools/syz-linter: suggest use of min/max functions | Dmitry Vyukov | 2025-01-17 | 1 | -0/+13 |
| | | | | | They are shorter, more readable, and don't require temp vars. | ||||
| * | tools/syz-linter: check tool.Failf messages | Dmitry Vyukov | 2024-08-07 | 2 | -0/+13 |
| | | | | | Check tool.Failf messages for the common style as well. | ||||
| * | tools/syz-linter: check t.Logf/Errorf/Fatalf messages | Dmitry Vyukov | 2024-04-17 | 1 | -0/+9 |
| | | | | | | Fix checking of Logf, it has string in 0-th arg. Add checking of t.Errorf/Fatalf. | ||||
| * | tools/syz-linter: improve duplicate parameter type detection | Dmitry Vyukov | 2023-01-13 | 1 | -0/+8 |
| | | | | | | | | | Duplicate parameter type warning suggests to replace "a int, b int" with "a, b int" in function declarations. Currently it does not work for non-builtin types because we compare type pointers directly but they are different for non-builtin types. Compare type strings instead. | ||||
| * | tools/syz-linter: warn about inconsistent flag definitions | Dmitry Vyukov | 2020-11-30 | 1 | -0/+8 |
| | | |||||
| * | tools/syz-linter: add a check for fmt.Printf/Fprintf messages | Dmitry Vyukov | 2020-11-30 | 1 | -11/+21 |
| | | |||||
| * | tools/syz-linter: check comments format | Dmitry Vyukov | 2020-07-12 | 1 | -3/+6 |
| | | | | | | | | Check for capitalization, dots at the end and two spaces after a period. Update #1876 | ||||
| * | tools/syz-linter: fix comments check | Dmitry Vyukov | 2020-07-10 | 1 | -0/+4 |
| | | | | | | | | Turns out ast.Inspect does not visit most comments. Walk file.Comments manually. Update #1876 | ||||
| * | tools/syz-linter: check variable declarations | Dmitry Vyukov | 2020-07-06 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | Warn about: var x int = foo In most cases this can be expressed shorter as: var x int x := foo x := int(foo) Update #1876 | ||||
| * | tools/syz-linter: check for \n at the end of log/error text | Dmitry Vyukov | 2020-07-06 | 1 | -0/+1 |
| | | | | | Update #1876 | ||||
| * | tools/syz-linter: check log/error text ending with dot | Dmitry Vyukov | 2020-07-05 | 1 | -4/+6 |
| | | | | | Update #1876 | ||||
| * | tools/syz-linter: check log/error text starting with capital letter | Dmitry Vyukov | 2020-07-05 | 1 | -0/+21 |
| | | | | | Update #1876 | ||||
| * | tools/syz-linter: add check for dup types in func args | Dmitry Vyukov | 2020-07-04 | 1 | -3/+17 |
| | | | | | | | | | Add check for: func foo(a int, b int) -> func foo(a, b int) Update #1876 | ||||
| * | tools/syz-linter: add check for comment format | Dmitry Vyukov | 2020-07-04 | 1 | -0/+11 |
| | | | | | Update #1876 | ||||
| * | tools/syz-linter: add custom linter | Dmitry Vyukov | 2020-07-04 | 1 | -0/+19 |
| For now we have 2 simple checks: 1. for multiline comments: /* */ -> // 2. for string len comparison with 0: len(str) != 0 -> str != "" Update #1876 | |||||
