1
0
mirror of https://github.com/mgechev/revive.git synced 2025-02-15 13:53:15 +02:00
mgechev 90f51530cc
Add white & black lists for var-naming
This PR introduces a white & black lists of initialisms for the
`var-naming` rule.

Now the rule can be configured with:

```toml
[rule.var-naming]
  arguments = [["ID"], ["VM", "BAR"]]
```

This way, the linter will ignore `customId` but will throw on `customVm` or `customBar`.

Fix #41
2018-09-15 15:05:31 -07:00
..
2018-02-04 14:51:19 -08:00
2018-06-27 06:21:03 +10:00
2018-02-04 14:51:19 -08:00
2018-06-22 21:21:09 +10:00
2018-06-11 11:22:06 -07:00
2018-02-04 14:51:19 -08:00
2018-07-28 09:07:31 -07:00