From 35c2a11425d3e6ec6e90887b276bcd5c7dea8909 Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Thu, 19 Dec 2019 13:04:18 -0800 Subject: [PATCH] Update filename cop to check for 100 character files which break the zip distribution Signed-off-by: Sam Levenick --- .rubocop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index ce92b1f27..c22763a0b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -61,7 +61,8 @@ Style/AndOr: Style/Not: Enabled: false Naming/FileName: - Enabled: false + Enabled: true + Regex: !ruby/regexp '/^.{3,100}$/' Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: