From 9293b1b560405d966a4869b7f33b1a97874c3c69 Mon Sep 17 00:00:00 2001 From: Gert Drapers Date: Sun, 15 Sep 2019 13:31:30 -0700 Subject: [PATCH] fix lint err, update compiler to 1.12.9 --- .travis.yml | 2 +- pluralize.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 81715ff..362e52d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: -- 1.12.4 +- 1.12.9 cache: directories: - "$HOME/local" diff --git a/pluralize.go b/pluralize.go index daa7620..b1c96d9 100644 --- a/pluralize.go +++ b/pluralize.go @@ -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`},