1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
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
mgechev
a6c7415c67
Update documentation for generated files
Related to #4
2018-06-01 10:30:40 -07:00
mgechev
6c9ea8cf2d
Refactoring and renaming 2018-05-26 21:28:31 -07:00
mgechev
31b194f9bf Update the error code handling 2018-02-03 19:33:14 -08:00
mgechev
deb72d6238 Add default formatter 2018-01-27 17:01:18 -08:00