Skip to content

Commit

Permalink
fix lint err, update compiler to 1.12.9
Browse files Browse the repository at this point in the history
  • Loading branch information
gertd committed Sep 15, 2019
1 parent 6df18c9 commit 9293b1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.12.4
- 1.12.9
cache:
directories:
- "$HOME/local"
Expand Down
2 changes: 1 addition & 1 deletion pluralize.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func (c *Client) loadSingularizationRules() {
{`(?i)(ar|(?:wo|[ae])l|[eo][ao])ves$`, `$1f`},
{`(?i)ies$`, `y`},
{`(?i)(dg|ss|ois|lk|ok|wn|mb|th|ch|ec|oal|is|ec|ck|ix|sser|ts|wb)ies$`, `$1ie`},
{`(?i)\b(l|(?:neck|cross|hog|aun)?t|coll|faer|food|gen|goon|group|hipp|junk|vegg|(?:pork)?p|charl|calor|cut)ies$`, `$1ie`},
{`(?i)\b(l|(?:neck|cross|hog|aun)?t|coll|faer|food|gen|goon|group|hipp|junk|vegg|(?:pork)?p|charl|calor|cut)ies$`, `$1ie`}, //nolint:lll
{`(?i)\b(mon|smil)ies$`, `$1ey`},
{`(?i)\b((?:tit)?m|l)ice$`, `$1ouse`},
{`(?i)(seraph|cherub)im$`, `$1`},
Expand Down

0 comments on commit 9293b1b

Please sign in to comment.